diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-10-05 11:34:17 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-10-05 11:34:17 +0000 |
commit | 420814350a0d7806f1bc89dfe7c33627b1c9a4bf (patch) | |
tree | 34b3190a055ad631dc53d473ddda490202f3d01f /media-video | |
parent | added ORBit 0.5.10 (diff) | |
download | historical-420814350a0d7806f1bc89dfe7c33627b1c9a4bf.tar.gz historical-420814350a0d7806f1bc89dfe7c33627b1c9a4bf.tar.bz2 historical-420814350a0d7806f1bc89dfe7c33627b1c9a4bf.zip |
*** empty log message ***
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/avifile/avifile-0.6.0.20011003.ebuild | 60 | ||||
-rw-r--r-- | media-video/avifile/files/digest-avifile-0.6.0.20011003 | 2 |
2 files changed, 62 insertions, 0 deletions
diff --git a/media-video/avifile/avifile-0.6.0.20011003.ebuild b/media-video/avifile/avifile-0.6.0.20011003.ebuild new file mode 100644 index 000000000000..45cd8a84301f --- /dev/null +++ b/media-video/avifile/avifile-0.6.0.20011003.ebuild @@ -0,0 +1,60 @@ +# 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.6.0.20011003.ebuild,v 1.1 2001/10/05 11:34:17 achim Exp $ + +P=${PN}-0.6.0-20011003 +S=${WORKDIR}/${PN}-0.6.0 +DESCRIPTION="Library for AVI-Files" + +SRC_URI="http://avifile.sourceforge.net/${P}.tgz + http://avifile.sourceforge.net/binaries-011002.tgz" + +HOMEPAGE="http://divx.euro.ru/" + +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}.tgz +} + +src_compile() { + local myconf + if [ -z "`use qt`" ] ; then + myconf="$myconf --disable-qt" + else + myconf="$myconf --with-qt-includes=$QTDIR/include --with-qt-libraries=$QTDIR/lib" + 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} \ + --enable-quiet --disable-tsc $myconf +# cp Makefile Makefile.orig +# sed -e "s:/usr/lib/win32:${D}/usr/lib/win32:" \ +# Makefile.orig > Makefile + try make +} + +src_install () { + + dodir /usr/X11R6/lib /usr/X11R6/bin + dodir /usr/lib/win32 + + make prefix=${D}/usr/X11R6 install + + cd ${D}/usr/lib/win32 + unzip ${DISTDIR}/binaries-011002.zip + cd ${S} + dodoc COPYING README + cd doc + dodoc CREDITS EXCEPTIONS FreeBSD LICENSING TODO + dodoc VIDEO-PERFORMANCE WARNINGS +} + + + + + diff --git a/media-video/avifile/files/digest-avifile-0.6.0.20011003 b/media-video/avifile/files/digest-avifile-0.6.0.20011003 new file mode 100644 index 000000000000..ba5c4d5db1ce --- /dev/null +++ b/media-video/avifile/files/digest-avifile-0.6.0.20011003 @@ -0,0 +1,2 @@ +MD5 875679e16e226533c09bf45b70c6be68 avifile-0.6.0-20011003.tgz +MD5 4db4edeeceefb9353b15b047207fa6d3 binaries-011002.tgz |