public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-video/makemkv: ChangeLog makemkv-1.7.6.ebuild
@ 2012-07-02  4:00 Matthew Marlow (mattm)
  0 siblings, 0 replies; 4+ messages in thread
From: Matthew Marlow (mattm) @ 2012-07-02  4:00 UTC (permalink / raw
  To: gentoo-commits

mattm       12/07/02 04:00:21

  Modified:             ChangeLog
  Added:                makemkv-1.7.6.ebuild
  Log:
  Bump for release 1.7.6 - upstream has changed download pkg naming rules, will need to double check for any other significant changes.
  
  (Portage version: 2.1.10.65/cvs/Linux x86_64)

Revision  Changes    Path
1.6                  media-video/makemkv/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?r1=1.5&r2=1.6

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ChangeLog	2 Jul 2012 03:46:19 -0000	1.5
+++ ChangeLog	2 Jul 2012 04:00:20 -0000	1.6
@@ -1,6 +1,12 @@
 # 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.5 2012/07/02 03:46:19 mattm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v 1.6 2012/07/02 04:00:20 mattm Exp $
+
+*makemkv-1.7.6 (02 Jul 2012)
+
+  02 Jul 2012; Matthew Marlowe <mattm@gentoo.org> +makemkv-1.7.6.ebuild:
+  Bump for release 1.7.6 - upstream has changed download pkg naming rules, will
+  need to double check for any other significant changes.
 
 *makemkv-1.7.4-r1 (02 Jul 2012)
 



1.1                  media-video/makemkv/makemkv-1.7.6.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild?rev=1.1&content-type=text/plain

Index: makemkv-1.7.6.ebuild
===================================================================
# 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 $

EAPI=3

RESTRICT="mirror"

inherit multilib eutils

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/"
SRC_URI="http://www.makemkv.com/download/${MY_P}.tar.gz
	http://www.makemkv.com/download/${MY_PB}.tar.gz"

LICENSE="MakeMKV-EULA"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="x11-libs/qt-gui:4
	dev-libs/openssl:0
	media-libs/mesa
	dev-libs/expat
	x11-libs/qt-dbus:4
	sys-libs/zlib"
RDEPEND="${DEPEND}"

QA_PREBUILT="opt/bin/makemkvcon"
DEFAULT_PROFILE="default.mmcp.xml"

src_prepare() {
	epatch "${FILESDIR}/${P}-makefile.linux.patch"
	cd "${MY_P}"
}

src_compile() {
	cd "${MY_P}"
	emake GCC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" -f makefile.linux || die "make failed"
}

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"
	into /opt
	dobin out/makemkv || die "dobin makemkv died"

	newicon makemkvgui/src/img/128/mkv_icon.png ${PN}.png
	make_desktop_entry ${PN} "MakeMKV" ${PN} "Qt;AudioVideo;Video"

	# install bin package
	cd "${WORKDIR}/${MY_PB}/bin"
	if use x86; then
		dobin i386/makemkvcon || die "dobin makemkvcon died"
	elif use amd64; then
		dobin amd64/makemkvcon || die "dobin makemkvcon died"
	fi

	# install license and default profile
	cd "${WORKDIR}/${MY_PB}/src"
	into /usr
	dodoc eula_en_linux.txt
	insinto /usr/share/${PF}
	doins share/${DEFAULT_PROFILE}
}

