diff options
author | Alexis Ballier <aballier@gentoo.org> | 2010-12-22 02:13:24 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2010-12-22 02:13:24 +0000 |
commit | 27f93fbb8bdd798fc86d4f5298b06db0550851f3 (patch) | |
tree | 89b8ed24a005a2c3d0c3b60696f5f959214cc502 /media-libs/x264 | |
parent | remove old (diff) | |
download | gentoo-2-27f93fbb8bdd798fc86d4f5298b06db0550851f3.tar.gz gentoo-2-27f93fbb8bdd798fc86d4f5298b06db0550851f3.tar.bz2 gentoo-2-27f93fbb8bdd798fc86d4f5298b06db0550851f3.zip |
remove old
(Portage version: 2.2.0_alpha9/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/x264')
-rw-r--r-- | media-libs/x264/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/x264/files/x264-onlylib-20080406.patch | 26 | ||||
-rw-r--r-- | media-libs/x264/files/x264-onlylib-20090408.patch | 28 | ||||
-rw-r--r-- | media-libs/x264/x264-0.0.20081006.ebuild | 58 | ||||
-rw-r--r-- | media-libs/x264/x264-0.0.20090502.ebuild | 58 | ||||
-rw-r--r-- | media-libs/x264/x264-0.0.20090629.ebuild | 58 | ||||
-rw-r--r-- | media-libs/x264/x264-0.0.20090908.ebuild | 61 | ||||
-rw-r--r-- | media-libs/x264/x264-0.0.20091021.ebuild | 60 | ||||
-rw-r--r-- | media-libs/x264/x264-0.0.20091124.ebuild | 60 | ||||
-rw-r--r-- | media-libs/x264/x264-0.0.20100118.ebuild | 61 | ||||
-rw-r--r-- | media-libs/x264/x264-0.0.20100423.ebuild | 61 |
11 files changed, 9 insertions, 532 deletions
diff --git a/media-libs/x264/ChangeLog b/media-libs/x264/ChangeLog index e6f3974f01a2..602c46541a65 100644 --- a/media-libs/x264/ChangeLog +++ b/media-libs/x264/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-libs/x264 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v 1.44 2010/12/09 16:03:49 rich0 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v 1.45 2010/12/22 02:13:13 aballier Exp $ + + 22 Dec 2010; Alexis Ballier <aballier@gentoo.org> -x264-0.0.20081006.ebuild, + -x264-0.0.20090502.ebuild, -x264-0.0.20090629.ebuild, + -x264-0.0.20090908.ebuild, -x264-0.0.20091021.ebuild, + -x264-0.0.20091124.ebuild, -x264-0.0.20100118.ebuild, + -x264-0.0.20100423.ebuild, -files/x264-onlylib-20080406.patch, + -files/x264-onlylib-20090408.patch: + remove old 09 Dec 2010; Richard Freeman <rich0@gentoo.org> x264-0.0.20101029.ebuild: amd64 stable - 347625 diff --git a/media-libs/x264/files/x264-onlylib-20080406.patch b/media-libs/x264/files/x264-onlylib-20080406.patch deleted file mode 100644 index 3585ee675b70..000000000000 --- a/media-libs/x264/files/x264-onlylib-20080406.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- x264.orig/Makefile 2008-04-07 21:55:13.000000000 +0200 -+++ x264-snapshot-20080406-2245/Makefile 2008-04-07 21:57:25.000000000 +0200 -@@ -69,7 +69,7 @@ - - .PHONY: all default fprofiled clean distclean install install-gtk uninstall dox test testclean - --default: $(DEP) x264$(EXE) -+default: $(DEP) - - libx264.a: .depend $(OBJS) $(OBJASM) - ar rc libx264.a $(OBJS) $(OBJASM) -@@ -148,13 +148,12 @@ - rm -rf test/ - $(MAKE) -C gtk distclean - --install: x264$(EXE) $(SONAME) -+install: libx264.a $(SONAME) - install -d $(DESTDIR)$(bindir) $(DESTDIR)$(includedir) - install -d $(DESTDIR)$(libdir) $(DESTDIR)$(libdir)/pkgconfig - install -m 644 x264.h $(DESTDIR)$(includedir) - install -m 644 libx264.a $(DESTDIR)$(libdir) - install -m 644 x264.pc $(DESTDIR)$(libdir)/pkgconfig -- install x264$(EXE) $(DESTDIR)$(bindir) - ranlib $(DESTDIR)$(libdir)/libx264.a - ifeq ($(SYS),MINGW) - $(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(bindir)) diff --git a/media-libs/x264/files/x264-onlylib-20090408.patch b/media-libs/x264/files/x264-onlylib-20090408.patch deleted file mode 100644 index 19b5fb4d85cd..000000000000 --- a/media-libs/x264/files/x264-onlylib-20090408.patch +++ /dev/null @@ -1,28 +0,0 @@ -Index: x264-snapshot-20090408-2245/Makefile -=================================================================== ---- x264-snapshot-20090408-2245.orig/Makefile -+++ x264-snapshot-20090408-2245/Makefile -@@ -71,7 +71,7 @@ DEP = depend - - .PHONY: all default fprofiled clean distclean install uninstall dox test testclean - --default: $(DEP) x264$(EXE) -+default: $(DEP) - - libx264.a: .depend $(OBJS) $(OBJASM) - $(AR) rc libx264.a $(OBJS) $(OBJASM) -@@ -143,13 +143,12 @@ distclean: clean - rm -f config.mak config.h x264.pc - rm -rf test/ - --install: x264$(EXE) $(SONAME) -+install: libx264.a $(SONAME) - install -d $(DESTDIR)$(bindir) $(DESTDIR)$(includedir) - install -d $(DESTDIR)$(libdir) $(DESTDIR)$(libdir)/pkgconfig - install -m 644 x264.h $(DESTDIR)$(includedir) - install -m 644 libx264.a $(DESTDIR)$(libdir) - install -m 644 x264.pc $(DESTDIR)$(libdir)/pkgconfig -- install x264$(EXE) $(DESTDIR)$(bindir) - $(RANLIB) $(DESTDIR)$(libdir)/libx264.a - ifeq ($(SYS),MINGW) - $(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(bindir)) diff --git a/media-libs/x264/x264-0.0.20081006.ebuild b/media-libs/x264/x264-0.0.20081006.ebuild deleted file mode 100644 index 0be6d0279fcb..000000000000 --- a/media-libs/x264/x264-0.0.20081006.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20081006.ebuild,v 1.8 2008/12/20 22:47:24 fmccor Exp $ - -EAPI="1" -inherit multilib eutils toolchain-funcs versionator - -MY_P="x264-snapshot-$(get_version_component_range 3)-2245" - -DESCRIPTION="A free library for encoding X264/AVC streams" -HOMEPAGE="http://www.videolan.org/developers/x264.html" -SRC_URI="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="alpha amd64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="debug +threads" - -RDEPEND="" -DEPEND="amd64? ( >=dev-lang/yasm-0.6.2 ) - x86? ( >=dev-lang/yasm-0.6.2 ) - x86-fbsd? ( >=dev-lang/yasm-0.6.2 )" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${PN}-nostrip.patch" - epatch "${FILESDIR}/${PN}-onlylib-20080406.patch" -} - -src_compile() { - local myconf="" - use debug && myconf="${myconf} --enable-debug" - ./configure --prefix=/usr \ - --libdir=/usr/$(get_libdir) \ - --enable-pic --enable-shared \ - "--extra-cflags=${CFLAGS}" \ - "--extra-ldflags=${LDFLAGS}" \ - "--extra-asflags=${ASFLAGS}" \ - "--host=${CHOST}" \ - $(use_enable threads pthread) \ - ${myconf} \ - --disable-mp4-output \ - || die "configure failed" - emake CC="$(tc-getCC)" || die "make failed" -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc AUTHORS doc/*.txt -} - -pkg_postinst() { - elog "Please note that this package now only installs" - elog "${PN} libraries. In order to have the encoder," - elog "please emerge media-video/x264-encoder." -} diff --git a/media-libs/x264/x264-0.0.20090502.ebuild b/media-libs/x264/x264-0.0.20090502.ebuild deleted file mode 100644 index 43dde69be86b..000000000000 --- a/media-libs/x264/x264-0.0.20090502.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20090502.ebuild,v 1.1 2009/05/03 20:08:47 aballier Exp $ - -EAPI="1" -inherit multilib eutils toolchain-funcs versionator - -MY_P="x264-snapshot-$(get_version_component_range 3)-2245" - -DESCRIPTION="A free library for encoding X264/AVC streams" -HOMEPAGE="http://www.videolan.org/developers/x264.html" -SRC_URI="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="debug +threads" - -RDEPEND="" -DEPEND="amd64? ( >=dev-lang/yasm-0.6.2 ) - x86? ( >=dev-lang/yasm-0.6.2 ) - x86-fbsd? ( >=dev-lang/yasm-0.6.2 )" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${PN}-nostrip.patch" - epatch "${FILESDIR}/${PN}-onlylib-20090408.patch" -} - -src_compile() { - local myconf="" - use debug && myconf="${myconf} --enable-debug" - ./configure --prefix=/usr \ - --libdir=/usr/$(get_libdir) \ - --enable-pic --enable-shared \ - "--extra-cflags=${CFLAGS}" \ - "--extra-ldflags=${LDFLAGS}" \ - "--extra-asflags=${ASFLAGS}" \ - "--host=${CHOST}" \ - $(use_enable threads pthread) \ - ${myconf} \ - --disable-mp4-output \ - || die "configure failed" - emake CC="$(tc-getCC)" || die "make failed" -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc AUTHORS doc/*.txt -} - -pkg_postinst() { - elog "Please note that this package now only installs" - elog "${PN} libraries. In order to have the encoder," - elog "please emerge media-video/x264-encoder." -} diff --git a/media-libs/x264/x264-0.0.20090629.ebuild b/media-libs/x264/x264-0.0.20090629.ebuild deleted file mode 100644 index 642e9e0f5975..000000000000 --- a/media-libs/x264/x264-0.0.20090629.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20090629.ebuild,v 1.1 2009/06/29 21:37:28 aballier Exp $ - -EAPI="1" -inherit multilib eutils toolchain-funcs versionator - -MY_P="x264-snapshot-$(get_version_component_range 3)-2245" - -DESCRIPTION="A free library for encoding X264/AVC streams" -HOMEPAGE="http://www.videolan.org/developers/x264.html" -SRC_URI="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="debug +threads" - -RDEPEND="" -DEPEND="amd64? ( >=dev-lang/yasm-0.6.2 ) - x86? ( >=dev-lang/yasm-0.6.2 ) - x86-fbsd? ( >=dev-lang/yasm-0.6.2 )" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${PN}-nostrip.patch" - epatch "${FILESDIR}/${PN}-onlylib-20090408.patch" -} - -src_compile() { - local myconf="" - use debug && myconf="${myconf} --enable-debug" - ./configure --prefix=/usr \ - --libdir=/usr/$(get_libdir) \ - --enable-pic --enable-shared \ - "--extra-cflags=${CFLAGS}" \ - "--extra-ldflags=${LDFLAGS}" \ - "--extra-asflags=${ASFLAGS}" \ - "--host=${CHOST}" \ - $(use_enable threads pthread) \ - ${myconf} \ - --disable-mp4-output \ - || die "configure failed" - emake CC="$(tc-getCC)" || die "make failed" -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc AUTHORS doc/*.txt -} - -pkg_postinst() { - elog "Please note that this package now only installs" - elog "${PN} libraries. In order to have the encoder," - elog "please emerge media-video/x264-encoder." -} diff --git a/media-libs/x264/x264-0.0.20090908.ebuild b/media-libs/x264/x264-0.0.20090908.ebuild deleted file mode 100644 index b5162e64b7c4..000000000000 --- a/media-libs/x264/x264-0.0.20090908.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20090908.ebuild,v 1.1 2009/09/09 08:57:19 ssuominen Exp $ - -EAPI=2 -inherit eutils multilib toolchain-funcs versionator - -MY_P=x264-snapshot-$(get_version_component_range 3)-2245 - -DESCRIPTION="A free library for encoding X264/AVC streams" -HOMEPAGE="http://www.videolan.org/developers/x264.html" -SRC_URI="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="debug +threads" -# pic - -RDEPEND="" -DEPEND="amd64? ( >=dev-lang/yasm-0.6.2 ) - x86? ( >=dev-lang/yasm-0.6.2 ) - x86-fbsd? ( >=dev-lang/yasm-0.6.2 )" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-nostrip.patch \ - "${FILESDIR}"/${PN}-onlylib-20090408.patch -} - -src_configure() { - tc-export CC - - local myconf="" - use debug && myconf="${myconf} --enable-debug" - -# if use x86 && use pic; then -# myconf="${myconf} --disable-asm" -# fi - - ./configure \ - --prefix=/usr \ - --libdir=/usr/$(get_libdir) \ - --disable-avis-input \ - --disable-mp4-output \ - $(use_enable threads pthread) \ - --enable-pic \ - --enable-shared \ - --extra-asflags="${ASFLAGS}" \ - --extra-cflags="${CFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - --host="${CHOST}" \ - ${myconf} \ - || die -} - -src_install() { - emake DESTDIR="${D}" install || die - dodoc AUTHORS doc/*.txt -} diff --git a/media-libs/x264/x264-0.0.20091021.ebuild b/media-libs/x264/x264-0.0.20091021.ebuild deleted file mode 100644 index 5d7598d832f8..000000000000 --- a/media-libs/x264/x264-0.0.20091021.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20091021.ebuild,v 1.7 2010/01/31 17:30:38 armin76 Exp $ - -EAPI=2 -inherit eutils multilib toolchain-funcs versionator - -MY_P=x264-snapshot-$(get_version_component_range 3)-2245 - -DESCRIPTION="A free library for encoding X264/AVC streams" -HOMEPAGE="http://www.videolan.org/developers/x264.html" -SRC_URI="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="debug +threads pic" - -RDEPEND="" -DEPEND="amd64? ( >=dev-lang/yasm-0.6.2 ) - x86? ( >=dev-lang/yasm-0.6.2 ) - x86-fbsd? ( >=dev-lang/yasm-0.6.2 )" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-nostrip.patch \ - "${FILESDIR}"/${PN}-onlylib-20090408.patch -} - -src_configure() { - tc-export CC - - local myconf="" - use debug && myconf="${myconf} --enable-debug" - - if use x86 && use pic; then - myconf="${myconf} --disable-asm" - fi - - ./configure \ - --prefix=/usr \ - --libdir=/usr/$(get_libdir) \ - --disable-avis-input \ - --disable-mp4-output \ - $(use_enable threads pthread) \ - --enable-pic \ - --enable-shared \ - --extra-asflags="${ASFLAGS}" \ - --extra-cflags="${CFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - --host="${CHOST}" \ - ${myconf} \ - || die -} - -src_install() { - emake DESTDIR="${D}" install || die - dodoc AUTHORS doc/*.txt -} diff --git a/media-libs/x264/x264-0.0.20091124.ebuild b/media-libs/x264/x264-0.0.20091124.ebuild deleted file mode 100644 index 14361f629759..000000000000 --- a/media-libs/x264/x264-0.0.20091124.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20091124.ebuild,v 1.1 2009/11/26 03:50:14 beandog Exp $ - -EAPI=2 -inherit eutils multilib toolchain-funcs versionator - -MY_P=x264-snapshot-$(get_version_component_range 3)-2245 - -DESCRIPTION="A free library for encoding X264/AVC streams" -HOMEPAGE="http://www.videolan.org/developers/x264.html" -SRC_URI="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="debug +threads pic" - -RDEPEND="" -DEPEND="amd64? ( >=dev-lang/yasm-0.6.2 ) - x86? ( >=dev-lang/yasm-0.6.2 ) - x86-fbsd? ( >=dev-lang/yasm-0.6.2 )" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-nostrip.patch \ - "${FILESDIR}"/${PN}-onlylib-20090408.patch -} - -src_configure() { - tc-export CC - - local myconf="" - use debug && myconf="${myconf} --enable-debug" - - if use x86 && use pic; then - myconf="${myconf} --disable-asm" - fi - - ./configure \ - --prefix=/usr \ - --libdir=/usr/$(get_libdir) \ - --disable-avis-input \ - --disable-mp4-output \ - $(use_enable threads pthread) \ - --enable-pic \ - --enable-shared \ - --extra-asflags="${ASFLAGS}" \ - --extra-cflags="${CFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - --host="${CHOST}" \ - ${myconf} \ - || die -} - -src_install() { - emake DESTDIR="${D}" install || die - dodoc AUTHORS doc/*.txt -} diff --git a/media-libs/x264/x264-0.0.20100118.ebuild b/media-libs/x264/x264-0.0.20100118.ebuild deleted file mode 100644 index 54bfa560c3e4..000000000000 --- a/media-libs/x264/x264-0.0.20100118.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20100118.ebuild,v 1.1 2010/01/19 11:38:30 aballier Exp $ - -EAPI=2 -inherit eutils multilib toolchain-funcs versionator - -MY_P=x264-snapshot-$(get_version_component_range 3)-2245 - -DESCRIPTION="A free library for encoding X264/AVC streams" -HOMEPAGE="http://www.videolan.org/developers/x264.html" -SRC_URI="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="debug +threads pic" - -RDEPEND="" -DEPEND="amd64? ( >=dev-lang/yasm-0.6.2 ) - x86? ( >=dev-lang/yasm-0.6.2 ) - x86-fbsd? ( >=dev-lang/yasm-0.6.2 )" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-nostrip.patch \ - "${FILESDIR}"/${PN}-onlylib-20090408.patch -} - -src_configure() { - tc-export CC - - local myconf="" - use debug && myconf="${myconf} --enable-debug" - - if use x86 && use pic; then - myconf="${myconf} --disable-asm" - fi - - ./configure \ - --prefix=/usr \ - --libdir=/usr/$(get_libdir) \ - --disable-avs-input \ - --disable-lavf-input \ - --disable-mp4-output \ - $(use_enable threads pthread) \ - --enable-pic \ - --enable-shared \ - --extra-asflags="${ASFLAGS}" \ - --extra-cflags="${CFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - --host="${CHOST}" \ - ${myconf} \ - || die -} - -src_install() { - emake DESTDIR="${D}" install || die - dodoc AUTHORS doc/*.txt -} diff --git a/media-libs/x264/x264-0.0.20100423.ebuild b/media-libs/x264/x264-0.0.20100423.ebuild deleted file mode 100644 index 25860e369327..000000000000 --- a/media-libs/x264/x264-0.0.20100423.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20100423.ebuild,v 1.1 2010/04/24 15:46:48 aballier Exp $ - -EAPI=2 -inherit eutils multilib toolchain-funcs versionator - -MY_P=x264-snapshot-$(get_version_component_range 3)-2245 - -DESCRIPTION="A free library for encoding X264/AVC streams" -HOMEPAGE="http://www.videolan.org/developers/x264.html" -SRC_URI="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="debug +threads pic" - -RDEPEND="" -DEPEND="amd64? ( >=dev-lang/yasm-0.6.2 ) - x86? ( >=dev-lang/yasm-0.6.2 ) - x86-fbsd? ( >=dev-lang/yasm-0.6.2 )" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-nostrip.patch \ - "${FILESDIR}"/${PN}-onlylib-20090408.patch -} - -src_configure() { - tc-export CC - - local myconf="" - use debug && myconf="${myconf} --enable-debug" - - if use x86 && use pic; then - myconf="${myconf} --disable-asm" - fi - - ./configure \ - --prefix=/usr \ - --libdir=/usr/$(get_libdir) \ - --disable-avs-input \ - --disable-lavf-input \ - --disable-mp4-output \ - $(use_enable threads pthread) \ - --enable-pic \ - --enable-shared \ - --extra-asflags="${ASFLAGS}" \ - --extra-cflags="${CFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - --host="${CHOST}" \ - ${myconf} \ - || die -} - -src_install() { - emake DESTDIR="${D}" install || die - dodoc AUTHORS doc/*.txt -} |