summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-02-11 20:21:53 +0100
committerDavid Seifert <soap@gentoo.org>2017-02-11 20:45:10 +0100
commitd2aa646c1093b9a3c265bd039b6f607987c2b62b (patch)
treef9843078846860169de0233a6356a93e3ffd81ca /media-video/chaplin/chaplin-1.10-r2.ebuild
parentmedia-sound/gejengel: Depend on virtual/imagemagick-tools (diff)
downloadgentoo-d2aa646c1093b9a3c265bd039b6f607987c2b62b.tar.gz
gentoo-d2aa646c1093b9a3c265bd039b6f607987c2b62b.tar.bz2
gentoo-d2aa646c1093b9a3c265bd039b6f607987c2b62b.zip
media-video/chaplin: Depend on virtual/imagemagick-tools
Package-Manager: Portage-2.3.3, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/3907
Diffstat (limited to 'media-video/chaplin/chaplin-1.10-r2.ebuild')
-rw-r--r--media-video/chaplin/chaplin-1.10-r2.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/media-video/chaplin/chaplin-1.10-r2.ebuild b/media-video/chaplin/chaplin-1.10-r2.ebuild
new file mode 100644
index 000000000000..f10e59735b25
--- /dev/null
+++ b/media-video/chaplin/chaplin-1.10-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils toolchain-funcs
+
+DESCRIPTION="This is a program to raw copy chapters from a dvd using libdvdread"
+HOMEPAGE="http://www.lallafa.de/bp/chaplin.html"
+SRC_URI="http://www.lallafa.de/bp/files/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="transcode vcd"
+
+DEPEND=">=media-libs/libdvdread-0.9.4"
+RDEPEND="${DEPEND}
+ virtual/imagemagick-tools
+ media-video/mjpegtools
+ transcode? ( >=media-video/transcode-0.6.2 )
+ vcd? ( >=media-video/vcdimager-0.7.2 )"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-libdvdread-0.9.6.patch \
+ "${FILESDIR}"/${P}-asneeded.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin chaplin chaplin-genmenu
+}