mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
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>
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user