summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-05-02 08:51:48 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-05-02 09:51:44 +0200
commitd61345d2f75d2af77befdc719aa29d147fe67be5 (patch)
tree7c73bdd6db98ff63d2aae63147ec9027f918877f /media-video/dvdauthor
parentdev-python/pyrqlite: new package (diff)
downloadgentoo-d61345d2f75d2af77befdc719aa29d147fe67be5.tar.gz
gentoo-d61345d2f75d2af77befdc719aa29d147fe67be5.tar.bz2
gentoo-d61345d2f75d2af77befdc719aa29d147fe67be5.zip
media-video/dvdauthor: Added slotdep for imagemagick. Bumped to EAPI-6.
Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-video/dvdauthor')
-rw-r--r--media-video/dvdauthor/dvdauthor-0.7.1.ebuild18
1 files changed, 12 insertions, 6 deletions
diff --git a/media-video/dvdauthor/dvdauthor-0.7.1.ebuild b/media-video/dvdauthor/dvdauthor-0.7.1.ebuild
index 37e34143fa62..fd97f1b9f40d 100644
--- a/media-video/dvdauthor/dvdauthor-0.7.1.ebuild
+++ b/media-video/dvdauthor/dvdauthor-0.7.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="Tools for generating DVD files to be played on standalone DVD players"
@@ -20,7 +20,7 @@ RDEPEND=">=dev-libs/fribidi-0.19.2
media-libs/libdvdread
media-libs/libpng:0=
graphicsmagick? ( media-gfx/graphicsmagick )
- !graphicsmagick? ( >=media-gfx/imagemagick-5.5.7.14 )"
+ !graphicsmagick? ( >=media-gfx/imagemagick-5.5.7.14:= )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
@@ -28,10 +28,16 @@ S=${WORKDIR}/${PN}
DOCS=( AUTHORS ChangeLog README TODO )
+PATCHES=(
+ "${FILESDIR}/${P}-glibc220.patch"
+)
+
src_prepare() {
- epatch "${FILESDIR}/${P}-glibc220.patch"
- use graphicsmagick && \
- sed -i -e 's:ExportImagePixels:dIsAbLeAuToMaGiC&:' configure
+ default
+ if use graphicsmagick ; then
+ sed -i -e 's:ExportImagePixels:dIsAbLeAuToMaGiC&:' configure \
+ || die
+ fi
}
src_configure() {