summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-05-26 14:05:33 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-05-26 14:05:33 +0000
commit699a56fe8e8f9f95c4dd244db8674625236c706f (patch)
treebae1b618df993e27b2730770e26140b7839f1fd1 /media-video/avifile
parentprettification patch applied (diff)
downloadgentoo-2-699a56fe8e8f9f95c4dd244db8674625236c706f.tar.gz
gentoo-2-699a56fe8e8f9f95c4dd244db8674625236c706f.tar.bz2
gentoo-2-699a56fe8e8f9f95c4dd244db8674625236c706f.zip
avifile updates
Diffstat (limited to 'media-video/avifile')
-rw-r--r--media-video/avifile/ChangeLog8
-rw-r--r--media-video/avifile/avifile-0.7.4.20020426-r2.ebuild93
-rw-r--r--media-video/avifile/files/digest-avifile-0.7.4.20020426-r21
3 files changed, 101 insertions, 1 deletions
diff --git a/media-video/avifile/ChangeLog b/media-video/avifile/ChangeLog
index 383cfa010029..fd04a91fb6b7 100644
--- a/media-video/avifile/ChangeLog
+++ b/media-video/avifile/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/avifile
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/ChangeLog,v 1.13 2002/05/25 19:30:38 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/ChangeLog,v 1.14 2002/05/26 14:05:33 azarah Exp $
+
+*avifile-0.7.4-20020426-r2 (26 May 2002)
+
+ 26 May 2002; Martin Schlemmer <azarah@gentoo.org> :
+
+ Remove the suffix added to all binaries.
*avifile-0.7.4-20020426 (25 May 2002)
diff --git a/media-video/avifile/avifile-0.7.4.20020426-r2.ebuild b/media-video/avifile/avifile-0.7.4.20020426-r2.ebuild
new file mode 100644
index 000000000000..6a403ed2851f
--- /dev/null
+++ b/media-video/avifile/avifile-0.7.4.20020426-r2.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2002 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.7.4.20020426-r2.ebuild,v 1.1 2002/05/26 14:05:33 azarah Exp $
+
+MY_P=${P/.200/-200}
+MY_S=${PN}0.7-0.7.4
+S=${WORKDIR}/${MY_S}
+DESCRIPTION="Library for AVI-Files"
+SRC_URI="http://avifile.sourceforge.net/${MY_P}.tgz"
+HOMEPAGE="http://avifile.sourceforge.net/"
+
+DEPEND=">=media-libs/divx4linux-20020418
+ media-libs/jpeg
+ media-libs/win32codecs
+ qt? ( >=x11-libs/qt-3.0.3 )
+ nas? ( >=media-libs/nas-1.4.2 )
+ sdl? ( >=media-libs/libsdl-1.2.2 )
+ oggvorbis? ( media-libs/libvorbis )"
+
+SLOT="0.7"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ patch -p1 <${FILESDIR}/${P}-gcc3.1-gentoo.patch || die
+}
+
+src_compile() {
+
+ einfo "${S}"
+
+ local myconf=""
+ local kdepre=""
+
+ ( use mmx || use sse || use 3dnow ) && myconf="${myconf} --enable-x86opt"
+
+ use qt \
+ && myconf="${myconf} --with-qt-dir=${QTDIR}" \
+ || myconf="${myconf} --without-qt"
+
+ use kde \
+ && myconf="${myconf} --enable-kde" \
+ || myconf="${myconf} --disable-kde"
+
+ use sdl \
+ && myconf="${myconf} --enable-sdl" \
+ || myconf="${myconf} --disable-sdl --disable-sdltest"
+
+ use nas && LDFLAGS="-L/usr/X11R6/lib -lXt"
+
+ use oggvorbis \
+ && myconf="${myconf} --enable-vorbis" \
+ || myconf="${myconf} --disable-vorbis --disable-oggtest --disable-vorbistest"
+
+ use kde \
+ && ( \
+ myconf="${myconf} --enable-kde" \
+ && LDFLAGS="${LDFLAGS} -L${KDEDIR}/lib" \
+ && myconf="${myconf} --with-extra-libraries=${KDEDIR}" \
+ ) || (
+ myconf="${myconf} --disable-kde" \
+ && LDFLAGS="${LDFLAGS}"
+ )
+
+
+ # this version has b0rked a52 support -- author recommends disabling it
+ myconf="${myconf} --disable-a52"
+
+ export CFLAGS=${CFLAGS/-O?/-O2}
+ export LDFLAGS
+ ./configure --prefix=/usr \
+ --host=${CHOST} \
+ --enable-quiet \
+ --disable-tsc \
+ ${myconf} || die
+
+ make || die
+}
+
+src_install () {
+
+ dodir /usr/lib /usr/bin
+ use avi && dodir /usr/lib/win32
+
+ make prefix=${D}/usr install || die
+
+ 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.7.4.20020426-r2 b/media-video/avifile/files/digest-avifile-0.7.4.20020426-r2
new file mode 100644
index 000000000000..a05ee43f371c
--- /dev/null
+++ b/media-video/avifile/files/digest-avifile-0.7.4.20020426-r2
@@ -0,0 +1 @@
+MD5 b57fd2b745a5bd6aa801ef4786918e51 avifile-0.7.4-20020426.tgz 2162391