summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-12-19 21:59:26 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-12-19 21:59:26 +0000
commitab5532b7ac613787202076d53902416534cdb337 (patch)
treeec23031d21c7b23561ae461510ccd284409dd120 /media-video/chaplin/chaplin-1.10-r1.ebuild
parentRestrict tests from test_httpservers (bug #293201). (diff)
downloadhistorical-ab5532b7ac613787202076d53902416534cdb337.tar.gz
historical-ab5532b7ac613787202076d53902416534cdb337.tar.bz2
historical-ab5532b7ac613787202076d53902416534cdb337.zip
Fix building with -Wl,--as-needed wrt #247871.
Package-Manager: portage-2.2_rc59/cvs/Linux x86_64
Diffstat (limited to 'media-video/chaplin/chaplin-1.10-r1.ebuild')
-rw-r--r--media-video/chaplin/chaplin-1.10-r1.ebuild21
1 files changed, 10 insertions, 11 deletions
diff --git a/media-video/chaplin/chaplin-1.10-r1.ebuild b/media-video/chaplin/chaplin-1.10-r1.ebuild
index acf8b768bccc..6d743ed90770 100644
--- a/media-video/chaplin/chaplin-1.10-r1.ebuild
+++ b/media-video/chaplin/chaplin-1.10-r1.ebuild
@@ -1,13 +1,10 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/chaplin/chaplin-1.10-r1.ebuild,v 1.5 2007/02/12 14:35:16 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/chaplin/chaplin-1.10-r1.ebuild,v 1.6 2009/12/19 21:59:26 ssuominen Exp $
+EAPI=2
inherit eutils
-IUSE="transcode vcd"
-
-S="${WORKDIR}/${PN}"
-
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"
@@ -15,18 +12,20 @@ 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
>=media-gfx/imagemagick-5.5.7.14
transcode? ( >=media-video/transcode-0.6.2 )
vcd? ( >=media-video/vcdimager-0.7.2 )"
-src_unpack() {
- unpack ${A}
- epatch "${FILESDIR}/${P}-libdvdread-0.9.6.patch"
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-libdvdread-0.9.6.patch \
+ "${FILESDIR}"/${P}-asneeded.patch
}
src_install() {
- dobin chaplin || die "Failed installing file chaplin"
- dobin chaplin-genmenu || die "Failed installing file chaplin-genmenu"
+ dobin chaplin chaplin-genmenu || die
}