diff options
author | Karol Wojtaszek <sekretarz@gentoo.org> | 2005-08-01 20:56:27 +0000 |
---|---|---|
committer | Karol Wojtaszek <sekretarz@gentoo.org> | 2005-08-01 20:56:27 +0000 |
commit | f149fab30bceddb016e2585132958745b5d15a6b (patch) | |
tree | 227c2a5f7e5a6f716707334319a6575f835abc06 /media-gfx/pornview/pornview-0.2.0_pre1.ebuild | |
parent | stable on alpha (diff) | |
download | gentoo-2-f149fab30bceddb016e2585132958745b5d15a6b.tar.gz gentoo-2-f149fab30bceddb016e2585132958745b5d15a6b.tar.bz2 gentoo-2-f149fab30bceddb016e2585132958745b5d15a6b.zip |
Fixed problems with libxine and gtk, thanks Roland Bär <roland@pinguin.tv> in bug #81179
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'media-gfx/pornview/pornview-0.2.0_pre1.ebuild')
-rw-r--r-- | media-gfx/pornview/pornview-0.2.0_pre1.ebuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/media-gfx/pornview/pornview-0.2.0_pre1.ebuild b/media-gfx/pornview/pornview-0.2.0_pre1.ebuild index 9b0fb7d32703..c1084b3bdbb1 100644 --- a/media-gfx/pornview/pornview-0.2.0_pre1.ebuild +++ b/media-gfx/pornview/pornview-0.2.0_pre1.ebuild @@ -1,26 +1,26 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pornview/pornview-0.2.0_pre1.ebuild,v 1.13 2005/05/07 23:45:04 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pornview/pornview-0.2.0_pre1.ebuild,v 1.14 2005/08/01 20:56:27 sekretarz Exp $ inherit eutils -IUSE="avi gtk2 jpeg mpeg nls static" +IUSE="gtk2 jpeg mplayer nls static xine" DESCRIPTION="Image viewer/manager with optional support for MPEG movies." HOMEPAGE="http://pornview.sourceforge.net" LICENSE="GPL-2" DEPEND="media-libs/libpng - avi? ( media-video/mplayer ) + mplayer? ( media-video/mplayer ) jpeg? ( media-libs/jpeg ) gtk2? ( >=x11-libs/gtk+-2.0 ) !gtk2? ( =x11-libs/gtk+-1.2* >=media-libs/gdk-pixbuf-0.16 ) - mpeg? ( =media-libs/xine-lib-1* ) + xine? ( =media-libs/xine-lib-1* ) nls? ( sys-devel/gettext )" SLOT="0" -KEYWORDS="x86 ppc amd64 ~sparc ~hppa" +KEYWORDS="x86 ppc amd64" SRC_URI="mirror://sourceforge/${PN}/${P/_/}.tar.gz" RESTRICT="nomirror" @@ -37,9 +37,9 @@ src_compile() { # mplayer and xine movie support cannot be installed at the same # time so prefer xine support over mplayer if both are available - if use mpeg; then + if use xine; then myflags="${myflags} --enable-xine" - elif use avi; then + elif use mplayer; then myflags="${myflags} --disable-xinetest --enable-mplayer" else myflags="${myflags} --disable-xinetest" @@ -50,6 +50,7 @@ src_compile() { use static && myflags="${myflags} --enable-static" epatch ${FILESDIR}/${P}-4.diff || die + epatch ${FILESDIR}/gtkxine.diff || die econf ${myflags} || die "./configure failed" |