Gentoo Archives: gentoo-commits

From: "Matthew Marlow (mattm)" <mattm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/makemkv: makemkv-1.7.7.ebuild ChangeLog makemkv-1.7.6.ebuild makemkv-1.7.4-r1.ebuild
Date: Tue, 02 Oct 2012 04:16:09
Message-Id: 20121002041554.3FBF521600@flycatcher.gentoo.org
1 mattm 12/10/02 04:15:54
2
3 Modified: ChangeLog
4 Added: makemkv-1.7.7.ebuild
5 Removed: makemkv-1.7.6.ebuild makemkv-1.7.4-r1.ebuild
6 Log:
7 Fixed Bug 435554 - Bump for makemkv 1.7.7, remove legacy ebuilds, some of which have upstream has moved source paths for.
8
9 (Portage version: 2.1.11.23/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.12 media-video/makemkv/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?rev=1.12&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?rev=1.12&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?r1=1.11&r2=1.12
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v
21 retrieving revision 1.11
22 retrieving revision 1.12
23 diff -u -r1.11 -r1.12
24 --- ChangeLog 4 Jul 2012 09:23:46 -0000 1.11
25 +++ ChangeLog 2 Oct 2012 04:15:53 -0000 1.12
26 @@ -1,6 +1,14 @@
27 # ChangeLog for media-video/makemkv
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v 1.11 2012/07/04 09:23:46 ssuominen Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v 1.12 2012/10/02 04:15:53 mattm Exp $
31 +
32 +*makemkv-1.7.7 (02 Oct 2012)
33 +
34 + 02 Oct 2012; Matthew Marlowe <mattm@g.o>
35 + +files/makemkv-1.7.7-makefile.linux.patch, +makemkv-1.7.7.ebuild,
36 + -makemkv-1.7.4-r1.ebuild, -makemkv-1.7.6.ebuild:
37 + Fixed Bug 435554 - Bump for makemkv 1.7.7, remove legacy ebuilds, some of
38 + which have upstream has moved source paths for.
39
40 04 Jul 2012; Samuli Suominen <ssuominen@g.o> makemkv-1.7.6.ebuild:
41 Install hicolor icons and update icon cache. Use virtual/opengl instead of
42
43
44
45 1.1 media-video/makemkv/makemkv-1.7.7.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/makemkv-1.7.7.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/makemkv-1.7.7.ebuild?rev=1.1&content-type=text/plain
49
50 Index: makemkv-1.7.7.ebuild
51 ===================================================================
52 # Copyright 1999-2012 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/makemkv-1.7.7.ebuild,v 1.1 2012/10/02 04:15:53 mattm Exp $
55
56 EAPI=4
57 inherit eutils gnome2-utils multilib
58
59 MY_P=makemkv-oss-${PV}
60 MY_PB=makemkv-bin-${PV}
61
62 DESCRIPTION="Tool for ripping Blu-Ray, HD-DVD and DVD discs and copying content to a Matroska container"
63 HOMEPAGE="http://www.makemkv.com/"
64 SRC_URI="http://www.makemkv.com/download/${MY_P}.tar.gz
65 http://www.makemkv.com/download/${MY_PB}.tar.gz"
66
67 LICENSE="LGPL-2.1 MPL-1.1 MakeMKV-EULA openssl"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86"
70 IUSE="multilib"
71
72 QA_PREBUILT="opt/bin/makemkvcon opt/bin/mmdtsdec"
73 RESTRICT="mirror"
74
75 RDEPEND="dev-libs/expat
76 dev-libs/openssl:0
77 sys-libs/zlib
78 virtual/opengl
79 x11-libs/qt-core:4
80 x11-libs/qt-dbus:4
81 x11-libs/qt-gui:4
82 amd64? ( multilib? ( app-emulation/emul-linux-x86-baselibs ) )"
83 DEPEND="${RDEPEND}"
84
85 S=${WORKDIR}/${MY_P}
86
87 src_prepare() {
88 epatch "${FILESDIR}"/${P}-makefile.linux.patch
89 }
90
91 src_compile() {
92 emake GCC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" -f makefile.linux
93 }
94
95 src_install() {
96 # install oss package
97 dolib.so out/libdriveio.so.0
98 dolib.so out/libmakemkv.so.1
99 dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so.0.${PV}
100 dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so
101 dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so.1.${PV}
102 dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so
103 into /opt
104 dobin out/makemkv
105
106 local res
107 for res in 16 22 32 64 128; do
108 newicon -s ${res} makemkvgui/src/img/${res}/mkv_icon.png ${PN}.png
109 done
110
111 make_desktop_entry ${PN} MakeMKV ${PN} 'Qt;AudioVideo;Video'
112
113 # install bin package
114 pushd "${WORKDIR}"/${MY_PB}/bin >/dev/null
115 if use x86; then
116 dobin i386/{makemkvcon,mmdtsdec}
117 elif use amd64; then
118 dobin amd64/makemkvcon
119 use multilib && dobin i386/mmdtsdec
120 fi
121 popd >/dev/null
122
123 # install license and default profile
124 pushd "${WORKDIR}"/${MY_PB}/src/share >/dev/null
125 insinto /usr/share/MakeMKV
126 doins *.{gz,xml}
127 popd >/dev/null
128 }
129
130 pkg_preinst() { gnome2_icon_savelist; }
131
132 pkg_postinst() {
133 gnome2_icon_cache_update
134
135 elog "While MakeMKV is in beta mode, upstream has provided a license"
136 elog "to use if you do not want to purchase one."
137 elog ""
138 elog "See this forum thread for more information, including the key:"
139 elog "http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053"
140 elog ""
141 elog "Note that beta license may have an expiration date and you will"
142 elog "need to check for newer licenses/releases. "
143 elog ""
144 elog "If this is a new install, remember to copy the default profile"
145 elog "to the config directory:"
146 elog "cp /usr/share/MakeMKV/default.mmcp.xml ~/.MakeMKV/"
147 }
148
149 pkg_postrm() { gnome2_icon_cache_update; }