diff options
Diffstat (limited to 'media-video/avifile/avifile-0.53.5.ebuild')
-rw-r--r-- | media-video/avifile/avifile-0.53.5.ebuild | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/media-video/avifile/avifile-0.53.5.ebuild b/media-video/avifile/avifile-0.53.5.ebuild index 5f5532042b5a..58f8ce101971 100644 --- a/media-video/avifile/avifile-0.53.5.ebuild +++ b/media-video/avifile/avifile-0.53.5.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/avifile-0.53.5.ebuild,v 1.3 2001/05/15 15:41:32 achim Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/avifile-0.53.5.ebuild,v 1.4 2001/06/07 21:10:33 achim Exp $ S=${WORKDIR}/${P} DESCRIPTION="Library for AVI-Files" @@ -10,28 +10,32 @@ SRC_URI="http://divx.euro.ru/${P}.tar.gz HOMEPAGE="http://divx.euro.ru/" -DEPEND=">=x11-libs/qt-x11-2.2.2" -RDEPEND=">=x11-libs/qt-x11-2.2.2 - >=media-libs/libsdl-1.1.5 - >=x11-libs/gtk+-1.2.8 - >=media-sound/esound-0.2.19" - +DEPEND="virtual/glibc qt? ( >=x11-libs/qt-x11-2.2.2 ) >=media-libs/libsdl-1.1.5 app-arch/unzip" +RDEPEND="virtual/glibc qt? ( >=x11-libs/qt-x11-2.2.2 ) >=media-libs/libsdl-1.1.5" + +src_unpack() { + unpack ${P}.tar.gz +} src_compile() { + local myconf + if [ -z "`use qt`" ] ; then + myconf="$myconf --disable-qt" + fi if [ "`use nas`" ] ; then LDFLAGS="-L/usr/X11R6/lib -lXt" fi export CFLAGS=${CFLAGS/-O?/-O2} - try LDFLAGS=\"$LDFLAGS\" ./configure --prefix=/usr/X11R6 --host=${CHOST} --disable-tsc + try LDFLAGS=\"$LDFLAGS\" ./configure --prefix=/usr/X11R6 --host=${CHOST} --disable-tsc $myconf cp Makefile Makefile.orig sed -e "s:/usr/lib/win32:${D}/usr/lib/win32:" \ Makefile.orig > Makefile try make - cd xmps-avi-plugin - cp Makefile Makefile.orig - sed -e "s:INCLUDES = :INCLUDES = -I/usr/X11R6/include -I/usr/include/glib/include -I/opt/gnome/include:" \ - Makefile.orig > Makefile - try make + #cd xmps-avi-plugin + #cp Makefile Makefile.orig + #sed -e "s:INCLUDES = :INCLUDES = -I/usr/X11R6/include -I/usr/include/glib/include -I/opt/gnome/include:" \ + # Makefile.orig > Makefile + #try make } |