1 |
mattm 12/07/02 04:00:21 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: makemkv-1.7.6.ebuild |
5 |
Log: |
6 |
Bump for release 1.7.6 - upstream has changed download pkg naming rules, will need to double check for any other significant changes. |
7 |
|
8 |
(Portage version: 2.1.10.65/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.6 media-video/makemkv/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?rev=1.6&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?rev=1.6&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?r1=1.5&r2=1.6 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v |
20 |
retrieving revision 1.5 |
21 |
retrieving revision 1.6 |
22 |
diff -u -r1.5 -r1.6 |
23 |
--- ChangeLog 2 Jul 2012 03:46:19 -0000 1.5 |
24 |
+++ ChangeLog 2 Jul 2012 04:00:20 -0000 1.6 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for media-video/makemkv |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v 1.5 2012/07/02 03:46:19 mattm Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v 1.6 2012/07/02 04:00:20 mattm Exp $ |
30 |
+ |
31 |
+*makemkv-1.7.6 (02 Jul 2012) |
32 |
+ |
33 |
+ 02 Jul 2012; Matthew Marlowe <mattm@g.o> +makemkv-1.7.6.ebuild: |
34 |
+ Bump for release 1.7.6 - upstream has changed download pkg naming rules, will |
35 |
+ need to double check for any other significant changes. |
36 |
|
37 |
*makemkv-1.7.4-r1 (02 Jul 2012) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 media-video/makemkv/makemkv-1.7.6.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: makemkv-1.7.6.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2012 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild,v 1.1 2012/07/02 04:00:20 mattm Exp $ |
52 |
|
53 |
EAPI=3 |
54 |
|
55 |
RESTRICT="mirror" |
56 |
|
57 |
inherit multilib eutils |
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="MakeMKV-EULA" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~x86" |
70 |
IUSE="" |
71 |
|
72 |
DEPEND="x11-libs/qt-gui:4 |
73 |
dev-libs/openssl:0 |
74 |
media-libs/mesa |
75 |
dev-libs/expat |
76 |
x11-libs/qt-dbus:4 |
77 |
sys-libs/zlib" |
78 |
RDEPEND="${DEPEND}" |
79 |
|
80 |
QA_PREBUILT="opt/bin/makemkvcon" |
81 |
DEFAULT_PROFILE="default.mmcp.xml" |
82 |
|
83 |
src_prepare() { |
84 |
epatch "${FILESDIR}/${P}-makefile.linux.patch" |
85 |
cd "${MY_P}" |
86 |
} |
87 |
|
88 |
src_compile() { |
89 |
cd "${MY_P}" |
90 |
emake GCC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" -f makefile.linux || die "make failed" |
91 |
} |
92 |
|
93 |
src_install() { |
94 |
# install oss package |
95 |
cd "${MY_P}" |
96 |
dolib.so out/libdriveio.so.0 || die "dolib.so out/libdriveio.so.0 died" |
97 |
dolib.so out/libmakemkv.so.1 || die "dolib.so out/libmakemkv.so.1 died" |
98 |
dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so.0.${PV} || die "dosym libdriveio.so.0 died " |
99 |
dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so || die "dosym libdriveio.so.0 died " |
100 |
dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so.1.${PV} || die "dosym libmakemkv.so.1 died" |
101 |
dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so || die "dosym libmakemkv.so.1 died" |
102 |
into /opt |
103 |
dobin out/makemkv || die "dobin makemkv died" |
104 |
|
105 |
newicon makemkvgui/src/img/128/mkv_icon.png ${PN}.png |
106 |
make_desktop_entry ${PN} "MakeMKV" ${PN} "Qt;AudioVideo;Video" |
107 |
|
108 |
# install bin package |
109 |
cd "${WORKDIR}/${MY_PB}/bin" |
110 |
if use x86; then |
111 |
dobin i386/makemkvcon || die "dobin makemkvcon died" |
112 |
elif use amd64; then |
113 |
dobin amd64/makemkvcon || die "dobin makemkvcon died" |
114 |
fi |
115 |
|
116 |
# install license and default profile |
117 |
cd "${WORKDIR}/${MY_PB}/src" |
118 |
into /usr |
119 |
dodoc eula_en_linux.txt |
120 |
insinto /usr/share/${PF} |
121 |
doins share/${DEFAULT_PROFILE} |
122 |
} |
123 |
|
124 |
pkg_postinst() { |
125 |
elog "While MakeMKV is in beta mode, upstream has provided a license" |
126 |
elog "to use if you do not want to purchase one." |
127 |
elog "" |
128 |
elog "See this forum thread for more information, including the key:" |
129 |
elog "http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053" |
130 |
elog "" |
131 |
elog "Note that beta license may have an expiration date and you will" |
132 |
elog "need to check for newer licenses/releases. " |
133 |
elog "" |
134 |
elog "If this is a new install, remember to copy the default profile" |
135 |
elog "to the config directory:" |
136 |
elog "cp /usr/share/${PF}/${DEFAULT_PROFILE} ~/.MakeMKV/${DEFAULT_PROFILE}" |
137 |
} |