summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-cdr/dvdshrink/dvdshrink-2.6.1_p10.ebuild')
-rw-r--r--app-cdr/dvdshrink/dvdshrink-2.6.1_p10.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/app-cdr/dvdshrink/dvdshrink-2.6.1_p10.ebuild b/app-cdr/dvdshrink/dvdshrink-2.6.1_p10.ebuild
new file mode 100644
index 000000000000..03274bab9660
--- /dev/null
+++ b/app-cdr/dvdshrink/dvdshrink-2.6.1_p10.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="Scriptable DVD copy software"
+HOMEPAGE="http://dvdshrink.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P/_p/-}mdk.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gtk"
+
+RDEPEND=">=media-video/transcode-1.0.2-r2[dvd]
+ >=media-video/mjpegtools-1.8.0-r1
+ >=media-video/subtitleripper-0.3.4-r1
+ >=media-video/dvdauthor-0.6.11
+ >=app-cdr/dvd+rw-tools-6.1
+ gtk? ( >=dev-perl/gtk2-perl-1.104 )
+ >=app-text/gocr-0.40
+ virtual/cdrtools"
+DEPEND=""
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ sed -e 's:applications/::g' -i usr/bin/dvdsfunctions \
+ -i usr/bin/xdvdshrink.pl || die "sed failed."
+}
+
+src_install() {
+ dobin usr/bin/{batchrip.sh,dvds{functions,hrink}} || die "dobin failed."
+
+ if use gtk; then
+ dobin usr/bin/xdvdshrink.pl || die "dobin failed."
+ fi
+
+ insinto /usr/share
+ doins -r usr/share/applications/dvdshrink || die "doins failed."
+
+ dodoc usr/share/doc/dvdshrink/{batchrip.txt,example.xml,README.txt}
+
+ doicon usr/share/icons/{batchrip.xpm,dvdshrink.xpm}
+ use gtk && make_desktop_entry xdvdshrink.pl xDVDShrink ${PN} AudioVideo
+}