Skip to content

Commit

Permalink
media-libs/xine-lib: Added slotdep for imagemagick. Bumped to EAPI-6.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <[email protected]>
  • Loading branch information
Lars Wendler committed May 2, 2016
1 parent 91f3630 commit e03d4f7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
10 changes: 6 additions & 4 deletions media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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 flag-o-matic libtool multilib eutils

Expand Down Expand Up @@ -49,7 +49,7 @@ RDEPEND="${NLS_RDEPEND}
flac? ( media-libs/flac )
fusion? ( media-libs/FusionSound )
gtk? ( x11-libs/gdk-pixbuf:2 )
imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick ) )
imagemagick? ( || ( media-gfx/imagemagick:= media-gfx/graphicsmagick ) )
jack? ( >=media-sound/jack-audio-connection-kit-0.100 )
jpeg? ( virtual/jpeg:0 )
libcaca? ( media-libs/libcaca )
Expand Down Expand Up @@ -117,6 +117,8 @@ REQUIRED_USE="vidix? ( || ( X fbcon ) )
xinerama? ( X )"

src_prepare() {
default

sed -i -e '/define VDR_ABS_FIFO_DIR/s|".*"|"/var/vdr/xine"|' src/vdr/input_vdr.c || die

if [[ ${PV} == *9999* ]]; then
Expand All @@ -130,7 +132,7 @@ src_prepare() {
for x in 0 1 2 3; do
sed -i -e "/^O${x}_CFLAGS=\"-O${x}\"/d" configure || die
done
has_version '>=media-video/ffmpeg-2.9' && epatch "${FILESDIR}/ffmpeg29.patch"
has_version '>=media-video/ffmpeg-2.9' && eapply "${FILESDIR}/ffmpeg29.patch"
}

src_configure() {
Expand Down
8 changes: 5 additions & 3 deletions media-libs/xine-lib/xine-lib-1.2.9999.ebuild
Original file line number Diff line number Diff line change
@@ -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 flag-o-matic libtool multilib

Expand Down Expand Up @@ -49,7 +49,7 @@ RDEPEND="${NLS_RDEPEND}
flac? ( media-libs/flac )
fusion? ( media-libs/FusionSound )
gtk? ( x11-libs/gdk-pixbuf:2 )
imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick ) )
imagemagick? ( || ( media-gfx/imagemagick:= media-gfx/graphicsmagick ) )
jack? ( >=media-sound/jack-audio-connection-kit-0.100 )
jpeg? ( virtual/jpeg:0 )
libcaca? ( media-libs/libcaca )
Expand Down Expand Up @@ -117,6 +117,8 @@ REQUIRED_USE="vidix? ( || ( X fbcon ) )
xinerama? ( X )"

src_prepare() {
default

sed -i -e '/define VDR_ABS_FIFO_DIR/s|".*"|"/var/vdr/xine"|' src/vdr/input_vdr.c || die

if [[ ${PV} == *9999* ]]; then
Expand Down

0 comments on commit e03d4f7

Please sign in to comment.