pkg_postinst() {
	elog "While MakeMKV is in beta mode, upstream has provided a license"
	elog "to use if you do not want to purchase one."
	elog ""
	elog "See this forum thread for more information, including the key:"
	elog "http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053"
	elog ""
	elog "Note that beta license may have an expiration date and you will"
	elog "need to check for newer licenses/releases. "
	elog ""
	elog "If this is a new install, remember to copy the default profile"
	elog "to the config directory:"
	elog "cp /usr/share/${PF}/${DEFAULT_PROFILE} ~/.MakeMKV/${DEFAULT_PROFILE}"
}






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-video/makemkv: ChangeLog makemkv-1.7.6.ebuild
@ 2012-07-04  9:03 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 4+ messages in thread
From: Samuli Suominen (ssuominen) @ 2012-07-04  9:03 UTC (permalink / raw
  To: gentoo-commits

ssuominen    12/07/04 09:03:06

  Modified:             ChangeLog makemkv-1.7.6.ebuild
  Log:
  Install hicolor icons and update icon cache. Use virtual/opengl instead of media-libs/mesa. Drop all overquoting
  
  (Portage version: 2.2.0_alpha115/cvs/Linux x86_64)

Revision  Changes    Path
1.9                  media-video/makemkv/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?r1=1.8&r2=1.9

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog	3 Jul 2012 16:16:12 -0000	1.8
+++ ChangeLog	4 Jul 2012 09:03:05 -0000	1.9
@@ -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:



1.2                  media-video/makemkv/makemkv-1.7.6.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild?r1=1.1&r2=1.2

Index: makemkv-1.7.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- makemkv-1.7.6.ebuild	2 Jul 2012 04:00:20 -0000	1.1
+++ makemkv-1.7.6.ebuild	4 Jul 2012 09:03:05 -0000	1.2
@@ -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 @@
 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 @@
 	elog "to the config directory:"
 	elog "cp /usr/share/${PF}/${DEFAULT_PROFILE} ~/.MakeMKV/${DEFAULT_PROFILE}"
 }
