diff options
author | Benda Xu <heroxbd@gentoo.org> | 2012-05-18 17:36:48 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2012-05-18 17:36:48 +0900 |
commit | fb26a5c2df5e1fde31491ebeff69112712008353 (patch) | |
tree | 2f8414516404877c9df8e29df0c2b2536ab2bd5c /media-libs | |
download | android-fb26a5c2df5e1fde31491ebeff69112712008353.tar.gz android-fb26a5c2df5e1fde31491ebeff69112712008353.tar.bz2 android-fb26a5c2df5e1fde31491ebeff69112712008353.zip |
initial commit
Diffstat (limited to 'media-libs')
32 files changed, 1938 insertions, 0 deletions
diff --git a/media-libs/ftgl/ChangeLog b/media-libs/ftgl/ChangeLog new file mode 100644 index 0000000..4da23db --- /dev/null +++ b/media-libs/ftgl/ChangeLog @@ -0,0 +1,121 @@ +# ChangeLog for media-libs/ftgl +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/ftgl/ChangeLog,v 1.34 2010/10/10 15:47:54 armin76 Exp $ + + 10 Oct 2010; Raúl Porcel <armin76@gentoo.org> ftgl-2.1.3_rc5.ebuild: + arm/ia64/sh stable + + 16 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org> + ftgl-2.1.3_rc5.ebuild: + virtual/glut -> media-libs/glut + + 08 Aug 2010; Raúl Porcel <armin76@gentoo.org> ftgl-2.1.3_rc5.ebuild: + Add ~ia64 wrt #329389 + + 23 Jul 2010; Markus Meier <maekke@gentoo.org> ftgl-2.1.3_rc5.ebuild: + add ~arm, bug #329389 + + 10 Aug 2009; Tobias Klausmann <klausman@gentoo.org> ftgl-2.1.3_rc5.ebuild: + Stable on alpha, bug #266937 + + 23 Jul 2009; Joseph Jezak <josejx@gentoo.org> ftgl-2.1.3_rc5.ebuild: + Marked ppc/ppc64 stable. + + 29 Jun 2009; Ferris McCormick <fmccor@gentoo.org> ftgl-2.1.3_rc5.ebuild: + Sparc stable, required for bug #255229. + + 02 Jun 2009; Jeroen Roovers <jer@gentoo.org> ftgl-2.1.3_rc5.ebuild: + Stable for HPPA (bug #255229). + + 09 Mar 2009; Raúl Porcel <armin76@gentoo.org> ftgl-2.1.3_rc5.ebuild: + x86 stable wrt #245293 + + 07 Mar 2009; Jeremy Olexa <darkside@gentoo.org> ftgl-2.1.3_rc5.ebuild: + amd64 stable, bug 245293 + + 24 Nov 2008; Tupone Alfredo <tupone@gentoo.org> + files/ftgl-2.1.3_rc5-gentoo.patch: + Fix bug #248589 reported by mathwizard@gmx.de + +*ftgl-2.1.3_rc5 (23 Nov 2008) + + 23 Nov 2008; Tupone Alfredo <tupone@gentoo.org> + +files/ftgl-2.1.3_rc5-gentoo.patch, +ftgl-2.1.3_rc5.ebuild: + Version bump to 2.1.3_rc5. Bug #234831 by Tomáš Chvátal + + 30 Mar 2008; <ricmm@gentoo.org> ftgl-2.1.2-r1.ebuild: + Drop to ~mips due to unstable deps + +*ftgl-2.1.2-r2 (05 Jan 2008) + + 05 Jan 2008; Michael Sterrett <mr_bones_@gentoo.org> + +files/ftgl-2.1.2-configure.ac.patch, +files/ftgl-2.1.2-ftgl.pc.in.patch, + +ftgl-2.1.2-r2.ebuild: + add patch from Cedric Pinson to correct version in .pc file (bug #171047) + + 27 Dec 2007; Michael Sterrett <mr_bones_@gentoo.org> ftgl-2.1.2-r1.ebuild: + license should have been LGPL-2 (bug #174440) + + 25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml: + Removing seemant from metadata.xml as per #202469. + + 23 Oct 2007; Jeroen Roovers <jer@gentoo.org> ftgl-2.1.2-r1.ebuild: + Stable for HPPA too (audacious-plugins). + + 27 Jul 2007; Seemant Kulleen <seemant@gentoo.org> ftgl-2.1.2-r1.ebuild: + changing the WANT_AUTOMAKE to latest as well, now, as it's reported to be + working by Renato Caldas in bug #186782 + + 15 Jun 2007; Joshua Kinard <kumba@gentoo.org> ftgl-2.1.2-r1.ebuild: + Stable on mips. + + 27 Feb 2007; Javier Villavicencio <the_paya@gentoo.org> + ftgl-2.1.2-r1.ebuild: + Added ~x86-fbsd keyword. + + 26 Feb 2007; Jeroen Roovers <jer@gentoo.org> ftgl-2.1.2-r1.ebuild: + Marked ~hppa (bug #168465). + + 22 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org> ftgl-2.1.2-r1.ebuild: + Stable on sparc + + 20 Oct 2006; Bryan Østergaard <kloeri@gentoo.org> ftgl-2.1.2-r1.ebuild: + Stable on Alpha. + + 03 Oct 2006; Daniel Drake <dsd@gentoo.org> ftgl-2.1.2-r1.ebuild: + Fix no-multilib issues arising from ancient libtool + + 08 Sep 2006; Thomas Cort <tcort@gentoo.org> ftgl-2.1.2-r1.ebuild: + Added ~alpha keyword. + + 25 Jul 2006; Michael Sterrett <mr_bones_@gentoo.org> ftgl-2.1.2-r1.ebuild: + strip-flags since ftgl is sensitive - bug #112820 + + 07 May 2006; Markus Rothe <corsair@gentoo.org> ftgl-2.1.2-r1.ebuild: + Stable on ppc64 + + 02 Feb 2006; Joshua Baergen <joshuabaergen@gentoo.org> + +files/ftgl-2.1.2-gcc41.patch, ftgl-2.1.2-r1.ebuild: + Add a GCC 4.1 compile fix per #120835. + + 10 Dec 2005; Tom Gall <tgall@gentoo.org> ftgl-2.1.2-r1.ebuild: + added ~ppc64 + +*ftgl-2.1.2-r1 (04 Nov 2005) + + 04 Nov 2005; Seemant Kulleen <seemant@gentoo.org> +ftgl-2.1.2-r1.ebuild: + now it actually installs the shared library thanks to ilya kriveshko, and + libtool fixes, thanks to az. + + 12 Jun 2005; Marcus D. Hanwell <marcus@gentoo.org> ftgl-2.1.2.ebuild: + Stable on amd64. + + 07 Apr 2005; Marcus D. Hanwell <cryos@gentoo.org> ftgl-2.1.2.ebuild: + Marked ~amd64. + +*ftgl-2.1.2 (17 Dec 2004) + + 17 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org> + +files/2.1.2-ftgl.pc.in.patch, +ftgl-2.1.2.ebuild: + initial commit - ebuild provided by Jordi Vilalta via bug #47048 + diff --git a/media-libs/ftgl/Manifest b/media-libs/ftgl/Manifest new file mode 100644 index 0000000..ea7aa30 --- /dev/null +++ b/media-libs/ftgl/Manifest @@ -0,0 +1,5 @@ +AUX ftgl-2.1.3_rc5-gentoo.patch 1399 SHA1 48c85d76ae5d812b70310d0cd365d838b502dad6 SHA256 1c5d8e3e0d37db1174bc00e9876c306fbda1491ec6216c5bd3f3e2856d629f58 +DIST ftgl-2.1.3-rc5.tar.bz2 707854 RMD160 4b66577f1864509982561f447de5bc15045da3d5 SHA1 8508f26c84001d7bc949246affa03744fa1fd22e SHA256 521ff7bd62c459ff5372e269c223e2a6107a6a99a36afdc2ae634a973af70c59 +EBUILD ftgl-2.1.3_rc5.ebuild 1093 SHA1 bf2d2a6082e664857588ff5b090a8a3f4994e923 SHA256 085d08c8e0f1d6cfc7e6a8c072e00cbdeeba11e6dfa8b0ce655eb5b65f3cae6c +MISC ChangeLog 4240 SHA1 30e436677e41e98781ce512295ffe493ec6aeab7 SHA256 923b0ae347fd02fa0e54cf5bd65ccded5fb67e807e8a480aa839ec03a3b01961 +MISC metadata.xml 159 SHA1 e8d4e28f664e8bd524cb04b5077852adc2f57d90 SHA256 a222ada7640e6dfb21d27151813829e91a72a6878d809dfddaa41581455f6b69 diff --git a/media-libs/ftgl/files/ftgl-2.1.3_rc5-gentoo.patch b/media-libs/ftgl/files/ftgl-2.1.3_rc5-gentoo.patch new file mode 100644 index 0000000..43571d5 --- /dev/null +++ b/media-libs/ftgl/files/ftgl-2.1.3_rc5-gentoo.patch @@ -0,0 +1,42 @@ +--- configure.ac.old 2008-11-21 14:41:15.000000000 +0100 ++++ configure.ac 2008-11-21 14:44:19.000000000 +0100 +@@ -64,19 +64,11 @@ + CFLAGS="${CFLAGS} -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs" + + # Build HTML documentatin? +-AC_PATH_PROG(DOXYGEN, doxygen, no) ++DOXYGEN="no" + AM_CONDITIONAL(HAVE_DOXYGEN, test "x$DOXYGEN" != "xno") + + # Build PDF documentation? +-AC_PATH_PROG(LATEX, pdflatex, no) +-AC_PATH_PROG(KPSEWHICH, kpsewhich, no) +-AC_PATH_PROG(DVIPS, dvips, no) +-AC_PATH_PROG(CONVERT, convert, no) +-AC_PATH_PROG(EPSTOPDF, epstopdf, no) +-if test "${DVIPS}" = "no" -o "${KPSEWHICH}" = "no" -o "${EPSTOPDF}" = "no" \ +- -o "${CONVERT}" = "no"; then + LATEX="no" +-fi + if test "x${LATEX}" != "xno"; then + AC_MSG_CHECKING(for a4.sty and a4wide.sty) + if "${KPSEWHICH}" a4.sty >/dev/null 2>&1; then +--- Makefile.am.old 2008-11-24 22:35:16.000000000 +0100 ++++ Makefile.am 2008-11-24 22:36:32.000000000 +0100 +@@ -24,16 +24,6 @@ + m4 \ + $(NULL) + +-# Print out an informative summary. +-all-local: +- @$(ECHO) "Done." +- @$(ECHO) +- @if test "x$(MAKECMDGOALS)" = "xall-am" -o "x$(.TARGETS)" = "xall-am" -o "x$(MAKECMDGOALS)" = "x" -o "x$(.TARGETS)" = "x" ; then \ +- $(ECHO) "---" ;\ +- $(ECHO) "Run 'make install' to begin installation into $(prefix)" ;\ +- fi +- @$(ECHO) +- + # Upload documentation + DOC = docs/html docs/latex/ftgl.pdf + HOST = ftgl.sf.net diff --git a/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild b/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild new file mode 100644 index 0000000..a0584eb --- /dev/null +++ b/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild,v 1.14 2010/10/10 15:47:54 armin76 Exp $ + +inherit eutils flag-o-matic autotools + +MY_PV=${PV/_/-} +MY_PV2=${PV/_/\~} +MY_P=${PN}-${MY_PV} +MY_P2=${PN}-${MY_PV2} + +DESCRIPTION="library to use arbitrary fonts in OpenGL applications" +HOMEPAGE="http://ftgl.wiki.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64-linux ~x86-linux" +IUSE="" + +DEPEND=">=media-libs/freetype-2.0.9 + virtual/opengl + virtual/glu + media-libs/freeglut" + +S=${WORKDIR}/${MY_P2} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gentoo.patch + AT_M4DIR=m4 eautoreconf +} + +src_compile() { + strip-flags # ftgl is sensitive - bug #112820 + econf + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + rm -rf "${ED}"/usr/share/doc/ftgl + dodoc AUTHORS BUGS ChangeLog INSTALL NEWS README TODO \ + docs/projects_using_ftgl.txt +} diff --git a/media-libs/ftgl/metadata.xml b/media-libs/ftgl/metadata.xml new file mode 100644 index 0000000..cad5a2a --- /dev/null +++ b/media-libs/ftgl/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> +</pkgmetadata> diff --git a/media-libs/libafterimage/ChangeLog b/media-libs/libafterimage/ChangeLog new file mode 100644 index 0000000..12c4a54 --- /dev/null +++ b/media-libs/libafterimage/ChangeLog @@ -0,0 +1,131 @@ +# ChangeLog for media-libs/libafterimage +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libafterimage/ChangeLog,v 1.31 2011/03/28 18:07:53 bicatali Exp $ + + 28 Mar 2011; Sébastien Fabbro <bicatali@gentoo.org> + libafterimage-1.20.ebuild, +files/libafterimage-gif.patch: + Proper libgif unbundling + +*libafterimage-1.20 (28 Feb 2011) + + 28 Feb 2011; Sébastien Fabbro <bicatali@gentoo.org> + +libafterimage-1.20.ebuild: + Version bump + + 11 Nov 2010; Samuli Suominen <ssuominen@gentoo.org> + libafterimage-1.18-r1.ebuild: + Use virtual/jpeg wrt #327487. + + 14 Apr 2010; Bernard Cafarelli <voyageur@gentoo.org> metadata.xml: + Move to afterstep herd + + 28 Oct 2009; Sébastien Fabbro <bicatali@gentoo.org> + libafterimage-1.18-r1.ebuild: + Added xextproto as build dependency (bug #290673). Switched to EAPI=2 + + 04 Apr 2009; Markus Meier <maekke@gentoo.org> + -files/libafterimage-1.15-examples.patch, + -files/libafterimage-examples.patch, -libafterimage-1.07.ebuild, + -libafterimage-1.15.ebuild, -libafterimage-1.18.ebuild: + old + + 25 Mar 2009; Raúl Porcel <armin76@gentoo.org> + libafterimage-1.18-r1.ebuild: + ia64/sparc stable wrt #262418 + + 21 Mar 2009; Jeroen Roovers <jer@gentoo.org> libafterimage-1.18-r1.ebuild: + Stable for HPPA (bug #262418). + + 18 Mar 2009; Brent Baude <ranger@gentoo.org> libafterimage-1.18-r1.ebuild: + stable ppc, bug 262418 + + 15 Mar 2009; Tobias Klausmann <klausman@gentoo.org> + libafterimage-1.18-r1.ebuild: + Stable on alpha, bug #262418 + + 15 Mar 2009; Brent Baude <ranger@gentoo.org> libafterimage-1.18-r1.ebuild: + stable ppc64, bug 262418 + + 14 Mar 2009; Markus Meier <maekke@gentoo.org> + libafterimage-1.18-r1.ebuild: + amd64/x86 stable, bug #262418 + +*libafterimage-1.18-r1 (17 Jan 2009) + + 17 Jan 2009; Markus Meier <maekke@gentoo.org> + +files/libafterimage-1.18-glx.patch, +libafterimage-1.18-r1.ebuild: + fix x11-terms/rxvt-unicode segfault by Martin von Gagern in bug #252651; + don't use internal copy of libungif wrt bug #252917 + + 13 Dec 2008; Alexis Ballier <aballier@gentoo.org> + +files/libafterimage-1.18-recmake_bsd.patch, libafterimage-1.18.ebuild: + fix build on fbsd and keyword it x86-fbsd, bug #210965 + +*libafterimage-1.18 (04 Jul 2008) + + 04 Jul 2008; Sébastien Fabbro <bicatali@gentoo.org> + +libafterimage-1.18.ebuild: + Version bump + + 08 Apr 2008; Raúl Porcel <armin76@gentoo.org> libafterimage-1.15.ebuild: + ia64/sparc stable wrt #215898 + + 07 Apr 2008; Tobias Klausmann <klausman@gentoo.org> + libafterimage-1.15.ebuild: + Stable on alpha, bug #215898 + + 04 Apr 2008; Brent Baude <ranger@gentoo.org> libafterimage-1.15.ebuild: + stable ppc64, bug 215898 + + 03 Apr 2008; Markus Meier <maekke@gentoo.org> libafterimage-1.15.ebuild: + amd64/x86 stable, bug #215898 + + 03 Apr 2008; Jeroen Roovers <jer@gentoo.org> libafterimage-1.15.ebuild: + Stable for HPPA (bug #215898). + + 03 Apr 2008; Brent Baude <ranger@gentoo.org> libafterimage-1.15.ebuild: + stable ppc, bug 215898 + + 07 Mar 2008; Raúl Porcel <armin76@gentoo.org> libafterimage-1.15.ebuild: + Add ~ia64 + + 27 Nov 2007; Raúl Porcel <armin76@gentoo.org> libafterimage-1.15.ebuild: + Add ~alpha/~sparc wrt #200316 + + 26 Nov 2007; Markus Rothe <corsair@gentoo.org> libafterimage-1.15.ebuild: + Added ~ppc64; bug #200316 + + 25 Nov 2007; René Nussbaumer <killerfox@gentoo.org> + libafterimage-1.15.ebuild: + Added to ~hppa. + + 25 Nov 2007; René Nussbaumer <killerfox@gentoo.org> + libafterimage-1.15.ebuild: + Added to ~ppc. + + 20 Nov 2007; Sébastien Fabbro <bicatali@gentoo.org> + libafterimage-1.15.ebuild: + Fixed html install directory (bug #199565), thanks Flameeyes. + + 05 Nov 2007; Sébastien Fabbro <bicatali@gentoo.org> + files/libafterimage-makefile.in.patch: + Fixed re-install and linking (bug #198087, thanks galtgendo@o2.pl) + +*libafterimage-1.15 (04 Nov 2007) + + 04 Nov 2007; Sébastien Fabbro <bicatali@gentoo.org> + +files/libafterimage-1.15-examples.patch, + +files/libafterimage-makefile.in.patch, +libafterimage-1.15.ebuild: + Version bump. + + 22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; + libafterimage-1.07.ebuild: + Drop virtual/x11 references. + +*libafterimage-1.07 (05 Feb 2007) + + 05 Feb 2007; Sébastien Fabbro <bicatali@gentoo.org> + +files/libafterimage-config.patch, +files/libafterimage-examples.patch, + +metadata.xml, +libafterimage-1.07.ebuild: + Initial import. Closing bug #149088. + diff --git a/media-libs/libafterimage/Manifest b/media-libs/libafterimage/Manifest new file mode 100644 index 0000000..27cba7c --- /dev/null +++ b/media-libs/libafterimage/Manifest @@ -0,0 +1,7 @@ +AUX libafterimage-config.patch 369 RMD160 e209d20413373694cd4b4cf16cc1927fbb8437f6 SHA1 030143afcdece5802511b51899c221d48e421ebf SHA256 75a7683211f8d65a6cb1a6ed99b013d7bcc5b3cb3a241e36748a2c0b5ff960c6 +AUX libafterimage-gif.patch 1436 RMD160 8656affb37559f0cee1fd8143e8c29f78ec4dd42 SHA1 a80433320c5c22c9ffb754a3952aada7df6760a9 SHA256 d9e681e5fae08dd6e648ee699e3feb617a924ec5c011fdab81a75d4c3949ea9a +AUX libafterimage-makefile.in.patch 2168 RMD160 4b6340f3845774de82fb612de0e94f0841ae869a SHA1 f707ad8a850eafacdac780a727f936b8cf8673de SHA256 44b2f80b7e5f9bef3852d179e247592f3d5a0983de105082d1b5d1667eb4ced8 +DIST libAfterImage-1.20.tar.bz2 1017055 SHA1 c214ac89a1e61d9c8834ccc9210d0f7952305737 SHA256 6e233253f4d1dd22dfce9f9a245cc036d814fc99ba7f6732f4e345de62cfe458 +EBUILD libafterimage-1.20.ebuild 2141 RMD160 c630ba450e45a658f0d97b6eb088c06599d42482 SHA1 d6c0a62a19e9358a3d21915dc4c02d10c1e08b19 SHA256 608c623cea772a39f8e6686662f31e688140ac4d9157f2ab6074344200457165 +MISC ChangeLog 4423 RMD160 de4595ddc0bb8829a5eedf0a93f499fe79443158 SHA1 0130be843f4461f045cacb8cd87c33d9c7e0c92d SHA256 66fc2c11380f77f5fc0f1dc18f403e24a7d0d02a2090fb27921cdb0c71870e6c +MISC metadata.xml 803 RMD160 5a20a7d1e910ee66f7bb5fd53aad8341a1f0b653 SHA1 bfee50707db93a6a62978caf711b15be6446c67c SHA256 5f1fc597d0da18541c30e568f47ec9d1937f277dc34130101e8e605924a4d444 diff --git a/media-libs/libafterimage/files/libafterimage-config.patch b/media-libs/libafterimage/files/libafterimage-config.patch new file mode 100644 index 0000000..d2ed9e0 --- /dev/null +++ b/media-libs/libafterimage/files/libafterimage-config.patch @@ -0,0 +1,15 @@ +--- afterimage-config.in 2005-01-12 18:03:36.000000000 +0000 ++++ afterimage-config.in.new 2006-10-15 14:16:12.000000000 +0100 +@@ -110,11 +110,7 @@ + libs="-lAfterBase $libs" + fi + libs="-lAfterImage $libs" +- if test "@libdir@" != "/usr/lib" ; then +- echo -L@libdir@ $libs +- else +- echo $libs +- fi ++ echo $libs + else + echo $libs + fi diff --git a/media-libs/libafterimage/files/libafterimage-gif.patch b/media-libs/libafterimage/files/libafterimage-gif.patch new file mode 100644 index 0000000..8a2ca8e --- /dev/null +++ b/media-libs/libafterimage/files/libafterimage-gif.patch @@ -0,0 +1,18 @@ +--- configure.in.orig 2011-03-28 18:55:22.000000000 +0100 ++++ configure.in 2011-03-28 18:56:08.000000000 +0100 +@@ -60,12 +60,9 @@ + dnl# AC_ARG_WITH(xpm_includes, [ --with-xpm-includes=DIR use libXpm includes in DIR( when builtin XPM handling is disabled )], xpm_includes="$withval", xpm_includes=no) + + dnl# standard libgif/ungif should not be used and considered obsolete! +-dnl# AC_ARG_WITH(ungif, [ --with-ungif support Uncompressed GIF image format using libungif [no]],with_ungif="$withval",with_ungif=no) +-dnl# AC_ARG_WITH(gif, [ --with-gif support GIF image format using libgif [no]],with_gif="$withval",with_gif=no) +-dnl# AC_ARG_WITH(gif_includes, [ --with-gif-includes=DIR use GIF includes in DIR], gif_includes="$withval", gif_includes=no) +-with_ungif=no +-with_gif=no +-with_gif_includes=no ++AC_ARG_WITH(ungif, [ --with-ungif support Uncompressed GIF image format using libungif [no]],with_ungif="$withval",with_ungif=no) ++AC_ARG_WITH(gif, [ --with-gif support GIF image format using libgif [no]],with_gif="$withval",with_gif=no) ++AC_ARG_WITH(gif_includes, [ --with-gif-includes=DIR use GIF includes in DIR], gif_includes="$withval", gif_includes=no) + AC_ARG_WITH(builtin_gif, [ --with-builtin-gif support Uncompressed GIF image format using builtin libgif [yes]],with_builtin_gif="$withval",with_builtin_gif=yes) + + diff --git a/media-libs/libafterimage/files/libafterimage-makefile.in.patch b/media-libs/libafterimage/files/libafterimage-makefile.in.patch new file mode 100644 index 0000000..a41f90a --- /dev/null +++ b/media-libs/libafterimage/files/libafterimage-makefile.in.patch @@ -0,0 +1,62 @@ +--- Makefile.in.orig 2005-08-16 10:00:02.000000000 +0200 ++++ Makefile.in 2005-08-16 10:00:35.000000000 +0200 +@@ -79,7 +79,7 @@ + MV = @MV@ + RM = @RM@ + RMF = @RM@ -f +-MKDIR = @MKDIR@ ++MKDIR = @MKDIR@ -p + FIND = @FIND@ + XARGS = @XARGS@ + LDCONFIG = @LDCONFIG@ +@@ -135,20 +135,6 @@ + @(if [ -d $(LIBDIR) ] && [ -w $(LIBDIR) ]; then \ + echo "$(INSTALL_LIB) $(LIB_STATIC) $(LIBDIR)"; \ + $(INSTALL_LIB) $(LIB_STATIC) $(LIBDIR); \ +- if [ `uname` = "Linux" ]; then \ +- if test $(LIBDIR) = "/lib" || test $(LIBDIR) = "/usr/lib"; then \ +- echo "" > /dev/null; \ +- elif grep -q $(LIBDIR) /etc/ld.so.conf > /dev/null 2>&1; then \ +- echo "" > /dev/null; \ +- else \ +- echo "Unable to find $(LIBDIR) in ld.so.conf. In order to use "; \ +- echo "$(LIB_STATIC), you may need to add it or set LD_LIBRARY_PATH."; \ +- fi; \ +- if test -w /etc; then \ +- echo "$(LDCONFIG)"; \ +- $(LDCONFIG); \ +- fi; \ +- fi ;\ + fi \ + ) + +@@ -161,18 +147,6 @@ + $(RM) -f $(LIBDIR)/$(LIB_SHARED).$(LIBVERMAJOR) $(LIBDIR)/$(LIB_SHARED); \ + $(LN_S) -f $(LIB_SHARED).$(LIBVER) $(LIBDIR)/$(LIB_SHARED).$(LIBVERMAJOR); \ + $(LN_S) -f $(LIB_SHARED).$(LIBVERMAJOR) $(LIBDIR)/$(LIB_SHARED); \ +- if test `uname` = "Linux"; then \ +- if test $(LIBDIR) = "/lib" || test $(LIBDIR) = "/usr/lib"; then \ +- echo "" > /dev/null; \ +- elif grep -q $(LIBDIR) /etc/ld.so.conf > /dev/null 2>&1; then \ +- echo "" > /dev/null; \ +- else \ +- echo "Unable to find $(LIBDIR) in ld.so.conf. In order to use "; \ +- echo "$(LIB_SHARED), you may need to add it or set LD_LIBRARY_PATH."; \ +- fi; \ +- echo "$(LDCONFIG)"; \ +- $(LDCONFIG); \ +- fi \ + ) + + install.cyg: +@@ -393,8 +366,8 @@ + $(LN_S) -f $(LIB_SHARED).$(LIBVER) $(LIB_SHARED).$(LIBVERMAJOR) + + $(LIB_SHARED).$(LIBVER): $(LIB_OBJS) $(LIB_INCS) config.h +- $(CC) -shared -Wl,-soname,$(LIB_SHARED).$(LIBVERMAJOR) -o $(LIB_SHARED).$(LIBVER) \ +- $(LIB_OBJS) ++ $(CC) -shared $(USER_LD_FLAGS) -Wl,-soname,$(LIB_SHARED).$(LIBVERMAJOR) -o $(LIB_SHARED).$(LIBVER) \ ++ $(LIB_OBJS) $(LIBRARIES) + + install.man: + @if [ -d doc/man ] ; then \ diff --git a/media-libs/libafterimage/libafterimage-1.20.ebuild b/media-libs/libafterimage/libafterimage-1.20.ebuild new file mode 100644 index 0000000..97f91a9 --- /dev/null +++ b/media-libs/libafterimage/libafterimage-1.20.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libafterimage/libafterimage-1.20.ebuild,v 1.2 2011/03/28 18:07:53 bicatali Exp $ + +EAPI=3 +inherit eutils autotools + +MY_PN=libAfterImage + +DESCRIPTION="Afterstep's standalone generic image manipulation library" +HOMEPAGE="http://www.afterstep.org/afterimage/index.php" +SRC_URI="ftp://ftp.afterstep.org/stable/${MY_PN}/${MY_PN}-${PV}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64-linux ~x86-linux" +IUSE="gif jpeg mmx nls png svg tiff examples static-libs truetype" + +RDEPEND="x11-libs/libSM + x11-libs/libXext + x11-libs/libXrender + png? ( >=media-libs/libpng-1.4 ) + jpeg? ( virtual/jpeg ) + gif? ( media-libs/giflib ) + svg? ( gnome-base/librsvg ) + tiff? ( media-libs/tiff ) + truetype? ( media-libs/freetype )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + x11-proto/xextproto + !x11-wm/afterstep" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + # fix some ldconfig problem in makefile.in + epatch "${FILESDIR}"/${PN}-makefile.in.patch + # fix lib paths in afterimage-config + epatch "${FILESDIR}"/${PN}-config.patch + # fix gif unbundle + epatch "${FILESDIR}"/${PN}-gif.patch + # remove forced flags + sed -i \ + -e 's/CFLAGS="-O3"//' \ + -e 's/ -rdynamic//' \ + configure.in || die "sed failed" + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs staticlibs) \ + $(use_enable nls i18n) \ + $(use_enable mmx mmx-optimization) \ + $(use_with png) \ + $(use_with jpeg) \ + $(use_with gif) \ + $(use_with svg) \ + $(use_with tiff) \ + $(use_with truetype ttf) \ + --enable-glx \ + --enable-sharedlibs \ + --with-x \ + --with-xpm \ + --without-builtin-gif \ + --without-builtin-jpeg \ + --without-builtin-png \ + --without-builtin-zlib \ + --without-afterbase +} + +src_install() { + emake \ + DESTDIR="${D}" \ + AFTER_DOC_DIR="${D}/usr/share/doc/${PF}" \ + install || die "emake install failed" + dodoc ChangeLog README || die + if use examples; then + cd apps || die + emake clean + rm -f Makefile* + insinto /usr/share/doc/${PF}/examples + doins * || die "install examples failed" + fi +} diff --git a/media-libs/libafterimage/metadata.xml b/media-libs/libafterimage/metadata.xml new file mode 100644 index 0000000..fb1417e --- /dev/null +++ b/media-libs/libafterimage/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>afterstep</herd> +<longdescription> +libAfterImage is a generic image manipulation library. +It was initially implemented to address AfterStep Window Manager's needs for +image handling, but it evolved into software suitable for project +that has needs for handling images. Most of the popular image formats are +supported using standard libraries, with XCF, XPM, PPM/PNM, BMP, ICO, +TGA and GIF being supported internally. PNG, JPEG and TIFF formats are +supported via standard libraries. Text rendering capabilities +included, providing support for TrueType fonts using FreeType library, +and anti-aliasing of standard fonts from X window system. +</longdescription> +</pkgmetadata> diff --git a/media-libs/libjpeg-turbo/Manifest b/media-libs/libjpeg-turbo/Manifest new file mode 100644 index 0000000..f7d68bc --- /dev/null +++ b/media-libs/libjpeg-turbo/Manifest @@ -0,0 +1,2 @@ +DIST libjpeg-turbo-1.0.90.tar.gz 1423804 SHA1 6bf1e2961b13ec62dcc033280a0be9f37d6a252b SHA256 6d62e4200829fa08c826417afef2c0bc40f690a86621c8d051b424e9982cc26c +EBUILD libjpeg-turbo-1.0.90-r1.ebuild 1958 RMD160 71033ff57ba2533528a89996dc27e2971eb150d2 SHA1 37bdebd1ac0932476d74286ab42887820845a4fd SHA256 2d11ba6521ce83ad972df33bc08d4674fa848baed4779b13511c0b5005c911b4 diff --git a/media-libs/libjpeg-turbo/libjpeg-turbo-1.0.90-r1.ebuild b/media-libs/libjpeg-turbo/libjpeg-turbo-1.0.90-r1.ebuild new file mode 100644 index 0000000..0fbb424 --- /dev/null +++ b/media-libs/libjpeg-turbo/libjpeg-turbo-1.0.90-r1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +# media-libs/libjpeg-turbo + +EAPI="2" + +DESCRIPTION="A high-performance, drop-in libjpeg replacement which uses SIMD instructions (MMX, SSE2, etc.) for x86 and x86-64 processors" +HOMEPAGE="http://libjpeg-turbo.virtualgl.org/" +# http://sourceforge.net/projects/libjpeg-turbo/files/1.0.90%20(1.1beta1)/libjpeg-turbo-1.0.90.tar.gz/download +SRC_URI="mirror://sourceforge/${PN}/${PV}%20%281.1beta1%29/${P}.tar.gz" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +SLOT="0" +LICENSE="as-is LGPL-2.1 wxWinLL-3.1" +RESTRICT="mirror" + +# Shouldn't this have a PROVIDE="virtual/jpeg"? + +IUSE="static-libs" +RDEPEND="!media-libs/jpeg:0" +DEPEND="${RDEPEND} + dev-lang/nasm" + + +MY_S="${S}/build" +MY_S32="${S}/build32" +ECONF_SOURCE="${S}" + +src_prepare() { + mkdir "${MY_S}" "${MY_S32}" || die "Failed to create build dirs" +} + +configure32() { + local CHOST=i686-pc-linux-gnu + local CBUILD= + local CFLAGS="${CFLAGS} -m32" + local CXXFLAGS="${CXXFLAGS} -m32" + local LDFLAGS="${LDFLAGS} -m32" + + cd "${MY_S32}" + einfo "Configuring 32-bit sources" + ABI=x86 econf \ + --with-pic \ + --with-jpeg8 \ + --disable-dependency-tracking \ + $(use_enable static-libs static) + einfo "Configuring 64-bit sources" +} +src_configure() { + use amd64 && configure32 + + cd "${MY_S}" + econf \ + --with-pic \ + --with-jpeg8 \ + --disable-dependency-tracking \ + $(use_enable static-libs static) +} + +src_compile() { + if use amd64; then + cd "${MY_S32}" + einfo "Building 32-bit sources" + emake + einfo "Building 64-bit sources" + fi + + cd "${MY_S}" + emake +} + +src_install() { + if use amd64; then + cd "${MY_S32}" && \ + emake install-libLTLIBRARIES DESTDIR="${D}" libdir=usr/lib32 \ + || die "32-bit install failed" + fi + + cd "${MY_S}" + emake install DESTDIR="${D}" || die "install failed" + cd "${S}" + dodoc BUILDING.txt ChangeLog.txt example.c README-turbo.txt + find "${D}" -name '*.la' -delete +} diff --git a/media-libs/x264/ChangeLog b/media-libs/x264/ChangeLog new file mode 100644 index 0000000..4dcd99f --- /dev/null +++ b/media-libs/x264/ChangeLog @@ -0,0 +1,310 @@ +# ChangeLog for media-libs/x264 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v 1.68 2012/03/31 09:42:13 ago Exp $ + + 31 Mar 2012; Agostino Sarubbo <ago@gentoo.org> x264-0.0.20111220.ebuild: + reverted to ~amd64 + + 31 Mar 2012; Agostino Sarubbo <ago@gentoo.org> x264-0.0.20111220.ebuild: + Stable for amd64, wrt bug #401069 + +*x264-0.0.20120327 (28 Mar 2012) + + 28 Mar 2012; Luca Barbato <lu_zero@gentoo.org> +x264-0.0.20120327.ebuild: + New snapshot + + 04 Feb 2012; Samuli Suominen <ssuominen@gentoo.org> x264-0.0.20111220.ebuild, + x264-9999.ebuild: + Pull in more recent yasm wrt #402143 by Rafal Rzepecki + +*x264-0.0.20111220 (21 Dec 2011) + + 21 Dec 2011; Luca Barbato <lu_zero@gentoo.org> +x264-0.0.20111220.ebuild: + New version using the 120 api + +*x264-0.0.20111218 (19 Dec 2011) + + 19 Dec 2011; Alexis Ballier <aballier@gentoo.org> +x264-0.0.20111218.ebuild: + new snapshot + +*x264-0.0.20111017 (19 Oct 2011) + + 19 Oct 2011; Luca Barbato <lu_zero@gentoo.org> +x264-0.0.20111117.ebuild: + New version using the 118 api + +*x264-0.0.20110825-r1 (07 Sep 2011) + + 07 Sep 2011; Patrick McLean <chutzpah@gentoo.org> -x264-0.0.20110825.ebuild, + +x264-0.0.20110825-r1.ebuild, metadata.xml: + Revision bump, merge in 9999 ebuild stuff from multimedia overlay, add 10bit + USE flag and use stable tarball rather than the unstable one. + + 07 Sep 2011; Patrick McLean <chutzpah@gentoo.org> x264-0.0.20110825.ebuild, + metadata.xml: + Add enabled-by-default "interlaced" USE flag to allow disabling of + interlacing support. This can speed up encoding by up to 2%. + + 07 Sep 2011; Diego E. Pettenò <flameeyes@gentoo.org> + x264-0.0.20110825.ebuild: + QA: stop failing when using -ggdb in CFLAGS. + +*x264-0.0.20110825 (07 Sep 2011) + + 07 Sep 2011; Patrick McLean <chutzpah@gentoo.org> +x264-0.0.20110825.ebuild: + Version bump, pull a lot of fixes by Nikoli <nikoli@lavabit.com> from the + live ebuild. Add custom-cflags USE flag with workaround for bug #376925. Also + contains fix for bug #378303. + + 03 Sep 2011; Maxim Koltsov <maksbotan@gentoo.org> x264-9999.ebuild: + Fix SRC_URI & some cosmetic change. Thanks to Nikoli <nikoli@lavabit.com> + + 27 Aug 2011; Raúl Porcel <armin76@gentoo.org> x264-0.0.20110426.ebuild: + alpha/sparc stable wrt #378801 + + 19 Aug 2011; Thomas Kahle <tomka@gentoo.org> x264-0.0.20110426.ebuild: + x86 stable per bug 378801 + + 18 Aug 2011; Kacper Kowalik <xarthisius@gentoo.org> x264-0.0.20110426.ebuild: + ppc/ppc64 stable wrt #378801 + + 18 Aug 2011; Tony Vroon <chainsaw@gentoo.org> x264-0.0.20110426.ebuild: + Marked stable on AMD64 as a dependency of media-video/ffmpeg based on arch + testing by Agostino "ago" Sarubbo in security bug #378801. + + 10 Jul 2011; Raúl Porcel <armin76@gentoo.org> x264-0.0.20101029.ebuild: + sparc stable wrt #365273 + + 21 Jun 2011; Tobias Klausmann <klausman@gentoo.org> x264-0.0.20101029.ebuild: + Stable on alpha, bug #365273 + +*x264-9999 (28 May 2011) + + 28 May 2011; Tim Harder <radhermit@gentoo.org> +x264-9999.ebuild: + Import live ebuild from the multimedia overlay (requested by Nikoli). + +*x264-0.0.20110426 (27 Apr 2011) + + 27 Apr 2011; Alexis Ballier <aballier@gentoo.org> +x264-0.0.20110426.ebuild, + +files/x264-onlylib-20110425.patch: + new snapshot + +*x264-0.0.20110223 (24 Feb 2011) + + 24 Feb 2011; Alexis Ballier <aballier@gentoo.org> +x264-0.0.20110223.ebuild: + bump a new snapshot + + 24 Feb 2011; Alexis Ballier <aballier@gentoo.org> x264-0.0.20101029.ebuild: + Do not feed configure script with an unknown --enable-pthread option, bug + #356147 by Marcin Mirosław <bug@mejor.pl> + + 26 Jan 2011; Kacper Kowalik <xarthisius@gentoo.org> + +files/x264-altivec.patch, x264-0.0.20101029.ebuild: + Fix compilation on PPC with some recent GCCs wrt bug 343893. Thanks to + Andrew John Hughes <gnu_andrew@member.fsf.org> for salvaging patch and + Alex Buell <alex.buell@munted.org.uk> for testing. + + 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 + + 09 Dec 2010; Christian Faulhammer <fauli@gentoo.org> + x264-0.0.20101029.ebuild: + stable x86, security bug 347625 + + 14 Nov 2010; Raúl Porcel <armin76@gentoo.org> x264-0.0.20100605.ebuild: + sparc stable wrt #332361 + +*x264-0.0.20101029 (30 Oct 2010) + + 30 Oct 2010; Alexis Ballier <aballier@gentoo.org> + +x264-0.0.20101029.ebuild: + version bump + + 08 Oct 2010; Brent Baude <ranger@gentoo.org> x264-0.0.20100605.ebuild: + Marking x264-0.0.20100605 ppc for bug 332361 + + 08 Oct 2010; Brent Baude <ranger@gentoo.org> x264-0.0.20100605.ebuild: + Marking x264-0.0.20100605 ppc64 for bug 332361 + + 24 Sep 2010; Markos Chandras <hwoarang@gentoo.org> + x264-0.0.20100605.ebuild: + Stable on amd64 wrt bug #332361 + + 17 Sep 2010; Christian Faulhammer <fauli@gentoo.org> + x264-0.0.20100605.ebuild: + stable x86, security bug 332361 + + 13 Sep 2010; Tobias Klausmann <klausman@gentoo.org> + x264-0.0.20100605.ebuild: + Stable on alpha, bug #332361 + +*x264-0.0.20100605 (06 Jun 2010) + + 06 Jun 2010; Alexis Ballier <aballier@gentoo.org> + +x264-0.0.20100605.ebuild, +files/x264-onlylib-20100605.patch: + bump a new snapshot + +*x264-0.0.20100423 (24 Apr 2010) + + 24 Apr 2010; Alexis Ballier <aballier@gentoo.org> + +x264-0.0.20100423.ebuild: + push a new snapshot + + 31 Jan 2010; Raúl Porcel <armin76@gentoo.org> x264-0.0.20091021.ebuild: + sparc stable wrt #297845 + + 24 Jan 2010; Tobias Klausmann <klausman@gentoo.org> + x264-0.0.20091021.ebuild: + Stable on alpha, bug #297845 + +*x264-0.0.20100118 (19 Jan 2010) + + 19 Jan 2010; Alexis Ballier <aballier@gentoo.org> + +x264-0.0.20100118.ebuild: + new snapshot + + 09 Jan 2010; Christian Faulhammer <fauli@gentoo.org> + x264-0.0.20091021.ebuild: + stable x86, bug 297845 + + 07 Jan 2010; Brent Baude <ranger@gentoo.org> x264-0.0.20091021.ebuild: + Marking x264-0.0.20091021 ppc for bug 297845 + + 06 Jan 2010; Brent Baude <ranger@gentoo.org> x264-0.0.20091021.ebuild: + Marking x264-0.0.20091021 ppc64 for bug 297845 + + 22 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> + x264-0.0.20091021.ebuild: + amd64 stable wrt #297845 + +*x264-0.0.20091124 (26 Nov 2009) + + 26 Nov 2009; Steve Dibb <beandog@gentoo.org> +x264-0.0.20091124.ebuild: + Snapshot bump + +*x264-0.0.20091021 (22 Oct 2009) + + 22 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> + +x264-0.0.20091021.ebuild: + Version bump. + +*x264-0.0.20090923 (23 Sep 2009) + + 23 Sep 2009; Alexis Ballier <aballier@gentoo.org> + +x264-0.0.20090923.ebuild: + new snapshot + +*x264-0.0.20090908 (09 Sep 2009) + + 09 Sep 2009; Samuli Suominen <ssuominen@gentoo.org> + +x264-0.0.20090908.ebuild: + Version bump. + +*x264-0.0.20090629 (29 Jun 2009) + + 29 Jun 2009; Alexis Ballier <aballier@gentoo.org> + +x264-0.0.20090629.ebuild: + bump a new snapshot + + 29 Jun 2009; Alexis Ballier <aballier@gentoo.org> + -files/x264-onlylib.patch, -x264-0.0.20070924.ebuild, + -x264-0.0.20080301.ebuild, -x264-0.0.20080406.ebuild, + -x264-0.0.20080819.ebuild, -x264-0.0.20081218.ebuild: + remove old + +*x264-0.0.20090502 (03 May 2009) + + 03 May 2009; Alexis Ballier <aballier@gentoo.org> + +x264-0.0.20090502.ebuild, +files/x264-onlylib-20090408.patch: + bump a new snapshot + + 20 Dec 2008; Ferris McCormick <fmccor@gentoo.org> + x264-0.0.20081006.ebuild: + Sparc stable, Bug #245533 (required for Bug #245313). + + 20 Dec 2008; nixnut <nixnut@gentoo.org> x264-0.0.20081006.ebuild: + Stable on ppc wrt bug 245533 + + 20 Dec 2008; Thomas Anderson <gentoofan23@gentoo.org> + x264-0.0.20081006.ebuild: + stable amd64, bug 245533 + +*x264-0.0.20081218 (19 Dec 2008) + + 19 Dec 2008; Alexis Ballier <aballier@gentoo.org> + +x264-0.0.20081218.ebuild: + bump a new snapshot + + 16 Dec 2008; Brent Baude <ranger@gentoo.org> x264-0.0.20081006.ebuild: + Marking x264-0.0.20081006 ppc64 for bug 245285 + + 15 Dec 2008; <ssuominen@gentoo.org> x264-0.0.20081006.ebuild: + x86 stable wrt #245533 + + 12 Dec 2008; Tobias Klausmann <klausman@gentoo.org> + x264-0.0.20081006.ebuild: + Stable on alpha, bug #245533 and 245285 + + 24 Nov 2008; Friedrich Oslage <bluebird@gentoo.org> + x264-0.0.20080819.ebuild: + Stable on sparc, security bug #239130 and bug #241110 + + 17 Nov 2008; Alexis Ballier <aballier@gentoo.org> + x264-0.0.20081006.ebuild: + improve cross compilation support, by Phattanon Duangdara + <phattanon@nettree.co.th>, bug #246722 + + 08 Nov 2008; Tobias Klausmann <klausman@gentoo.org> + x264-0.0.20080406.ebuild: + Stable on alpha, bug #239130 + + 30 Oct 2008; Tobias Scherbaum <dertobi123@gentoo.org> + x264-0.0.20080819.ebuild: + ppc stable, bug #239130 + + 21 Oct 2008; Markus Rothe <corsair@gentoo.org> x264-0.0.20080819.ebuild: + Stable on ppc64; bug #239130 + + 19 Oct 2008; Markus Meier <maekke@gentoo.org> x264-0.0.20080819.ebuild: + amd64/x86 stable, bug #239130 + +*x264-0.0.20081006 (07 Oct 2008) + + 07 Oct 2008; Alexis Ballier <aballier@gentoo.org> + +x264-0.0.20081006.ebuild: + Add new snapshot + +*x264-0.0.20080819 (22 Aug 2008) + + 22 Aug 2008; Ben de Groot <yngwin@gentoo.org> +x264-0.0.20080819.ebuild: + Version bump + + 14 Apr 2008; Ben de Groot <yngwin@gentoo.org> x264-0.0.20080406.ebuild: + Fix typo + + 14 Apr 2008; Ben de Groot <yngwin@gentoo.org> x264-0.0.20080406.ebuild: + Drop nasm from DEPEND to fix bug 217630. + + 09 Apr 2008; Alexis Ballier <aballier@gentoo.org> + x264-0.0.20080406.ebuild: + depend on yasm only on x86-fbsd as nasm segfaults and yasm is prefered by + upstream + +*x264-0.0.20080406 (07 Apr 2008) +*x264-0.0.20080301 (07 Apr 2008) +*x264-0.0.20070924 (07 Apr 2008) + + 07 Apr 2008; Ben de Groot <yngwin@gentoo.org> +files/x264-nostrip.patch, + +files/x264-onlylib.patch, +files/x264-onlylib-20080406.patch, + +metadata.xml, +x264-0.0.20070924.ebuild, +x264-0.0.20080301.ebuild, + +x264-0.0.20080406.ebuild: + Initial commit, pkgmove from x264-svn. Version bump 0.0.20080406 using + upstream's nightly git snapshot tarball. + diff --git a/media-libs/x264/Manifest b/media-libs/x264/Manifest new file mode 100644 index 0000000..fc6fd83 --- /dev/null +++ b/media-libs/x264/Manifest @@ -0,0 +1,26 @@ +AUX x264-altivec.patch 2529 RMD160 a898058a653d55a65ddd070285b649b8569b3215 SHA1 849970574883c079b8b63cdb0922018c32d43532 SHA256 e36a5fe0ff284e0cf7ee1ddeec06f2f083ff1d740e9317d82a3f83dc23a924e6 +AUX x264-nostrip.patch 433 RMD160 81c3893b1a02839da38f34484c794996855fab5e SHA1 42c0807d6f2f13f848409d9545994c8b66338c8c SHA256 1210914cc52de908b840775ab8e4a107d95aeced690c2f115320d31e587a2ffa +AUX x264-onlylib-20100605.patch 1078 RMD160 a40e8e298cef462b2c1a393d56184c84a901eb28 SHA1 085e8c16226ad9bb1cfb7efe6065cd80a7c2f358 SHA256 557c818204143440b982bae758103898078d014d145176267329d368b2b44fa4 +AUX x264-onlylib-20110425.patch 1120 RMD160 b67837ba873f9d721b4a545db0615055b0e60767 SHA1 ac74558bc2e93870f2717b482a3d63c803511fcc SHA256 a0bdcfe1a86fdde9f56d7842f203d90eefcc4080664653ea42a8a4cc6231dbbe +DIST x264-snapshot-20100605-2245.tar.bz2 422713 RMD160 379b728d53b642bb5ac6d82765325f4c2bbcec00 SHA1 d923e2168d9e4e3f339bfa1588b8d5d748a9a1ba SHA256 29d01cf362770658caea4aa7c9a62319053b113d25d0cbbd4e5b0a697284d692 +DIST x264-snapshot-20101029-2245.tar.bz2 449078 RMD160 65691ea49254ac769a1dde5c03bbe190d7758390 SHA1 3153e901b69acbfcade2af9a59b52d357166ece0 SHA256 d6d1ac9450e2e345d6a4bf7e62a9b03256b10da8e4d62c829ba683a7566711f3 +DIST x264-snapshot-20110223-2245.tar.bz2 485914 RMD160 796edaaaa4c0983e48202628abc1624445c7dac7 SHA1 68cf65982666390cec2d875c521090958e4fd338 SHA256 95c0287102ab4f9b736fc83a1a17b74f6d4b1725ccf23cc619d453293f76a551 +DIST x264-snapshot-20110426-2245.tar.bz2 495607 RMD160 3104b39f695a08c8199298eb89d5c500ffebfb45 SHA1 b2aa061648354aa80adeeba33819d8b961185dbc SHA256 2610ea30eb8857f7b8933137f8994f83243038fd8e336343e3422a5f25459fcc +DIST x264-snapshot-20110825-2245-stable.tar.bz2 516879 RMD160 4f1e00ddd170c75c6d3e140085358ff95c8e861f SHA1 0e8fff6252397d453b0f38cc0fdaf9699558194d SHA256 ab0ed4046a36093f00dfa572d7234c59cec5f6cb674d8bb0fe4e6bdd7604efa0 +DIST x264-snapshot-20111017-2245.tar.bz2 525683 RMD160 c8758e99017bdb7c70991e0ba35c4c79e3b34232 SHA1 8a007bbe5720f74ecbcf9f4fb71ad8cc6bd974d4 SHA256 b1b9450835ffece5079c9167d92c20486b97bb14fc33b34b1faf7443728d4c2e +DIST x264-snapshot-20111218-2245-stable.tar.bz2 531234 RMD160 b60e78475239d7e187576e48c03c9e580379f43d SHA1 ccf6720a0b8d4078b1babee40c8b1bbde5ea7dce SHA256 8dc5edd9aa7fb0247605ec7db1bd48013849ec200d420d78ad7bce427d0db866 +DIST x264-snapshot-20111220-2245.tar.bz2 532402 RMD160 3e9dce921fa8d7a9dadacd6e9cc0d9a1ec884860 SHA1 8e1958383ba08d9dc4b3e6c0e209243111a10c39 SHA256 c360b0320cc72a77c5f2ececbd100bbbdd0461227f7c4bc06212e86f5aa0fb8a +DIST x264-snapshot-20120327-2245.tar.bz2 551101 RMD160 c583500c6f4bbc711ba2ac4d103b53ca4a386438 SHA1 d600cf6e6561e71f5c5d2f4f92979d0338112f83 SHA256 065ffdbd7c9f9dcc7194bd6a4943b0d4b2e99b5dd68979fb3634644c725c2cbe +EBUILD x264-0.0.20100605.ebuild 1502 RMD160 70f9d093035eac1511eac5f3ef001f88e17f0fec SHA1 fdadbfcd76a3e60198ba6d1ed09bea59a5b8b2d3 SHA256 bd8e77d53bfe9cddea913da054704d046676fbc47e6c6826a8746ebbf3d951b1 +EBUILD x264-0.0.20101029.ebuild 1560 RMD160 2da375a1037d09ce98325535258f8a1026114c37 SHA1 a76c6cf5f5870265b24dd93070e5dc7be91ccdad SHA256 a939a332f59fea480ac3b74141fa6dab75110de952629e27d504813d1cde4507 +EBUILD x264-0.0.20110223.ebuild 1526 RMD160 fb57c899f11215174009a1da6afcb0527f924164 SHA1 0845dcc3b312da131449e97cf8f77bdd6f5f9632 SHA256 760d2d03ce5b70789b6a9d137428e3263650ddcee8f7dcaae5063f5e6a0eb13d +EBUILD x264-0.0.20110426.ebuild 1519 RMD160 7b0b0a8ef5608f161c45290bca846cca613592d1 SHA1 641c87721f45986d837d5da9730690c078d7dc33 SHA256 20405a5c868e308166ae2126427fe948afcd60e82c7b7537ec28a35b98a4da61 +EBUILD x264-0.0.20110825-r1.ebuild 2322 RMD160 c99dd517ef0665e0c7b0a21e5ca47fe82dc5443c SHA1 5c8c2eb23143c7ba098c9edf1e5f601922d368e4 SHA256 aba238d1961cd6a73a8d99d3767cb00484507b40b32aaa5f5de75037e44f2ced +EBUILD x264-0.0.20111017.ebuild 2311 RMD160 142d266725fe661fb258c9a437bf0c05df9545ef SHA1 7c026a437f1007bae5ec51cc67213062661dd81a SHA256 808bdd2122404a782cfdf35576d98fd137e9ea944fd02160f4213a19e9bed564 +EBUILD x264-0.0.20111218.ebuild 1807 RMD160 9a2dac0b90e951ab3f6ed3f2a25456c49249eb22 SHA1 f96f13fcec0fa393cba520d698dd57c39e5e5458 SHA256 68c094e9aaa2f806fa8a770269ee73e51c4203208bb1e95c3ffda636608dc01c +EBUILD x264-0.0.20111220.ebuild 2295 RMD160 9e86c033893bed0d689b09f49cfc61cdc3a499e5 SHA1 c16c51c799c00f5459561accde8d1082a76994df SHA256 68e38b6d24f7c1b8bc4566e60ec1188bfb2940478d7fa20541c3a54cf1a57f4e +EBUILD x264-0.0.20120327.ebuild 2356 RMD160 dd19cd9de0d5c874a69f61bddf89f963ac23459a SHA1 c3e2691b623c91187edecd899706561bbb00bf15 SHA256 2fc964222457d7d0c49385127df88036a53f684406159fb4214ae29892b876ec +EBUILD x264-9999.ebuild 1796 RMD160 75e8b46f24b0b36be05c857ca4f1c97828424805 SHA1 9718b71508885d83391fe5d283d7d2cdb5d7f29c SHA256 ad6699d80d7aaac32b83cb4c177c4a23074e316c36cdcbf917162a24a6afd732 +MISC ChangeLog 10229 RMD160 036823990f874f4fc0d553f120021eeb50e5217d SHA1 c8b889816137363839e3597e1637a47bf210fc14 SHA256 f121ae1393825d822fe089ea53b7129e3160735d33c23ac67fe473b43476a1d1 +MISC metadata.xml 554 RMD160 2f57798883f3f6ceae8a0b596c5dd3fffd1dc90c SHA1 4dd25b830a0ad422d81de5500931f750b8508851 SHA256 1e4bcd3b571c5401aa3dc2f1e07801153596a4437d6309d1c7b6366e6cc552e5 +MISC x264-0.0.20100605.patch 2300 RMD160 644d0390ad78b8eb80e858c70e29d7a42940be3c SHA1 6172f9f76a5df855b37796fa7bdf2676512566d7 SHA256 73785512adfa76954c45921285c999d4e5d0ca003378a5f933cc545e647fdcd3 diff --git a/media-libs/x264/files/x264-altivec.patch b/media-libs/x264/files/x264-altivec.patch new file mode 100644 index 0000000..a185dcd --- /dev/null +++ b/media-libs/x264/files/x264-altivec.patch @@ -0,0 +1,52 @@ +http://git.videolan.org/?p=x264.git;a=commitdiff;h=7f5771a13aec5a8a724e0d0c9d761f5a82e74af0 +https://bugs.gentoo.org/343893 + +--- a/common/ppc/dct.c ++++ b/common/ppc/dct.c +@@ -91,14 +91,14 @@ void x264_sub8x8_dct_altivec( int16_t dct[4][16], uint8_t *pix1, uint8_t *pix2 ) + VEC_DCT( dct0v, dct1v, dct2v, dct3v, tmp0v, tmp1v, tmp2v, tmp3v ); + VEC_DCT( dct4v, dct5v, dct6v, dct7v, tmp4v, tmp5v, tmp6v, tmp7v ); + +- vec_st(vec_perm(tmp0v, tmp1v, permHighv), 0, dct); +- vec_st(vec_perm(tmp2v, tmp3v, permHighv), 16, dct); +- vec_st(vec_perm(tmp4v, tmp5v, permHighv), 32, dct); +- vec_st(vec_perm(tmp6v, tmp7v, permHighv), 48, dct); +- vec_st(vec_perm(tmp0v, tmp1v, permLowv), 64, dct); +- vec_st(vec_perm(tmp2v, tmp3v, permLowv), 80, dct); +- vec_st(vec_perm(tmp4v, tmp5v, permLowv), 96, dct); +- vec_st(vec_perm(tmp6v, tmp7v, permLowv), 112, dct); ++ vec_st(vec_perm(tmp0v, tmp1v, permHighv), 0, *dct); ++ vec_st(vec_perm(tmp2v, tmp3v, permHighv), 16, *dct); ++ vec_st(vec_perm(tmp4v, tmp5v, permHighv), 32, *dct); ++ vec_st(vec_perm(tmp6v, tmp7v, permHighv), 48, *dct); ++ vec_st(vec_perm(tmp0v, tmp1v, permLowv), 64, *dct); ++ vec_st(vec_perm(tmp2v, tmp3v, permLowv), 80, *dct); ++ vec_st(vec_perm(tmp4v, tmp5v, permLowv), 96, *dct); ++ vec_st(vec_perm(tmp6v, tmp7v, permLowv), 112, *dct); + } + + void x264_sub16x16_dct_altivec( int16_t dct[16][16], uint8_t *pix1, uint8_t *pix2 ) +--- a/common/ppc/mc.c ++++ b/common/ppc/mc.c +@@ -460,8 +460,8 @@ static void mc_chroma_altivec_8xh( uint8_t *dstu, uint8_t *dstv, int i_dst_strid + dstv_16h = vec_sr( dstv_16h, shiftv ); + dstv_16l = vec_sr( dstv_16l, shiftv ); + +- dstuv = vec_perm( dstv_16h, dstv_16l, perm0v ); +- dstvv = vec_perm( dstv_16h, dstv_16l, perm1v ); ++ dstuv = (vec_u8_t)vec_perm( dstv_16h, dstv_16l, perm0v ); ++ dstvv = (vec_u8_t)vec_perm( dstv_16h, dstv_16l, perm1v ); + + VEC_STORE8( dstuv, dstu ); + VEC_STORE8( dstvv, dstv ); +@@ -498,8 +498,8 @@ static void mc_chroma_altivec_8xh( uint8_t *dstu, uint8_t *dstv, int i_dst_strid + dstv_16h = vec_sr( dstv_16h, shiftv ); + dstv_16l = vec_sr( dstv_16l, shiftv ); + +- dstuv = vec_perm( dstv_16h, dstv_16l, perm0v ); +- dstvv = vec_perm( dstv_16h, dstv_16l, perm1v ); ++ dstuv = (vec_u8_t)vec_perm( dstv_16h, dstv_16l, perm0v ); ++ dstvv = (vec_u8_t)vec_perm( dstv_16h, dstv_16l, perm1v ); + + VEC_STORE8( dstuv, dstu ); + VEC_STORE8( dstvv, dstv ); diff --git a/media-libs/x264/files/x264-nostrip.patch b/media-libs/x264/files/x264-nostrip.patch new file mode 100644 index 0000000..b4e2689 --- /dev/null +++ b/media-libs/x264/files/x264-nostrip.patch @@ -0,0 +1,16 @@ +Index: x264-svn/configure +=================================================================== +--- x264-svn.orig/configure ++++ x264-svn/configure +@@ -374,11 +374,6 @@ if [ "$pic" = "yes" ] ; then + ASFLAGS="$ASFLAGS -D__PIC__" + fi + +-if [ "$debug" != "yes" -a "$gprof" != "yes" ]; then +- CFLAGS="$CFLAGS -s -fomit-frame-pointer" +- LDFLAGS="$LDFLAGS -s" +-fi +- + if [ "$debug" = "yes" ]; then + CFLAGS="-O1 -g $CFLAGS" + else diff --git a/media-libs/x264/files/x264-onlylib-20100605.patch b/media-libs/x264/files/x264-onlylib-20100605.patch new file mode 100644 index 0000000..3f400ce --- /dev/null +++ b/media-libs/x264/files/x264-onlylib-20100605.patch @@ -0,0 +1,30 @@ +Index: x264-snapshot-20100605-2245/Makefile +=================================================================== +--- x264-snapshot-20100605-2245.orig/Makefile ++++ x264-snapshot-20100605-2245/Makefile +@@ -118,7 +118,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) +@@ -193,7 +193,7 @@ distclean: clean + rm -f config.mak config.h config.log x264.pc + rm -rf test/ + +-install: x264$(EXE) $(SONAME) ++install: libx264.a $(SONAME) + install -d $(DESTDIR)$(bindir) + install -d $(DESTDIR)$(includedir) + install -d $(DESTDIR)$(libdir) +@@ -201,7 +201,6 @@ install: x264$(EXE) $(SONAME) + 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-20110425.patch b/media-libs/x264/files/x264-onlylib-20110425.patch new file mode 100644 index 0000000..6f216b9 --- /dev/null +++ b/media-libs/x264/files/x264-onlylib-20110425.patch @@ -0,0 +1,30 @@ +Index: x264-snapshot-20110425-2245/Makefile +=================================================================== +--- x264-snapshot-20110425-2245.orig/Makefile ++++ x264-snapshot-20110425-2245/Makefile +@@ -137,7 +137,7 @@ DEP = depend + + .PHONY: all default fprofiled clean distclean install uninstall dox test testclean + +-default: $(DEP) x264$(EXE) ++default: $(DEP) + + $(LIBX264): .depend $(OBJS) $(OBJASM) + $(AR)$@ $(OBJS) $(OBJASM) +@@ -207,7 +207,7 @@ distclean: clean + rm -f config.mak x264_config.h config.h config.log x264.pc x264.def + rm -rf test/ + +-install: x264$(EXE) $(SONAME) ++install: $(LIBX264) $(SONAME) + install -d $(DESTDIR)$(bindir) + install -d $(DESTDIR)$(includedir) + install -d $(DESTDIR)$(libdir) +@@ -216,7 +216,6 @@ install: x264$(EXE) $(SONAME) + install -m 644 x264_config.h $(DESTDIR)$(includedir) + install -m 644 $(LIBX264) $(DESTDIR)$(libdir) + install -m 644 x264.pc $(DESTDIR)$(libdir)/pkgconfig +- install x264$(EXE) $(DESTDIR)$(bindir) + $(if $(RANLIB), $(RANLIB) $(DESTDIR)$(libdir)/$(LIBX264)) + ifeq ($(SYS),WINDOWS) + $(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(bindir)) diff --git a/media-libs/x264/metadata.xml b/media-libs/x264/metadata.xml new file mode 100644 index 0000000..c254743 --- /dev/null +++ b/media-libs/x264/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>video</herd> + <maintainer> + <email>media-video@gentoo.org</email> + </maintainer> + <use> + <flag name="pic">disable optimized assembly code that is not PIC friendly</flag> + <flag name="interlaced">enable interlaced encoding support, this can decrease encoding speed by up to 2%</flag> + <flag name="10bit">Set output bit depth to 10, this may not be compatible with all decoders</flag> + </use> +</pkgmetadata> diff --git a/media-libs/x264/x264-0.0.20100605.ebuild b/media-libs/x264/x264-0.0.20100605.ebuild new file mode 100644 index 0000000..aabb7f1 --- /dev/null +++ b/media-libs/x264/x264-0.0.20100605.ebuild @@ -0,0 +1,61 @@ +# 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.20100605.ebuild,v 1.7 2010/11/14 19:07:01 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-20100605.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.20100605.patch b/media-libs/x264/x264-0.0.20100605.patch new file mode 100644 index 0000000..5167e0e --- /dev/null +++ b/media-libs/x264/x264-0.0.20100605.patch @@ -0,0 +1,69 @@ +--- x264-0.0.20100605.ebuild 2012-04-13 21:51:52.000000000 +0900 ++++ /home/benda/gentoo/usr/portage/media-libs/x264/x264-0.0.20100605.ebuild 2010-08-05 04:01:52.000000000 +0900 +@@ -1,6 +1,6 @@ + # 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.20100605.ebuild,v 1.7 2010/11/14 19:07:01 armin76 Exp $ ++# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20100605.ebuild,v 1.1 2010/06/06 10:37:33 aballier Exp $ + + EAPI=2 + inherit eutils multilib toolchain-funcs versionator +@@ -13,19 +13,32 @@ SRC_URI="ftp://ftp.videolan.org/pub/vide + + LICENSE="GPL-2" + SLOT="0" +-KEYWORDS="alpha amd64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" ++KEYWORDS="~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" + 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 )" ++ x86-fbsd? ( >=dev-lang/yasm-0.6.2 ) ++ x86-macos? ( >=dev-lang/yasm-0.6.2 ) ++ x64-macos? ( >=dev-lang/yasm-0.6.2 ) ++ x86-solaris? ( >=dev-lang/yasm-0.6.2 ) ++ x64-solaris? ( >=dev-lang/yasm-0.6.2 )" + + S=${WORKDIR}/${MY_P} + + src_prepare() { + epatch "${FILESDIR}"/${PN}-nostrip.patch \ + "${FILESDIR}"/${PN}-onlylib-20100605.patch ++ ++ # Solaris' /bin/sh doesn't grok the syntax in these files ++ sed -i -e '1c\#!/usr/bin/env sh' configure version.sh || die ++ # for sparc-solaris ++ if [[ ${CHOST} == sparc*-solaris* ]] ; then ++ sed -i -e 's:-DPIC::g' configure || die ++ fi ++ # for OSX ++ sed -i -e "s|-arch x86_64||g" configure || die + } + + src_configure() { +@@ -39,11 +52,10 @@ src_configure() { + fi + + ./configure \ +- --prefix=/usr \ +- --libdir=/usr/$(get_libdir) \ ++ --prefix="${EPREFIX}"/usr \ ++ --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --disable-avs-input \ + --disable-lavf-input \ +- --disable-mp4-output \ + $(use_enable threads pthread) \ + --enable-pic \ + --enable-shared \ +@@ -59,3 +71,9 @@ src_install() { + emake 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.20101029.ebuild b/media-libs/x264/x264-0.0.20101029.ebuild new file mode 100644 index 0000000..66aac08 --- /dev/null +++ b/media-libs/x264/x264-0.0.20101029.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20101029.ebuild,v 1.7 2011/07/10 14:59:23 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="http://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-20100605.patch \ + "${FILESDIR}"/${PN}-altivec.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 \ + --disable-lavf \ + --disable-swscale \ + --disable-gpac \ + $(use threads || echo "--disable-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.20110223.ebuild b/media-libs/x264/x264-0.0.20110223.ebuild new file mode 100644 index 0000000..f7fb7ff --- /dev/null +++ b/media-libs/x264/x264-0.0.20110223.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20110223.ebuild,v 1.1 2011/02/24 13:25:45 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="http://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-20100605.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 \ + --disable-lavf \ + --disable-swscale \ + --disable-gpac \ + $(use threads || echo "--disable-thread") \ + --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.20110426.ebuild b/media-libs/x264/x264-0.0.20110426.ebuild new file mode 100644 index 0000000..c48e4fa --- /dev/null +++ b/media-libs/x264/x264-0.0.20110426.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20110426.ebuild,v 1.5 2011/08/27 17:47:04 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="http://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-20110425.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 \ + --disable-lavf \ + --disable-swscale \ + --disable-gpac \ + $(use threads || echo "--disable-thread") \ + --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.20110825-r1.ebuild b/media-libs/x264/x264-0.0.20110825-r1.ebuild new file mode 100644 index 0000000..410c030 --- /dev/null +++ b/media-libs/x264/x264-0.0.20110825-r1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20110825-r1.ebuild,v 1.1 2011/09/07 23:17:44 chutzpah Exp $ + +EAPI=4 + +if [ "${PV#9999}" != "${PV}" ] ; then + V_ECLASS="git-2" +else + V_ECLASS="versionator" +fi + +inherit multilib toolchain-funcs flag-o-matic ${V_ECLASS} + +if [ "${PV#9999}" = "${PV}" ]; then + MY_P="x264-snapshot-$(get_version_component_range 3)-2245-stable" +fi +DESCRIPTION="A free library for encoding X264/AVC streams" +HOMEPAGE="http://www.videolan.org/developers/x264.html" +if [ "${PV#9999}" != "${PV}" ] ; then + EGIT_REPO_URI="git://git.videolan.org/x264.git" + SRC_URI="" +else + SRC_URI="http://download.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" +fi + +LICENSE="GPL-2" +SLOT="0" +if [ "${PV#9999}" != "${PV}" ]; then + KEYWORDS="" +else + KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +fi +IUSE="10bit custom-cflags debug +interlaced pic static-libs +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 )" + +if [ "${PV#9999}" = "${PV}" ]; then + S="${WORKDIR}/${MY_P}" +fi + +DOCS="AUTHORS doc/*.txt" + +src_configure() { + tc-export CC + + local myconf="" + use 10bit && myconf+=" --bit-depth=10" + use debug && myconf+=" --enable-debug" + use interlaced || myconf+=" --disable-interlaced" + use static-libs && myconf+=" --enable-static" + use threads || myconf+=" --disable-thread" + + # let upstream pick the optimization level by default + use custom-cflags || filter-flags -O? + + if use x86 && use pic; then + myconf+=" --disable-asm" + fi + + ./configure \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --disable-cli \ + --disable-avs \ + --disable-lavf \ + --disable-swscale \ + --disable-ffms \ + --disable-gpac \ + --enable-pic \ + --enable-shared \ + --host="${CHOST}" \ + ${myconf} || die + + # this is a nasty workaround for bug #376925 as upstream doesn't like us + # fiddling with their CFLAGS + if use custom-cflags; then + local cflags + cflags="$(grep "^CFLAGS=" config.mak | sed 's/CFLAGS=//')" + cflags="${cflags//$(get-flag O)/}" + cflags="${cflags//-O? /$(get-flag O) }" + cflags="${cflags//-g /}" + sed -i "s:^CFLAGS=.*:CFLAGS=${cflags//:/\\:}:" config.mak + fi +} diff --git a/media-libs/x264/x264-0.0.20111017.ebuild b/media-libs/x264/x264-0.0.20111017.ebuild new file mode 100644 index 0000000..fa23b1d --- /dev/null +++ b/media-libs/x264/x264-0.0.20111017.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20111017.ebuild,v 1.1 2011/10/19 16:26:12 lu_zero Exp $ + +EAPI=4 + +if [ "${PV#9999}" != "${PV}" ] ; then + V_ECLASS="git-2" +else + V_ECLASS="versionator" +fi + +inherit multilib toolchain-funcs flag-o-matic ${V_ECLASS} + +if [ "${PV#9999}" = "${PV}" ]; then + MY_P="x264-snapshot-$(get_version_component_range 3)-2245" +fi +DESCRIPTION="A free library for encoding X264/AVC streams" +HOMEPAGE="http://www.videolan.org/developers/x264.html" +if [ "${PV#9999}" != "${PV}" ] ; then + EGIT_REPO_URI="git://git.videolan.org/x264.git" + SRC_URI="" +else + SRC_URI="http://download.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" +fi + +LICENSE="GPL-2" +SLOT="0" +if [ "${PV#9999}" != "${PV}" ]; then + KEYWORDS="" +else + KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +fi +IUSE="10bit custom-cflags debug +interlaced pic static-libs +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 )" + +if [ "${PV#9999}" = "${PV}" ]; then + S="${WORKDIR}/${MY_P}" +fi + +DOCS="AUTHORS doc/*.txt" + +src_configure() { + tc-export CC + + local myconf="" + use 10bit && myconf+=" --bit-depth=10" + use debug && myconf+=" --enable-debug" + use interlaced || myconf+=" --disable-interlaced" + use static-libs && myconf+=" --enable-static" + use threads || myconf+=" --disable-thread" + + # let upstream pick the optimization level by default + use custom-cflags || filter-flags -O? + + if use x86 && use pic; then + myconf+=" --disable-asm" + fi + + ./configure \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --disable-cli \ + --disable-avs \ + --disable-lavf \ + --disable-swscale \ + --disable-ffms \ + --disable-gpac \ + --enable-pic \ + --enable-shared \ + --host="${CHOST}" \ + ${myconf} || die + + # this is a nasty workaround for bug #376925 as upstream doesn't like us + # fiddling with their CFLAGS + if use custom-cflags; then + local cflags + cflags="$(grep "^CFLAGS=" config.mak | sed 's/CFLAGS=//')" + cflags="${cflags//$(get-flag O)/}" + cflags="${cflags//-O? /$(get-flag O) }" + cflags="${cflags//-g /}" + sed -i "s:^CFLAGS=.*:CFLAGS=${cflags//:/\\:}:" config.mak + fi +} diff --git a/media-libs/x264/x264-0.0.20111218.ebuild b/media-libs/x264/x264-0.0.20111218.ebuild new file mode 100644 index 0000000..3ccb4f5 --- /dev/null +++ b/media-libs/x264/x264-0.0.20111218.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20111218.ebuild,v 1.1 2011/12/19 17:16:55 aballier Exp $ + +EAPI=4 + +if [ "${PV#9999}" != "${PV}" ] ; then + V_ECLASS="git-2" +else + V_ECLASS="versionator" +fi + +inherit multilib toolchain-funcs ${V_ECLASS} + +if [ "${PV#9999}" = "${PV}" ] ; then + MY_P="x264-snapshot-$(get_version_component_range 3)-2245-stable" +fi +DESCRIPTION="A free library for encoding X264/AVC streams" +HOMEPAGE="http://www.videolan.org/developers/x264.html" +if [ "${PV#9999}" != "${PV}" ] ; then + EGIT_REPO_URI="git://git.videolan.org/x264.git" + SRC_URI="" +else + SRC_URI="http://download.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" +fi + +LICENSE="GPL-2" +SLOT="0" +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" +else + KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +fi +IUSE="debug +threads pic static-libs" + +RDEPEND="" +ASM_DEP=">=dev-lang/yasm-0.6.2" +DEPEND=" + amd64? ( ${ASM_DEP} ) + x86? ( ${ASM_DEP} ) + x86-fbsd? ( ${ASM_DEP} ) +" +if [ "${PV#9999}" = "${PV}" ] ; then + S=${WORKDIR}/${MY_P} +fi +DOCS="AUTHORS doc/*.txt" + +src_configure() { + tc-export CC + + local myconf="" + use debug && myconf+=" --enable-debug" + use static-libs && myconf+=" --enable-static" + use threads || myconf+=" --disable-thread" + + if use x86 && use pic; then + myconf+=" --disable-asm" + fi + + ./configure \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --disable-cli \ + --disable-avs \ + --disable-lavf \ + --disable-swscale \ + --disable-ffms \ + --disable-gpac \ + --enable-pic \ + --enable-shared \ + --extra-asflags="${ASFLAGS}" \ + --extra-cflags="${CFLAGS}" \ + --extra-ldflags="${LDFLAGS}" \ + --host="${CHOST}" \ + ${myconf} || die +} diff --git a/media-libs/x264/x264-0.0.20111220.ebuild b/media-libs/x264/x264-0.0.20111220.ebuild new file mode 100644 index 0000000..19132fe --- /dev/null +++ b/media-libs/x264/x264-0.0.20111220.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20111220.ebuild,v 1.4 2012/03/31 09:42:13 ago Exp $ + +EAPI=4 + +if [ "${PV#9999}" != "${PV}" ] ; then + V_ECLASS="git-2" +else + V_ECLASS="versionator" +fi + +inherit multilib toolchain-funcs flag-o-matic ${V_ECLASS} + +if [ "${PV#9999}" = "${PV}" ]; then + MY_P="x264-snapshot-$(get_version_component_range 3)-2245" +fi +DESCRIPTION="A free library for encoding X264/AVC streams" +HOMEPAGE="http://www.videolan.org/developers/x264.html" +if [ "${PV#9999}" != "${PV}" ] ; then + EGIT_REPO_URI="git://git.videolan.org/x264.git" + SRC_URI="" +else + SRC_URI="http://download.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" +fi + +LICENSE="GPL-2" +SLOT="0" +if [ "${PV#9999}" != "${PV}" ]; then + KEYWORDS="" +else + KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +fi +IUSE="10bit custom-cflags debug +interlaced pic static-libs +threads" + +RDEPEND="" +DEPEND="amd64? ( >=dev-lang/yasm-1 ) + x86? ( >=dev-lang/yasm-1 ) + x86-fbsd? ( >=dev-lang/yasm-1 )" + +if [ "${PV#9999}" = "${PV}" ]; then + S="${WORKDIR}/${MY_P}" +fi + +DOCS="AUTHORS doc/*.txt" + +src_configure() { + tc-export CC + + local myconf="" + use 10bit && myconf+=" --bit-depth=10" + use debug && myconf+=" --enable-debug" + use interlaced || myconf+=" --disable-interlaced" + use static-libs && myconf+=" --enable-static" + use threads || myconf+=" --disable-thread" + + # let upstream pick the optimization level by default + use custom-cflags || filter-flags -O? + + if use x86 && use pic; then + myconf+=" --disable-asm" + fi + + ./configure \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --disable-cli \ + --disable-avs \ + --disable-lavf \ + --disable-swscale \ + --disable-ffms \ + --disable-gpac \ + --enable-pic \ + --enable-shared \ + --host="${CHOST}" \ + ${myconf} || die + + # this is a nasty workaround for bug #376925 as upstream doesn't like us + # fiddling with their CFLAGS + if use custom-cflags; then + local cflags + cflags="$(grep "^CFLAGS=" config.mak | sed 's/CFLAGS=//')" + cflags="${cflags//$(get-flag O)/}" + cflags="${cflags//-O? /$(get-flag O) }" + cflags="${cflags//-g /}" + sed -i "s:^CFLAGS=.*:CFLAGS=${cflags//:/\\:}:" config.mak + fi +} diff --git a/media-libs/x264/x264-0.0.20120327.ebuild b/media-libs/x264/x264-0.0.20120327.ebuild new file mode 100644 index 0000000..141342f --- /dev/null +++ b/media-libs/x264/x264-0.0.20120327.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20120327.ebuild,v 1.1 2012/03/28 18:43:18 lu_zero Exp $ + +EAPI=4 + +if [ "${PV#9999}" != "${PV}" ] ; then + V_ECLASS="git-2" +else + V_ECLASS="versionator" +fi + +inherit multilib toolchain-funcs flag-o-matic ${V_ECLASS} + +if [ "${PV#9999}" = "${PV}" ]; then + MY_P="x264-snapshot-$(get_version_component_range 3)-2245" +fi +DESCRIPTION="A free library for encoding X264/AVC streams" +HOMEPAGE="http://www.videolan.org/developers/x264.html" +if [ "${PV#9999}" != "${PV}" ] ; then + EGIT_REPO_URI="git://git.videolan.org/x264.git" + SRC_URI="" +else + SRC_URI="http://download.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" +fi + +LICENSE="GPL-2" +SLOT="0" +if [ "${PV#9999}" != "${PV}" ]; then + KEYWORDS="" +else + KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +fi +IUSE="10bit custom-cflags debug +interlaced pic static-libs +threads" + +RDEPEND="" +DEPEND="amd64? ( >=dev-lang/yasm-1 ) + x86? ( >=dev-lang/yasm-1 ) + x86-fbsd? ( >=dev-lang/yasm-1 )" + +if [ "${PV#9999}" = "${PV}" ]; then + S="${WORKDIR}/${MY_P}" +fi + +DOCS="AUTHORS doc/*.txt" + +src_configure() { + tc-export CC + + local myconf="" + use 10bit && myconf+=" --bit-depth=10" + use debug && myconf+=" --enable-debug" + use interlaced || myconf+=" --disable-interlaced" + use static-libs && myconf+=" --enable-static" + use threads || myconf+=" --disable-thread" + + # let upstream pick the optimization level by default + use custom-cflags || filter-flags -O? + + if use x86 && use pic; then + myconf+=" --disable-asm" + fi + + ./configure \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --disable-cli \ + --disable-avs \ + --disable-lavf \ + --disable-swscale \ + --disable-ffms \ + --disable-gpac \ + --enable-pic \ + --enable-shared \ + --host="${CHOST}" \ + ${myconf} || die + + # this is a nasty workaround for bug #376925 as upstream doesn't like us + # fiddling with their CFLAGS + if use custom-cflags; then + local cflags + cflags="$(grep "^CFLAGS=" config.mak | sed 's/CFLAGS=//')" + cflags="${cflags//$(get-flag O)/}" + cflags="${cflags//-O? /$(get-flag O) }" + cflags="${cflags//-g /}" + sed -i "s:^CFLAGS=.*:CFLAGS=${cflags//:/\\:}:" config.mak + fi +} diff --git a/media-libs/x264/x264-9999.ebuild b/media-libs/x264/x264-9999.ebuild new file mode 100644 index 0000000..fb03e45 --- /dev/null +++ b/media-libs/x264/x264-9999.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-9999.ebuild,v 1.3 2012/02/04 11:48:11 ssuominen Exp $ + +EAPI=4 + +if [ "${PV#9999}" != "${PV}" ] ; then + V_ECLASS="git-2" +else + V_ECLASS="versionator" +fi + +inherit multilib toolchain-funcs ${V_ECLASS} + +if [ "${PV#9999}" = "${PV}" ] ; then + MY_P="x264-snapshot-$(get_version_component_range 3)-2245-stable" +fi +DESCRIPTION="A free library for encoding X264/AVC streams" +HOMEPAGE="http://www.videolan.org/developers/x264.html" +if [ "${PV#9999}" != "${PV}" ] ; then + EGIT_REPO_URI="git://git.videolan.org/x264.git" + SRC_URI="" +else + SRC_URI="http://download.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" +fi + +LICENSE="GPL-2" +SLOT="0" +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" +else + KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +fi +IUSE="debug +threads pic static-libs" + +RDEPEND="" +ASM_DEP=">=dev-lang/yasm-1" +DEPEND=" + amd64? ( ${ASM_DEP} ) + x86? ( ${ASM_DEP} ) + x86-fbsd? ( ${ASM_DEP} ) +" +if [ "${PV#9999}" = "${PV}" ] ; then + S=${WORKDIR}/${MY_P} +fi +DOCS="AUTHORS doc/*.txt" + +src_configure() { + tc-export CC + + local myconf="" + use debug && myconf+=" --enable-debug" + use static-libs && myconf+=" --enable-static" + use threads || myconf+=" --disable-thread" + + if use x86 && use pic; then + myconf+=" --disable-asm" + fi + + ./configure \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --disable-cli \ + --disable-avs \ + --disable-lavf \ + --disable-swscale \ + --disable-ffms \ + --disable-gpac \ + --enable-pic \ + --enable-shared \ + --extra-asflags="${ASFLAGS}" \ + --extra-cflags="${CFLAGS}" \ + --extra-ldflags="${LDFLAGS}" \ + --host="${CHOST}" \ + ${myconf} || die +} |