diff options
author | Chris White <chriswhite@gentoo.org> | 2004-11-30 05:43:42 +0000 |
---|---|---|
committer | Chris White <chriswhite@gentoo.org> | 2004-11-30 05:43:42 +0000 |
commit | 771e2fa4eb5ec6415910a20d41f21b590d5af1a9 (patch) | |
tree | d44f7ab022af9113fa9bd001980b8d40287d96eb /media-video | |
parent | Back in ~sparc. (Manifest recommit) (diff) | |
download | gentoo-2-771e2fa4eb5ec6415910a20d41f21b590d5af1a9.tar.gz gentoo-2-771e2fa4eb5ec6415910a20d41f21b590d5af1a9.tar.bz2 gentoo-2-771e2fa4eb5ec6415910a20d41f21b590d5af1a9.zip |
Ebuild cleanup.
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/avifile/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/avifile/Manifest | 20 | ||||
-rw-r--r-- | media-video/avifile/avifile-0.7.32.20030219.ebuild | 156 | ||||
-rw-r--r-- | media-video/avifile/avifile-0.7.37.20030522-r2.ebuild | 173 | ||||
-rw-r--r-- | media-video/avifile/avifile-0.7.38.20030710.ebuild | 171 | ||||
-rw-r--r-- | media-video/avifile/avifile-0.7.41.20041001.ebuild | 157 | ||||
-rw-r--r-- | media-video/avifile/files/digest-avifile-0.7.32.20030219 | 1 | ||||
-rw-r--r-- | media-video/avifile/files/digest-avifile-0.7.37.20030522-r2 | 1 | ||||
-rw-r--r-- | media-video/avifile/files/digest-avifile-0.7.38.20030710 | 1 | ||||
-rw-r--r-- | media-video/avifile/files/digest-avifile-0.7.41.20041001 | 1 |
10 files changed, 12 insertions, 676 deletions
diff --git a/media-video/avifile/ChangeLog b/media-video/avifile/ChangeLog index 51b782d1e9e3..c2a3114e13a3 100644 --- a/media-video/avifile/ChangeLog +++ b/media-video/avifile/ChangeLog @@ -1,6 +1,11 @@ # 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.84 2004/11/26 11:25:59 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/ChangeLog,v 1.85 2004/11/30 05:43:41 chriswhite Exp $ + + 30 Nov 2004; Chris White <chriswhite@gentoo.org> + -avifile-0.7.32.20030219.ebuild, -avifile-0.7.37.20030522-r2.ebuild, + -avifile-0.7.38.20030710.ebuild, -avifile-0.7.41.20041001.ebuild: + Ebuild cleanup. 26 Nov 2004; Patrick Kursawe <phosphan@gentoo.org> avifile-0.7.41.20041001-r1.ebuild: diff --git a/media-video/avifile/Manifest b/media-video/avifile/Manifest index 5f0460858696..1c6d1a578d7e 100644 --- a/media-video/avifile/Manifest +++ b/media-video/avifile/Manifest @@ -1,24 +1,16 @@ -MD5 6d85afc659f23bb2adcebd144400833d avifile-0.7.38.20030710.ebuild 4488 +MD5 4e22bca9c22850a5e4e0b03d5a9f926a ChangeLog 14783 MD5 b80546f1e5f52f38abec15e91478e999 avifile-0.7.38.20030710-r1.ebuild 4008 -MD5 ab24ec7446ec73e983a093e98b7f99df avifile-0.7.32.20030219.ebuild 4062 -MD5 1baa65ea96f3b2ab8559450b2fbde876 avifile-0.7.41.20041001.ebuild 4284 MD5 8a616e9640f57a62152d26753245b610 avifile-0.7.41.20041001-r1.ebuild 4591 -MD5 4e22bca9c22850a5e4e0b03d5a9f926a ChangeLog 14783 MD5 76b95bd390c69f39e5e7b028b3ff69a5 metadata.xml 272 -MD5 f003a1fc700f9a79cf12c06d2ac3bedd avifile-0.7.37.20030522-r2.ebuild 4432 MD5 8390bf9de24635d667a5724c2cc0cbe9 files/avifile-0.7.37.20030522-divx.patch 11943 -MD5 c1a25bfd2234206e97e7b744c39c0d06 files/digest-avifile-0.7.37.20030522-r2 73 -MD5 88eda2a3289907201d524c557bd8a753 files/digest-avifile-0.7.32.20030219 73 MD5 7a55e6cb72df715c9b822505d5b4b8b0 files/avifile-0.7.38.20030710-2.6.patch 2038 MD5 624ac61f6a4fb9ed9700a7496f2827cb files/avifile-0.7.38.20030710-amd64.patch 466 -MD5 21e60c1838b04fa1990fe5538569ac4b files/digest-avifile-0.7.38.20030710-r1 71 -MD5 c5840e80e1a70f6b5ce25679e53f2dcb files/throw.patch 7396 -MD5 5c7a3ea4957036aa1da3db9880a3ed34 files/flvenc-patch 558 -MD5 f2e5938361909893d37d1ce0b80fdbfc files/avifile-x86-gcc34.patch 5247 -MD5 d0f665d4394d9d9a59c9a5dadeb09882 files/avifile-0.7.41.20041001-sparc.patch 1262 MD5 769b5c63369a3c1bc5b74abe591731fd files/avifile-0.7.38.20030710-sparc.patch 998 -MD5 f19f862b147fa314ed83d4b78e661a5d files/digest-avifile-0.7.41.20041001 71 -MD5 21e60c1838b04fa1990fe5538569ac4b files/digest-avifile-0.7.38.20030710 71 MD5 37a0170a523a26fd8a8c576c498b3641 files/avifile-0.7.41.20041001-gcc2.patch 1006 +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 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 diff --git a/media-video/avifile/avifile-0.7.32.20030219.ebuild b/media-video/avifile/avifile-0.7.32.20030219.ebuild deleted file mode 100644 index 331b528e5e05..000000000000 --- a/media-video/avifile/avifile-0.7.32.20030219.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# 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.32.20030219.ebuild,v 1.9 2004/07/14 21:30:10 agriffis Exp $ - -MY_P="${P/.200/-200}" -MY_S="${PN}0.7-0.7.32" -S="${WORKDIR}/${MY_S}" - -DESCRIPTION="Library for AVI-Files" -HOMEPAGE="http://avifile.sourceforge.net/" -SRC_URI="http://avifile.sourceforge.net/${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="0.7" -KEYWORDS="x86 ~sparc" -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-sound/madplay-0.14 - >=media-libs/xvid-0.9.0 - >=media-sound/lame-3.90 - >=media-libs/audiofile-0.2.3 - 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_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 - - if [ "$RUNTIME_LAME" = "YES" ]; then - myconf="${myconf} --enable-lame-bin" - 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-dir=${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 \ - ${myconf} || die - emake || die -} - -src_install() { - dodir /usr/lib /usr/bin - use avi && dodir /usr/lib/win32 - - einstall || die - - cd ${S} - dodoc COPYING README - cd doc - dodoc CREDITS EXCEPTIONS FreeBSD LICENSING TODO - dodoc VIDEO-PERFORMANCE WARNINGS -} - -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/avifile-0.7.37.20030522-r2.ebuild b/media-video/avifile/avifile-0.7.37.20030522-r2.ebuild deleted file mode 100644 index 4c219fc17bf6..000000000000 --- a/media-video/avifile/avifile-0.7.37.20030522-r2.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# 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.13 2004/07/14 21:30:10 agriffis 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/avifile-0.7.38.20030710.ebuild b/media-video/avifile/avifile-0.7.38.20030710.ebuild deleted file mode 100644 index 8a96bcbf112d..000000000000 --- a/media-video/avifile/avifile-0.7.38.20030710.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# 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.38.20030710.ebuild,v 1.19 2004/07/14 21:30:10 agriffis Exp $ - -inherit eutils - -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" -RESTRICT="nomirror" - -LICENSE="GPL-2" -SLOT="0.7" -KEYWORDS="x86 ~sparc amd64 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-20030428 - >=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 - >=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 - - epatch ${FILESDIR}/flvenc-patch - epatch ${FILESDIR}/${P}-2.6.patch - use amd64 && epatch ${FILESDIR}/${P}-amd64.patch - use sparc && epatch ${FILESDIR}/${P}-sparc.patch - epatch ${FILESDIR}/avifile-gcc34.patch - epatch ${FILESDIR}/avifile-x86-gcc34.patch -} - -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/avifile-0.7.41.20041001.ebuild b/media-video/avifile/avifile-0.7.41.20041001.ebuild deleted file mode 100644 index fceff815f87f..000000000000 --- a/media-video/avifile/avifile-0.7.41.20041001.ebuild +++ /dev/null @@ -1,157 +0,0 @@ -# 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.10 2004/11/16 08:51:01 phosphan 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 - epatch ${FILESDIR}/${PN}-${PV}-gcc2.patch - use sparc && epatch ${FILESDIR}/${P}-sparc.patch - rm -f avifile.pc - sed -i "/^includedir=/s:avifile$:avifile-${PV:0:3}:" avifile.pc.in \ - || die "sed failed (avifile.pc.in)" - sed -e "s:| sed s/-g//::" -i configure || die "sed failed (-g)" - # Fix qt detection - sed -i \ - -e "s:extern \"C\" void exit(int);:/* extern \"C\" void exit(int); */:" \ - configure || die "sed failed (qt detection)" - # Fix hardcoded Xrender linking, bug #68899 - if ! use X; then - sed -e 's/-lXrender//g' -i lib/video/Makefile.* \ - || die "sed failed (Xrender)" - fi - -} - -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" - - 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.32.20030219 b/media-video/avifile/files/digest-avifile-0.7.32.20030219 deleted file mode 100644 index 4ffd520c0b71..000000000000 --- a/media-video/avifile/files/digest-avifile-0.7.32.20030219 +++ /dev/null @@ -1 +0,0 @@ -MD5 352cd26ecb703bc0f0702bb6df5fa094 avifile-0.7.32-20030219.tgz 2740934 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 deleted file mode 100644 index decb06dd70e4..000000000000 --- a/media-video/avifile/files/digest-avifile-0.7.37.20030522-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 074bd003318128e433dd96a64c80b776 avifile-0.7.37-20030522.tgz 2862210 diff --git a/media-video/avifile/files/digest-avifile-0.7.38.20030710 b/media-video/avifile/files/digest-avifile-0.7.38.20030710 deleted file mode 100644 index e51b0d7555f8..000000000000 --- a/media-video/avifile/files/digest-avifile-0.7.38.20030710 +++ /dev/null @@ -1 +0,0 @@ -MD5 db90c4bc0a8a8182b1ec084feca86bbb avifile-0.7-0.7.38.tar.gz 2888580 diff --git a/media-video/avifile/files/digest-avifile-0.7.41.20041001 b/media-video/avifile/files/digest-avifile-0.7.41.20041001 deleted file mode 100644 index 019a69ee1a1c..000000000000 --- a/media-video/avifile/files/digest-avifile-0.7.41.20041001 +++ /dev/null @@ -1 +0,0 @@ -MD5 a08911965d81a02ded95ddb95f63e1cf avifile-0.7-0.7.41.tar.gz 3498203 |