diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-07-04 09:03:05 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-07-04 09:03:05 +0000 |
commit | fc7357e38242c303c7e33913461fc6d1866251de (patch) | |
tree | 598a23f0123ac11b10621edf9621b806d0362e5f /media-video | |
parent | Turn on new manifest-hashes. (diff) | |
download | historical-fc7357e38242c303c7e33913461fc6d1866251de.tar.gz historical-fc7357e38242c303c7e33913461fc6d1866251de.tar.bz2 historical-fc7357e38242c303c7e33913461fc6d1866251de.zip |
Install hicolor icons and update icon cache. Use virtual/opengl instead of media-libs/mesa. Drop all overquoting
Package-Manager: portage-2.2.0_alpha115/cvs/Linux x86_64
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/makemkv/ChangeLog | 6 | ||||
-rw-r--r-- | media-video/makemkv/Manifest | 20 | ||||
-rw-r--r-- | media-video/makemkv/makemkv-1.7.6.ebuild | 76 |
3 files changed, 58 insertions, 44 deletions
diff --git a/media-video/makemkv/ChangeLog b/media-video/makemkv/ChangeLog index dfa6e47486c7..4c1267598ae7 100644 --- a/media-video/makemkv/ChangeLog +++ b/media-video/makemkv/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-video/makemkv # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v 1.8 2012/07/03 16:16:12 mattm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v 1.9 2012/07/04 09:03:05 ssuominen Exp $ + + 04 Jul 2012; Samuli Suominen <ssuominen@gentoo.org> makemkv-1.7.6.ebuild: + Install hicolor icons and update icon cache. Use virtual/opengl instead of + media-libs/mesa. 03 Jul 2012; Matthew Marlowe <mattm@gentoo.org> files/makemkv-1.7.6-makefile.linux.patch: diff --git a/media-video/makemkv/Manifest b/media-video/makemkv/Manifest index 7767055f5e68..e778c536e8a0 100644 --- a/media-video/makemkv/Manifest +++ b/media-video/makemkv/Manifest @@ -9,17 +9,17 @@ DIST makemkv-oss-1.7.6.tar.gz 482065 RMD160 62301e0fb27755b7fe16fc85d6cfb5065b58 DIST makemkv_v1.7.4_bin.tar.gz 6691976 RMD160 12bbd1a5e50b843168eb85d7cb81010abdc42831 SHA1 ee6bf1452b75e4d16c4974879437c4781dc327f3 SHA256 0d0c14243fc8936792f0768d0c67682a071f79af489457f6a53826b543ad502a DIST makemkv_v1.7.4_oss.tar.gz 480897 RMD160 c3d327f8723743c28804c27749581f1536906304 SHA1 d53603799936c1c351d806ec97544e39b3e3365d SHA256 14be0175cce35fae31d2e175db5789b561b1859f125b2cd52af77ba180ec2ba1 EBUILD makemkv-1.7.4-r1.ebuild 2792 RMD160 0a0603610b59a0a20e10298cad848e9d28a14e36 SHA1 1e3206b94eb71183099286c104496d9b3d9b589f SHA256 4415b7f5e60a78976a80805f91da564a8c6d95d37a94891916c73bc3d78f69c3 -EBUILD makemkv-1.7.6.ebuild 2787 RMD160 9b9d5d8ead58f6b892123dabfdc0512831243e9d SHA1 725f320061c185ffc80f42657f2906661b77dfd3 SHA256 f6574239456bf013322bf2ac701dc047bf16d07c0734e682628482c9382482b8 -MISC ChangeLog 1778 RMD160 b9a9b37e491d28cfd141f02e3526c331f1728034 SHA1 86f2735aa383074a585920a44f40208d5d68039f SHA256 471d62b68fea17f51260c08aa49dae0210864cb770ac9812fe0cbcc2efa0be64 +EBUILD makemkv-1.7.6.ebuild 2666 RMD160 d9156074e2ca4e32e53cc42531a762fc280cd4a1 SHA1 8fcdad6195581d8c81fa176190531da82a9fc903 SHA256 d0f48b7a379fb64fab91cc4eb1fdeb2a7a3e7a9ac32bee1039f66226b9ac9fa5 +MISC ChangeLog 1955 RMD160 fbbd663a8f168d5cf88624a0f8112fd9cb1c94f9 SHA1 50ec56734a6704975f4c413151e3492ac3542064 SHA256 9331a04b51e661191c236864b45ae5ff475725001155f897308bf7d11b621349 MISC metadata.xml 260 RMD160 2cfb583c5df98eb9a274ae051562f67b584730fc SHA1 0262c9db67ad475dcd4d2bf94619a7bc22e5d18c SHA256 fa1167a5441cabeb411561da356fac4524c470df05240c1f3d38034afb76ead5 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBAgAGBQJP8xrYAAoJEC1LWXx4YDenxcMH/1LZ65s1sT205m1dxuoJQBak -Ty0moi//BB2qxnnsCjOAniw+kE+vgH09f9Pb1QBf8n4/Xp1DXjVM5+MdV8S9+Kq4 -aDjw6W4o681lmz0k9rSsRhBRmw1sYyXcHKoc7sSVoudlDeTxhsvYhqypwBvpJO1i -DB/nIRFhyw10HW2pccBZJPj+x6oDn0xtKjwfR29GczMzOA4amnFlJuZ+D5rEORIk -Tmy67Esx9oaRJ4FZGjlSFjQOb/HLol67yMYAQiDoQB+svB0xpFp8JyHSWdt0D255 -yeBKm7fzliBV/nexPtGe/deTK3O9yVYRo9+0WdCcs/A6e0N7mAY6ywCGCe12veU= -=6bgj +iQEcBAEBAgAGBQJP9AWDAAoJEEdUh39IaPFNp5wH/2ESlULtRa3w2zuSFdzdZiBx +PaLTVfvhvuBuhUTFLtJtXidKAI2QuQmp9IWUD5mw//TC60+xWT96f3MP9Fk/5iUL +Jxexh89y1Y+4tlq1IWJsDv8qSIxdMQnBP5uSDJRFRtMTuEEFiikwDITshaehrSgu +NhbPMVQddC+S8SL7vudSUp/BwualmsIdJvk9IRS2fVTJXjtnm/NAGDGyMziLV1PL +RdSv8rKdfk2JvGYrNkb2ScesBbrIrKV7GjNU0GeNDlyujX88JRSijpjb1ONycX6U +IxXSiSSqzr3rwvZ0eMfy9BUXHpXTM+lcY/eYEZ43p1lOr3QZYSuU/9n5zswXVps= +=FrgV -----END PGP SIGNATURE----- diff --git a/media-video/makemkv/makemkv-1.7.6.ebuild b/media-video/makemkv/makemkv-1.7.6.ebuild index db83c956d95f..b9f715fb9322 100644 --- a/media-video/makemkv/makemkv-1.7.6.ebuild +++ b/media-video/makemkv/makemkv-1.7.6.ebuild @@ -1,15 +1,12 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild,v 1.1 2012/07/02 04:00:20 mattm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild,v 1.2 2012/07/04 09:03:05 ssuominen Exp $ -EAPI=3 +EAPI=4 +inherit eutils gnome2-utils multilib -RESTRICT="mirror" - -inherit multilib eutils - -MY_P="makemkv-oss-${PV}" -MY_PB="makemkv-bin-${PV}" +MY_P=makemkv-oss-${PV} +MY_PB=makemkv-bin-${PV} DESCRIPTION="Tool for ripping Blu-Ray, HD-DVD and DVD discs and copying content to a Matroska container" HOMEPAGE="http://www.makemkv.com/" @@ -21,59 +18,70 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND="x11-libs/qt-gui:4 +QA_PREBUILT=opt/bin/makemkvcon +RESTRICT=mirror + +RDEPEND="dev-libs/expat dev-libs/openssl:0 - media-libs/mesa - dev-libs/expat + sys-libs/zlib + virtual/opengl x11-libs/qt-dbus:4 - sys-libs/zlib" -RDEPEND="${DEPEND}" + x11-libs/qt-gui:4" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} -QA_PREBUILT="opt/bin/makemkvcon" -DEFAULT_PROFILE="default.mmcp.xml" +DEFAULT_PROFILE=default.mmcp.xml src_prepare() { - epatch "${FILESDIR}/${P}-makefile.linux.patch" - cd "${MY_P}" + epatch "${FILESDIR}"/${P}-makefile.linux.patch } src_compile() { - cd "${MY_P}" - emake GCC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" -f makefile.linux || die "make failed" + emake GCC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" -f makefile.linux } src_install() { # install oss package - cd "${MY_P}" - dolib.so out/libdriveio.so.0 || die "dolib.so out/libdriveio.so.0 died" - dolib.so out/libmakemkv.so.1 || die "dolib.so out/libmakemkv.so.1 died" - dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so.0.${PV} || die "dosym libdriveio.so.0 died " - dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so || die "dosym libdriveio.so.0 died " - dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so.1.${PV} || die "dosym libmakemkv.so.1 died" - dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so || die "dosym libmakemkv.so.1 died" + dolib.so out/libdriveio.so.0 + dolib.so out/libmakemkv.so.1 + dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so.0.${PV} + dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so + dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so.1.${PV} + dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so into /opt - dobin out/makemkv || die "dobin makemkv died" + dobin out/makemkv - newicon makemkvgui/src/img/128/mkv_icon.png ${PN}.png - make_desktop_entry ${PN} "MakeMKV" ${PN} "Qt;AudioVideo;Video" + local res + for res in 16 22 32 64 128; do + newicon -s ${res} makemkvgui/src/img/${res}/mkv_icon.png ${PN}.png + done + + make_desktop_entry ${PN} MakeMKV ${PN} 'Qt;AudioVideo;Video' # install bin package - cd "${WORKDIR}/${MY_PB}/bin" + pushd "${WORKDIR}"/${MY_PB}/bin >/dev/null if use x86; then - dobin i386/makemkvcon || die "dobin makemkvcon died" + dobin i386/makemkvcon elif use amd64; then - dobin amd64/makemkvcon || die "dobin makemkvcon died" + dobin amd64/makemkvcon fi + popd >/dev/null # install license and default profile - cd "${WORKDIR}/${MY_PB}/src" + pushd "${WORKDIR}"/${MY_PB}/src >/dev/null into /usr dodoc eula_en_linux.txt insinto /usr/share/${PF} doins share/${DEFAULT_PROFILE} + popd >/dev/null } +pkg_preinst() { gnome2_icon_savelist; } + pkg_postinst() { + gnome2_icon_cache_update + elog "While MakeMKV is in beta mode, upstream has provided a license" elog "to use if you do not want to purchase one." elog "" @@ -87,3 +95,5 @@ pkg_postinst() { elog "to the config directory:" elog "cp /usr/share/${PF}/${DEFAULT_PROFILE} ~/.MakeMKV/${DEFAULT_PROFILE}" } + +pkg_postrm() { gnome2_icon_cache_update; } |