diff options
author | Chris White <chriswhite@gentoo.org> | 2004-11-30 20:00:50 +0000 |
---|---|---|
committer | Chris White <chriswhite@gentoo.org> | 2004-11-30 20:00:50 +0000 |
commit | afdc96a2ecf52cba35fc3c5818bf55739e865ee3 (patch) | |
tree | a7f4078762d6d9c5aaf1dd0d6fc72f9774c1cbe8 /media-video | |
parent | Pruning obsolete versions (Manifest recommit) (diff) | |
download | gentoo-2-afdc96a2ecf52cba35fc3c5818bf55739e865ee3.tar.gz gentoo-2-afdc96a2ecf52cba35fc3c5818bf55739e865ee3.tar.bz2 gentoo-2-afdc96a2ecf52cba35fc3c5818bf55739e865ee3.zip |
Added avifile-0.7.37-20030522-r2.ebuild back to unbreak swftools and mjpegtools deps.
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/avifile/ChangeLog | 9 | ||||
-rw-r--r-- | media-video/avifile/Manifest | 14 | ||||
-rw-r--r-- | media-video/avifile/avifile-0.7.37.20030522-r2.ebuild | 173 | ||||
-rw-r--r-- | media-video/avifile/files/digest-avifile-0.7.37.20030522-r2 | 1 |
4 files changed, 185 insertions, 12 deletions
diff --git a/media-video/avifile/ChangeLog b/media-video/avifile/ChangeLog index c2a3114e13a3..4969784c3a89 100644 --- a/media-video/avifile/ChangeLog +++ b/media-video/avifile/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-video/avifile # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/ChangeLog,v 1.85 2004/11/30 05:43:41 chriswhite Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/ChangeLog,v 1.86 2004/11/30 20:00:50 chriswhite Exp $ + +*avifile-0.7.37.20030522-r2 (01 Dec 2004) + + 01 Dec 2004; Chris White <chriswhite@gentoo.org> + +avifile-0.7.37.20030522-r2.ebuild, avifile-0.7.41.20041001-r1.ebuild: + Added avifile-0.7.37-20030522-r2.ebuild back to unbreak swftools and + mjpegtools deps. 30 Nov 2004; Chris White <chriswhite@gentoo.org> -avifile-0.7.32.20030219.ebuild, -avifile-0.7.37.20030522-r2.ebuild, diff --git a/media-video/avifile/Manifest b/media-video/avifile/Manifest index 8b352a0fa63e..e854930f7622 100644 --- a/media-video/avifile/Manifest +++ b/media-video/avifile/Manifest @@ -1,7 +1,5 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 8c4ababe95f9d585e38bd578171ac8af ChangeLog 14994 +MD5 119488d249b1bac0d51a7bfc75cc75d5 ChangeLog 15252 +MD5 f003a1fc700f9a79cf12c06d2ac3bedd avifile-0.7.37.20030522-r2.ebuild 4432 MD5 b80546f1e5f52f38abec15e91478e999 avifile-0.7.38.20030710-r1.ebuild 4008 MD5 8a616e9640f57a62152d26753245b610 avifile-0.7.41.20041001-r1.ebuild 4591 MD5 76b95bd390c69f39e5e7b028b3ff69a5 metadata.xml 272 @@ -13,14 +11,8 @@ MD5 37a0170a523a26fd8a8c576c498b3641 files/avifile-0.7.41.20041001-gcc2.patch 10 MD5 d0f665d4394d9d9a59c9a5dadeb09882 files/avifile-0.7.41.20041001-sparc.patch 1262 MD5 69d7c84947a5ea083f25e43fdacc126e files/avifile-gcc34.patch 5795 MD5 f2e5938361909893d37d1ce0b80fdbfc files/avifile-x86-gcc34.patch 5247 +MD5 c1a25bfd2234206e97e7b744c39c0d06 files/digest-avifile-0.7.37.20030522-r2 73 MD5 21e60c1838b04fa1990fe5538569ac4b files/digest-avifile-0.7.38.20030710-r1 71 MD5 f19f862b147fa314ed83d4b78e661a5d files/digest-avifile-0.7.41.20041001-r1 71 MD5 5c7a3ea4957036aa1da3db9880a3ed34 files/flvenc-patch 558 MD5 c5840e80e1a70f6b5ce25679e53f2dcb files/throw.patch 7396 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFBrAixFdQwWVoAgN4RAgXKAJwJIv+4xgj3ajsV6sToW5CS/QzCbwCdEbQn -G7yU+//ldaHREI3voPUOhsA= -=8ZEY ------END PGP SIGNATURE----- diff --git a/media-video/avifile/avifile-0.7.37.20030522-r2.ebuild b/media-video/avifile/avifile-0.7.37.20030522-r2.ebuild new file mode 100644 index 000000000000..73aeee5657e0 --- /dev/null +++ b/media-video/avifile/avifile-0.7.37.20030522-r2.ebuild @@ -0,0 +1,173 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/avifile-0.7.37.20030522-r2.ebuild,v 1.15 2004/11/30 20:00:50 chriswhite Exp $ + +inherit eutils + +MAJ_PV=${PV:0:3} +MIN_PV=${PV:3:3} +MY_P="${P/.200/-200}" +MY_S="${PN}${MAJ_PV}-${MAJ_PV}${MIN_PV}" +S="${WORKDIR}/${MY_S}" + +DESCRIPTION="Library for AVI-Files" +HOMEPAGE="http://avifile.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" +RESTRICT="nomirror" + +LICENSE="GPL-2" +SLOT="0.7" +KEYWORDS="~x86 ~sparc alpha ia64" +IUSE="3dnow X alsa avi debug dvd esd mmx oggvorbis qt sdl sse static truetype xv zlib" + +DEPEND=">=media-libs/jpeg-6b + x86? ( >=media-libs/divx4linux-20020418 + >=media-libs/win32codecs-0.90 ) + >=media-video/ffmpeg-0.4 + >=media-libs/xvid-0.9.0 + >=media-sound/lame-3.90 + >=media-libs/audiofile-0.2.3 + >=sys-apps/sed-4 + >=media-sound/madplay-0.14.2b + truetype? ( >=media-libs/freetype-2.1 ) + xv? ( virtual/x11 ) + sdl? ( >=media-libs/libsdl-1.2.2 ) + dvd? ( >=media-libs/a52dec-0.7 ) + zlib? ( >=sys-libs/zlib-1.1.3 ) + oggvorbis? ( >=media-libs/libvorbis-1.0 ) + X? ( virtual/x11 virtual/xft ) + qt? ( >=x11-libs/qt-3.0.3 ) + alsa? ( >=media-libs/alsa-lib-0.9.0_rc2 ) + esd? ( >=media-sound/esound-0.2.28 )" + +src_unpack() { + unpack ${A} + use qt || sed -i 's/qt[a-z]*//g' ${S}/samples/Makefile.am + #Fixing divx 2003 API + if has_version '>=media-libs/divx4linux-20030428' + then + einfo "DivX 20030428 found" + cd ${S} + epatch ${FILESDIR}/${P}-divx.patch + else + einfo "Old DivX Api found" + fi +} + +src_compile() { + local myconf="--enable-oss" + local kdepre="" + + use static \ + && myconf="${myconf} --enable-static" \ + || myconf="${myconf} --disable-static" + + use truetype \ + && myconf="${myconf} --enable-freetype2" \ + || myconf="${myconf} --disable-freetype2" + + use xv \ + && myconf="${myconf} --enable-xv" \ + || myconf="${myconf} --disable-xv" + + if [ "$XINERAMA" = "NO" ]; then + myconf="${myconf} --disable-xinerama" + fi + + if [ "$DPMS" = "NO" ]; then + myconf="${myconf} --disable-dpms" + fi + + use sdl \ + && myconf="${myconf} --enable-sdl" \ + || myconf="${myconf} --disable-sdl --disable-sdltest" + + if [ "$V4L" = "NO" ]; then + myconf="${myconf} --disable-v4l" + fi + + if [ "$SUN" = "NO" ]; then + myconf="${myconf} --disable-sunaudio" + fi + + use dvd \ + && myconf="${myconf} --enable-a52 --enable-ffmpeg-a52" \ + || myconf="${myconf} --disable-a52 --disable-ffmpeg-a52" + + if [ "$SBLIVE" = "NO" ]; then + myconf="${myconf} --disable-ac3passthrough" + fi + + use debug \ + && myconf="${myconf} --enable-loader-out" \ + || myconf="${myconf} --enable-quiet" + + ( use mmx || use sse || use 3dnow ) && myconf="${myconf} --enable-x86opt" + + use zlib \ + && myconf="${myconf} --enable-libz" \ + || myconf="${myconf} --disable-libz" + + use oggvorbis \ + && myconf="${myconf} --enable-vorbis" \ + || myconf="${myconf} --disable-vorbis --disable-oggtest --disable-vorbistest" + + if [ "$MGA" = "NO" ]; then + myconf="${myconf} --disable-mga" + fi + + if [ "$DMALLOC" = "YES" ]; then + myconf="${myconf} --with-dmallocth" + fi + + use X \ + && myconf="${myconf} --with-x --enable-xft" \ + || myconf="${myconf} --without-x --disable-xft" + + use qt \ + && myconf="${myconf} --with-qt-prefix=${QTDIR}" \ + || myconf="${myconf} --without-qt" + + # Rather not use custom ones here .. build should set as high as + # safe by itself. + unset CFLAGS CXXFLAGS LDFLAGS CC CXX + + # Make sure we include freetype2 headers before freetype1 headers, else Xft2 + # borks, bug #11941. + export C_INCLUDE_PATH="${C_INCLUDE_PATH}:/usr/include/freetype2" + export CPLUS_INCLUDE_PATH="${CPLUS_INCLUDE_PATH}:/usr/include/freetype2" + + # Fix qt detection + cp configure configure.orig + sed -e "s:extern \"C\" void exit(int);:/* extern \"C\" void exit(int); */:" \ + < configure.orig > configure + + econf \ + --enable-samples \ + --disable-vidix \ + --with-fpic \ + --with-gnu-ld \ + --enable-lame-bin \ + ${myconf} || die + emake || die +} + +src_install() { + dodir /usr/lib /usr/bin + use avi && dodir /usr/lib/win32 + + einstall || die + + cd ${S} + dodoc COPYING README INSTALL + cd doc + dodoc CREDITS EXCEPTIONS FreeBSD LICENSING TODO + dodoc VIDEO-PERFORMANCE WARNINGS KNOWN_BUGS +} + +pkg_postinst() { + einfo "In order to use certain video modes, you must be root" + einfo "chmod +s /usr/bin/aviplay to suid root" + einfo "As this is considered a security risk on multiuser" + einfo "systems, this is not done by default" +} diff --git a/media-video/avifile/files/digest-avifile-0.7.37.20030522-r2 b/media-video/avifile/files/digest-avifile-0.7.37.20030522-r2 new file mode 100644 index 000000000000..decb06dd70e4 --- /dev/null +++ b/media-video/avifile/files/digest-avifile-0.7.37.20030522-r2 @@ -0,0 +1 @@ +MD5 074bd003318128e433dd96a64c80b776 avifile-0.7.37-20030522.tgz 2862210 |