diff options
Diffstat (limited to 'media-video/avifile')
-rw-r--r-- | media-video/avifile/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/avifile/Manifest | 16 | ||||
-rw-r--r-- | media-video/avifile/avifile-0.7.41.20041001-r1.ebuild | 2 | ||||
-rw-r--r-- | media-video/avifile/avifile-0.7.41.20041001.ebuild | 149 | ||||
-rw-r--r-- | media-video/avifile/files/digest-avifile-0.7.41.20041001 | 1 |
5 files changed, 162 insertions, 14 deletions
diff --git a/media-video/avifile/ChangeLog b/media-video/avifile/ChangeLog index e8a0b1250209..79dc49f026c4 100644 --- a/media-video/avifile/ChangeLog +++ b/media-video/avifile/ChangeLog @@ -1,6 +1,12 @@ # 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.87 2004/11/30 23:05:41 chriswhite Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/ChangeLog,v 1.88 2004/12/01 14:42:06 chriswhite Exp $ + +*avifile-0.7.41.20041001 (01 Dec 2004) + + 01 Dec 2004; Chris White <chriswhite@gentoo.org> + avifile-0.7.41.20041001-r1.ebuild, +avifile-0.7.41.20041001.ebuild: + Re-added 0.7.41.ebuild as it's the latest x86 stable. *avifile-0.7.32.20030219 (01 Dec 2004) diff --git a/media-video/avifile/Manifest b/media-video/avifile/Manifest index 488fa2e71aba..e4e60eeb5939 100644 --- a/media-video/avifile/Manifest +++ b/media-video/avifile/Manifest @@ -1,11 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 f444c449716823ed42bf6e33236aa0c9 ChangeLog 15426 +MD5 fdb107329a15324d5b7f5faec23de4c1 ChangeLog 15644 MD5 1d3631b1ad62370f492ec32aa6762425 avifile-0.7.37.20030522-r2.ebuild 4434 MD5 7f129854d0522ef071cd9d1a62688cee avifile-0.7.32.20030219.ebuild 4065 MD5 b80546f1e5f52f38abec15e91478e999 avifile-0.7.38.20030710-r1.ebuild 4008 -MD5 8a616e9640f57a62152d26753245b610 avifile-0.7.41.20041001-r1.ebuild 4591 +MD5 cb35ffa51c9c0d70751ae37da70220b4 avifile-0.7.41.20041001-r1.ebuild 4444 +MD5 75f6f10626604e37b67c15f5fa92b6af avifile-0.7.41.20041001.ebuild 3951 MD5 76b95bd390c69f39e5e7b028b3ff69a5 metadata.xml 272 MD5 8390bf9de24635d667a5724c2cc0cbe9 files/avifile-0.7.37.20030522-divx.patch 11943 MD5 7a55e6cb72df715c9b822505d5b4b8b0 files/avifile-0.7.38.20030710-2.6.patch 2038 @@ -17,14 +15,8 @@ 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 88eda2a3289907201d524c557bd8a753 files/digest-avifile-0.7.32.20030219 73 +MD5 f19f862b147fa314ed83d4b78e661a5d files/digest-avifile-0.7.41.20041001 71 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) - -iD8DBQFBrPzrFdQwWVoAgN4RAnMWAKChlfPFSRJpUkcBK9Ohin/0pDlykwCeLog6 -2+xsCPVMUHRkYTciRLjSHeU= -=piG0 ------END PGP SIGNATURE----- diff --git a/media-video/avifile/avifile-0.7.41.20041001-r1.ebuild b/media-video/avifile/avifile-0.7.41.20041001-r1.ebuild index 60868a4270b6..8283094391ab 100644 --- a/media-video/avifile/avifile-0.7.41.20041001-r1.ebuild +++ b/media-video/avifile/avifile-0.7.41.20041001-r1.ebuild @@ -1,6 +1,6 @@ # 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.41.20041001-r1.ebuild,v 1.3 2004/11/26 11:25:59 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/avifile-0.7.41.20041001-r1.ebuild,v 1.4 2004/12/01 14:42:06 chriswhite Exp $ inherit eutils flag-o-matic diff --git a/media-video/avifile/avifile-0.7.41.20041001.ebuild b/media-video/avifile/avifile-0.7.41.20041001.ebuild new file mode 100644 index 000000000000..bdc1c90fe330 --- /dev/null +++ b/media-video/avifile/avifile-0.7.41.20041001.ebuild @@ -0,0 +1,149 @@ +# 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.41.20041001.ebuild,v 1.12 2004/12/01 14:42:06 chriswhite Exp $ + +inherit eutils flag-o-matic + +MAJ_PV=${PV:0:3} +MIN_PV=${PV:0:6} +MY_P="${PN}-${MAJ_PV}-${MIN_PV}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Library for AVI-Files" +HOMEPAGE="http://avifile.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0.7" + +#-sparc: 0.7.41 - dsputil_init_vis undefined - eradicator +KEYWORDS="~alpha ~amd64 ~ia64 -sparc x86" +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-20030428 + >=media-libs/win32codecs-0.90 ) + >=media-video/ffmpeg-0.4 + =media-libs/xvid-1* + >=media-sound/lame-3.90 + >=media-libs/audiofile-0.2.3 + >=sys-apps/sed-4 + >=media-sound/madplay-0.14.2b + >=sys-devel/patch-2.5.9 + 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 + + # make sure pkgconfig file is correct #53183 + cd ${S} + epatch ${FILESDIR}/throw.patch + use sparc && epatch ${FILESDIR}/${P}-sparc.patch + rm -f avifile.pc + sed -i "/^includedir=/s:avifile$:avifile-${PV:0:3}:" avifile.pc.in +} + +src_compile() { + local myconf="--enable-oss --disable-xvid --enable-xvid4" + local kdepre="" + + if [ "$XINERAMA" = "NO" ]; then + myconf="${myconf} --disable-xinerama" + fi + + if [ "$DPMS" = "NO" ]; then + myconf="${myconf} --disable-dpms" + fi + + if [ "$V4L" = "NO" ]; then + myconf="${myconf} --disable-v4l" + fi + + if [ "$SUN" = "NO" ]; then + myconf="${myconf} --disable-sunaudio" + fi + + 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" + + if [ "$MGA" = "NO" ]; then + myconf="${myconf} --disable-mga" + fi + + if [ "$DMALLOC" = "YES" ]; then + myconf="${myconf} --with-dmallocth" + fi + + use qt \ + && myconf="${myconf} --with-qt-prefix=${QTDIR}" \ + || myconf="${myconf} --without-qt" + + # 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 + sed -i \ + -e "s:extern \"C\" void exit(int);:/* extern \"C\" void exit(int); */:" \ + configure + + filter-flags "-momit-leaf-frame-pointer" + + econf \ + `use_enable static` \ + `use_enable truetype freetype2` \ + `use_enable xv` \ + `use_enable sdl` `use_enable sdl sdltest` \ + `use_enable dvd a52` `use_enable dvd ffmpeg-a52` \ + `use_enable zlib libz` \ + `use_enable oggvorbis vorbis` `use_enable oggvorbis oggtest` `use_enable oggvorbis vorbistest` \ + `use_with X x` `use_enable X xft` \ + --enable-samples \ + --disable-vidix \ + --with-fpic \ + --enable-lame-bin \ + ${myconf} \ + || die + emake || die +} + +src_install() { + use avi && dodir /usr/$(get_libdir)/win32 + + make DESTDIR="${D}" install || die + + dodoc README INSTALL + cd doc + dodoc CREDITS EXCEPTIONS TODO VIDEO-PERFORMANCE WARNINGS KNOWN_BUGS +} + +src_test() { + ewarn "Testing disabled for this ebuild." +} + +pkg_postinst() { + if use qt; then # else no aviplay built + 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" + fi +} diff --git a/media-video/avifile/files/digest-avifile-0.7.41.20041001 b/media-video/avifile/files/digest-avifile-0.7.41.20041001 new file mode 100644 index 000000000000..019a69ee1a1c --- /dev/null +++ b/media-video/avifile/files/digest-avifile-0.7.41.20041001 @@ -0,0 +1 @@ +MD5 a08911965d81a02ded95ddb95f63e1cf avifile-0.7-0.7.41.tar.gz 3498203 |