summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/avidemux/avidemux-2.0.42-r1.ebuild')
-rw-r--r--media-video/avidemux/avidemux-2.0.42-r1.ebuild30
1 files changed, 20 insertions, 10 deletions
diff --git a/media-video/avidemux/avidemux-2.0.42-r1.ebuild b/media-video/avidemux/avidemux-2.0.42-r1.ebuild
index b7c74056b050..c0d24e5043bf 100644
--- a/media-video/avidemux/avidemux-2.0.42-r1.ebuild
+++ b/media-video/avidemux/avidemux-2.0.42-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/avidemux-2.0.42-r1.ebuild,v 1.1 2005/09/03 10:21:21 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/avidemux-2.0.42-r1.ebuild,v 1.2 2005/12/19 14:45:42 flameeyes Exp $
inherit eutils flag-o-matic fixheadtails
@@ -17,8 +17,7 @@ SLOT="2"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="a52 aac alsa altivec arts encode mad nls vorbis sdl truetype xvid xv oss"
-RDEPEND="xv? ( virtual/x11 )
- a52? ( >=media-libs/a52dec-0.7.4 )
+RDEPEND="a52? ( >=media-libs/a52dec-0.7.4 )
encode? ( >=media-sound/lame-3.93 )
>=dev-libs/libxml2-2.6.7
>=x11-libs/gtk+-2.4.1
@@ -31,25 +30,36 @@ RDEPEND="xv? ( virtual/x11 )
arts? ( >=kde-base/arts-1.2.3 )
truetype? ( >=media-libs/freetype-2.1.5 )
alsa? ( >=media-libs/alsa-lib-1.0.3b-r2 )
- sdl? ( media-libs/libsdl )"
+ sdl? ( media-libs/libsdl )
+ || ( (
+ xv? ( x11-libs/libXv )
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrender
+ ) virtual/x11 )"
# media-sound/toolame is supported as well
-DEPEND="$RDEPEND
+DEPEND="${RDEPEND}
+ || ( (
+ x11-base/xorg-server
+ x11-libs/libXt
+ x11-proto/xextproto
+ ) virtual/x11 )
dev-util/pkgconfig
>=sys-devel/autoconf-2.58
>=sys-devel/automake-1.8.3"
-filter-flags "-fno-default-inline"
-filter-flags "-funroll-loops"
-filter-flags "-funroll-all-loops"
-filter-flags "-fforce-addr"
-
S=${WORKDIR}/${MY_P}
pkg_setup() {
if ! ( use oss || use arts || use alsa ); then
die "You must select at least one between oss, arts and alsa audio output."
fi
+
+ filter-flags "-fno-default-inline"
+ filter-flags "-funroll-loops"
+ filter-flags "-funroll-all-loops"
+ filter-flags "-fforce-addr"
}
src_unpack() {