+
+pkg_postrm() { gnome2_icon_cache_update; }






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-video/makemkv: ChangeLog makemkv-1.7.6.ebuild
@ 2012-07-04  9:08 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 4+ messages in thread
From: Samuli Suominen (ssuominen) @ 2012-07-04  9:08 UTC (permalink / raw
  To: gentoo-commits

ssuominen    12/07/04 09:08:02

  Modified:             ChangeLog makemkv-1.7.6.ebuild
  Log:
  Stop installing the EULA to the filesystem.
  
  (Portage version: 2.2.0_alpha115/cvs/Linux x86_64)

Revision  Changes    Path
1.10                 media-video/makemkv/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?r1=1.9&r2=1.10

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog	4 Jul 2012 09:03:05 -0000	1.9
+++ ChangeLog	4 Jul 2012 09:08:02 -0000	1.10
@@ -1,6 +1,9 @@
 # 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.9 2012/07/04 09:03:05 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v 1.10 2012/07/04 09:08:02 ssuominen Exp $
+
+  04 Jul 2012; Samuli Suominen <ssuominen@gentoo.org> makemkv-1.7.6.ebuild:
+  Stop installing the EULA to the filesystem.
 
   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



1.3                  media-video/makemkv/makemkv-1.7.6.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild?r1=1.2&r2=1.3

Index: makemkv-1.7.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- makemkv-1.7.6.ebuild	4 Jul 2012 09:03:05 -0000	1.2
+++ makemkv-1.7.6.ebuild	4 Jul 2012 09:08:02 -0000	1.3
@@ -1,6 +1,6 @@
 # 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.2 2012/07/04 09:03:05 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild,v 1.3 2012/07/04 09:08:02 ssuominen Exp $
 
 EAPI=4
 inherit eutils gnome2-utils multilib
@@ -70,8 +70,6 @@
 
 	# install license and default profile
 	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






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-video/makemkv: ChangeLog makemkv-1.7.6.ebuild
@ 2012-07-04  9:23 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 4+ messages in thread
From: Samuli Suominen (ssuominen) @ 2012-07-04  9:23 UTC (permalink / raw
  To: gentoo-commits

ssuominen    12/07/04 09:23:46

  Modified:             ChangeLog makemkv-1.7.6.ebuild
  Log:
  Install all the required files, and to correct locations, and actually add LICENSE info for them, see ChangeLog
  
  (Portage version: 2.2.0_alpha115/cvs/Linux x86_64)

Revision  Changes    Path
1.11                 media-video/makemkv/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/ChangeLog?r1=1.10&r2=1.11

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog	4 Jul 2012 09:08:02 -0000	1.10
+++ ChangeLog	4 Jul 2012 09:23:46 -0000	1.11
@@ -1,13 +1,11 @@
 # 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.10 2012/07/04 09:08:02 ssuominen Exp $
-
-  04 Jul 2012; Samuli Suominen <ssuominen@gentoo.org> makemkv-1.7.6.ebuild:
-  Stop installing the EULA to the filesystem.
+# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/ChangeLog,v 1.11 2012/07/04 09:23:46 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.
+  media-libs/mesa. Missing LICENSE information from file headers; LGPL-2.1,
+  MPL-1.1 and openssl. Install translation files. Install mmdtsdec utility.
 
   03 Jul 2012; Matthew Marlowe <mattm@gentoo.org>
   files/makemkv-1.7.6-makefile.linux.patch:



1.4                  media-video/makemkv/makemkv-1.7.6.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild?r1=1.3&r2=1.4

Index: makemkv-1.7.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- makemkv-1.7.6.ebuild	4 Jul 2012 09:08:02 -0000	1.3
+++ makemkv-1.7.6.ebuild	4 Jul 2012 09:23:46 -0000	1.4
@@ -1,6 +1,6 @@
 # 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.3 2012/07/04 09:08:02 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/makemkv/makemkv-1.7.6.ebuild,v 1.4 2012/07/04 09:23:46 ssuominen Exp $
 
 EAPI=4
 inherit eutils gnome2-utils multilib
@@ -13,26 +13,25 @@
 SRC_URI="http://www.makemkv.com/download/${MY_P}.tar.gz
 	http://www.makemkv.com/download/${MY_PB}.tar.gz"
 
-LICENSE="MakeMKV-EULA"
+LICENSE="LGPL-2.1 MPL-1.1 MakeMKV-EULA openssl"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="multilib"
 
-QA_PREBUILT=opt/bin/makemkvcon
-RESTRICT=mirror
+QA_PREBUILT="opt/bin/makemkvcon opt/bin/mmdtsdec"
+RESTRICT="mirror"
 
 RDEPEND="dev-libs/expat
 	dev-libs/openssl:0
 	sys-libs/zlib
 	virtual/opengl
 	x11-libs/qt-dbus:4
-	x11-libs/qt-gui:4"
+	x11-libs/qt-gui:4
+	multilib? ( app-emulation/emul-linux-x86-baselibs )"
 DEPEND="${RDEPEND}"
 
 S=${WORKDIR}/${MY_P}
 
-DEFAULT_PROFILE=default.mmcp.xml
-
 src_prepare() {
 	epatch "${FILESDIR}"/${P}-makefile.linux.patch
 }
@@ -62,16 +61,17 @@
 	# install bin package
 	pushd "${WORKDIR}"/${MY_PB}/bin >/dev/null
 	if use x86; then
-		dobin i386/makemkvcon
+		dobin i386/{makemkvcon,mmdtsdec}
 	elif use amd64; then
 		dobin amd64/makemkvcon
+		use multilib && dobin i386/mmdtsdec
 	fi
 	popd >/dev/null
 
 	# install license and default profile
-	pushd "${WORKDIR}"/${MY_PB}/src >/dev/null
-	insinto /usr/share/${PF}
-	doins share/${DEFAULT_PROFILE}
+	pushd "${WORKDIR}"/${MY_PB}/src/share >/dev/null
+	insinto /usr/share/MakeMKV
+	doins *.{gz,xml}
 	popd >/dev/null
 }
 
@@ -88,10 +88,10 @@
 	elog ""
 	elog "Note that beta license may have an expiration date and you will"
 	elog "need to check for newer licenses/releases. "
-	elog ""
-	elog "If this is a new install, remember to copy the default profile"
-	elog "to the config directory:"
-	elog "cp /usr/share/${PF}/${DEFAULT_PROFILE} ~/.MakeMKV/${DEFAULT_PROFILE}"
+#	elog ""
+#	elog "If this is a new install, remember to copy the default profile"
+#	elog "to the config directory:"
+#	elog "cp /usr/share/MakeMKV/default.mmcp.xml ~/.MakeMKV/"
 }
 
 pkg_postrm() { gnome2_icon_cache_update; }






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-04  9:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-04  9:23 [gentoo-commits] gentoo-x86 commit in media-video/makemkv: ChangeLog makemkv-1.7.6.ebuild Samuli Suominen (ssuominen)
  -- strict thread matches above, loose matches on Subject: below --
2012-07-04  9:08 Samuli Suominen (ssuominen)
2012-07-04  9:03 Samuli Suominen (ssuominen)
2012-07-02  4:00 Matthew Marlow (mattm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox