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: ChangeLog makemkv-1.7.4-r1.ebuild makemkv-1.6.16.ebuild
Date: Mon, 02 Jul 2012 03:46:29
Message-Id: 20120702034619.B5E702004C@flycatcher.gentoo.org
1 mattm 12/07/02 03:46:19
2
3 Modified: ChangeLog
4 Added: makemkv-1.7.4-r1.ebuild
5 Removed: makemkv-1.6.16.ebuild
6 Log:
7 Per request from Bug 396253, took over maintainership of media-video/makemkv. Bumped to latest user contributed ebuild. Verified dependencies and installation/operation, supplemented basic elog install directions, and removed obsolete/non functional prior ebuild.
8
9 (Portage version: 2.1.10.65/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.5 media-video/makemkv/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?rev=1.5&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?rev=1.5&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?r1=1.4&r2=1.5
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v
21 retrieving revision 1.4
22 retrieving revision 1.5
23 diff -u -r1.4 -r1.5
24 --- ChangeLog 1 Jul 2012 05:49:46 -0000 1.4
25 +++ ChangeLog 2 Jul 2012 03:46:19 -0000 1.5
26 @@ -1,6 +1,15 @@
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.4 2012/07/01 05:49:46 yngwin Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v 1.5 2012/07/02 03:46:19 mattm Exp $
31 +
32 +*makemkv-1.7.4-r1 (02 Jul 2012)
33 +
34 + 02 Jul 2012; Matthew Marlowe <mattm@g.o> -makemkv-1.6.16.ebuild,
35 + +makemkv-1.7.4-r1.ebuild, +files/makemkv-1.7.4-makefile.linux.patch:
36 + Per request from Bug 396253, took over maintainership of media-video/makemkv.
37 + Bumped to latest user contributed ebuild. Verified dependencies and
38 + installation/operation, supplemented basic elog install directions, and
39 + removed obsolete/non functional prior ebuild.
40
41 01 Jul 2012; Ben de Groot <yngwin@g.o> metadata.xml:
42 Reassign as per bug #396253
43
44
45
46 1.1 media-video/makemkv/makemkv-1.7.4-r1.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/makemkv-1.7.4-r1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/makemkv-1.7.4-r1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: makemkv-1.7.4-r1.ebuild
52 ===================================================================
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/makemkv-1.7.4-r1.ebuild,v 1.1 2012/07/02 03:46:19 mattm Exp $
56
57 EAPI=3
58
59 RESTRICT="mirror"
60
61 inherit multilib eutils
62
63 MY_P="makemkv_v${PV}_oss"
64 MY_PB="makemkv_v${PV}_bin"
65
66 DESCRIPTION="Tool for ripping Blu-Ray, HD-DVD and DVD discs and copying content to a Matroska container"
67 HOMEPAGE="http://www.makemkv.com/"
68 SRC_URI="http://www.makemkv.com/download/${MY_P}.tar.gz
69 http://www.makemkv.com/download/${MY_PB}.tar.gz"
70
71 LICENSE="MakeMKV-EULA"
72 SLOT="0"
73 KEYWORDS="~amd64 ~x86"
74 IUSE=""
75
76 DEPEND="x11-libs/qt-gui:4
77 dev-libs/openssl:0
78 media-libs/mesa
79 dev-libs/expat
80 x11-libs/qt-dbus:4
81 sys-libs/zlib"
82 RDEPEND="${DEPEND}"
83
84 QA_PREBUILT="opt/bin/makemkvcon"
85 DEFAULT_PROFILE="default.mmcp.xml"
86
87 src_prepare() {
88 epatch "${FILESDIR}/${P}-makefile.linux.patch"
89 cd "${MY_P}"
90 }
91
92 src_compile() {
93 cd "${MY_P}"
94 emake GCC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" -f makefile.linux || die "make failed"
95 }
96
97 src_install() {
98 # install oss package
99 cd "${MY_P}"
100 dolib.so out/libdriveio.so.0 || die "dolib.so out/libdriveio.so.0 died"
101 dolib.so out/libmakemkv.so.1 || die "dolib.so out/libmakemkv.so.1 died"
102 dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so.0.${PV} || die "dosym libdriveio.so.0 died "
103 dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so || die "dosym libdriveio.so.0 died "
104 dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so.1.${PV} || die "dosym libmakemkv.so.1 died"
105 dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so || die "dosym libmakemkv.so.1 died"
106 into /opt
107 dobin out/makemkv || die "dobin makemkv died"
108
109 newicon makemkvgui/src/img/128/mkv_icon.png ${PN}.png
110 make_desktop_entry ${PN} "MakeMKV" ${PN} "Qt;AudioVideo;Video"
111
112 # install bin package
113 cd "${WORKDIR}/${MY_PB}/bin"
114 if use x86; then
115 dobin i386/makemkvcon || die "dobin makemkvcon died"
116 elif use amd64; then
117 dobin amd64/makemkvcon || die "dobin makemkvcon died"
118 fi
119
120 # install license and default profile
121 cd "${WORKDIR}/${MY_PB}/src"
122 into /usr
123 dodoc eula_en_linux.txt
124 insinto /usr/share/${PF}
125 doins share/${DEFAULT_PROFILE}
126 }
127
128 pkg_postinst() {
129 elog "While MakeMKV is in beta mode, upstream has provided a license"
130 elog "to use if you do not want to purchase one."
131 elog ""
132 elog "See this forum thread for more information, including the key:"
133 elog "http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053"
134 elog ""
135 elog "Note that beta license may have an expiration date and you will"
136 elog "need to check for newer licenses/releases. "
137 elog ""
138 elog "If this is a new install, remember to copy the default profile"
139 elog "to the config directory:"
140 elog "cp /usr/share/${PF}/${DEFAULT_PROFILE} ~/.MakeMKV/${DEFAULT_PROFILE}"
141 }