diff options
author | 2014-09-26 02:20:25 +0400 | |
---|---|---|
committer | 2014-09-26 02:20:25 +0400 | |
commit | a3de10dbdeac8d21183b228b22058c8ffd36f9f1 (patch) | |
tree | bfbbb73a19f800c06e98a665a263d6a3bdc1820b /media-libs | |
parent | Disable -Werror. (diff) | |
download | bircoph-a3de10dbdeac8d21183b228b22058c8ffd36f9f1.tar.gz bircoph-a3de10dbdeac8d21183b228b22058c8ffd36f9f1.tar.bz2 bircoph-a3de10dbdeac8d21183b228b22058c8ffd36f9f1.zip |
x264: Add proper cflags patch
See bug 482994, comment 4.
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/x264/ChangeLog | 476 | ||||
-rw-r--r-- | media-libs/x264/Manifest | 4 | ||||
-rw-r--r-- | media-libs/x264/files/x264-cflags.patch | 54 | ||||
-rw-r--r-- | media-libs/x264/metadata.xml | 14 | ||||
-rw-r--r-- | media-libs/x264/x264-9999.ebuild | 73 |
5 files changed, 621 insertions, 0 deletions
diff --git a/media-libs/x264/ChangeLog b/media-libs/x264/ChangeLog new file mode 100644 index 0000000..aaba34d --- /dev/null +++ b/media-libs/x264/ChangeLog @@ -0,0 +1,476 @@ +# ChangeLog for media-libs/x264 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v 1.112 2014/08/25 11:00:18 ago Exp $ + + 25 Aug 2014; Agostino Sarubbo <ago@gentoo.org> x264-0.0.20140308.ebuild: + Stable for alpha, wrt bug #512012 + + 10 Aug 2014; Agostino Sarubbo <ago@gentoo.org> x264-0.0.20140308.ebuild: + Stable for sparc, wrt bug #515234 + + 09 Aug 2014; Agostino Sarubbo <ago@gentoo.org> x264-0.0.20140308.ebuild: + Stable for ppc64, wrt bug #515234 + + 07 Aug 2014; Jeroen Roovers <jer@gentoo.org> x264-0.0.20140308.ebuild: + Stable for HPPA (bug #512012). + + 31 Jul 2014; Tobias Klausmann <klausman@gentoo.org> x264-0.0.20130506.ebuild: + Stable on alpha, bug #515234 + + 28 Jul 2014; Agostino Sarubbo <ago@gentoo.org> x264-0.0.20140308.ebuild: + Stable for ppc, wrt bug #512012 + + 23 Jul 2014; Agostino Sarubbo <ago@gentoo.org> x264-0.0.20140308.ebuild: + Stable for x86, wrt bug #512012 + + 22 Jul 2014; Agostino Sarubbo <ago@gentoo.org> x264-0.0.20140308.ebuild: + Stable for amd64, wrt bug #512912 + + 18 Jun 2014; Michał Górny <mgorny@gentoo.org> x264-0.0.20140308.ebuild, + x264-9999.ebuild: + Update dependencies to require guaranteed EAPI=5 or multilib ebuilds, bug + #513718. + +*x264-0.0.20140308 (09 Mar 2014) + + 09 Mar 2014; Alexis Ballier <aballier@gentoo.org> +x264-0.0.20140308.ebuild: + bump a new snapshot + + 09 Mar 2014; Alexis Ballier <aballier@gentoo.org> x264-9999.ebuild: + current git uses .so.142: update subslot + + 09 Mar 2014; Alexis Ballier <aballier@gentoo.org> x264-9999.ebuild: + add multilib-usedep on opencl + + 22 Sep 2013; Samuli Suominen <ssuominen@gentoo.org> x264-0.0.20130912.ebuild, + x264-9999.ebuild: + 20130912 snapshot and current git uses .so.138 instead of .so.135 wrt #484892 + by Arfrever Frehtes Taifersar Arahesis + +*x264-0.0.20130912 (13 Sep 2013) + + 13 Sep 2013; Luca Barbato <lu_zero@gentoo.org> x264-0.0.20130731.ebuild, + files/x264-cflags.patch, +files/x264-0.0.20130731-cflags.patch, + +x264-0.0.20130912.ebuild: + Version bump, cflags patch updated + + 12 Aug 2013; Alexis Ballier <aballier@gentoo.org> x264-0.0.20130731.ebuild, + x264-9999.ebuild, metadata.xml: + Add opencl useflag and disable it on snapshot + + 12 Aug 2013; Alexis Ballier <aballier@gentoo.org> x264-0.0.20130731.ebuild, + x264-9999.ebuild: + fix static-libs inverted logic + +*x264-0.0.20130731 (01 Aug 2013) + + 01 Aug 2013; Alexis Ballier <aballier@gentoo.org> +x264-0.0.20130731.ebuild: + new snapshot with the accumulated fixes + + 01 Aug 2013; Alexis Ballier <aballier@gentoo.org> x264-9999.ebuild: + Go multilib and stack for for medialibs r8 + + 01 Aug 2013; Alexis Ballier <aballier@gentoo.org> x264-9999.ebuild, + +files/x264-cflags.patch: + Do not mess too much with CFLAGS. Should fix bug #413661 and bug #351219. + + 01 Aug 2013; Alexis Ballier <aballier@gentoo.org> x264-9999.ebuild: + drop custom-cflags useflag, bug #473816 + + 01 Aug 2013; Alexis Ballier <aballier@gentoo.org> x264-9999.ebuild: + inherit eutils for the x32 patch + + 01 Aug 2013; Alexis Ballier <aballier@gentoo.org> x264-9999.ebuild: + Give a subslot even to -9999 and update soname + + 26 Jun 2013; Patrick McLean <chutzpah@gentoo.org> x264-0.0.20130506.ebuild, + x264-9999.ebuild: + Remove QA_TEXTREL to unhide the fact the the library has textrels. Switch + 9999 to master rather than stable branch (bug #474430). + + 19 Jun 2013; Patrick McLean <chutz@gentoo.org> x264-0.0.20130506.ebuild, + x264-9999.ebuild: + Remove the debug USE flag as all it does is add -g to the CFLAGS (bug + #473814). Re-add the amd64-fbsd yasm dependency (bug #473798). + + 19 Jun 2013; Jeroen Roovers <jer@gentoo.org> x264-0.0.20120707.ebuild: + Stable for HPPA too. + +*x264-0.0.20130506 (18 Jun 2013) + + 18 Jun 2013; Patrick McLean <chutz@gentoo.org> -x264-0.0.20110426.ebuild, + +x264-0.0.20130506.ebuild, x264-9999.ebuild, metadata.xml: + Version bump (bug #473726). Refactor ebuild to be much less verbose, add + subslot on soname, use usex rather than myconf. Drop 0.0.20110426 since it + uses an old EAPI. + + 16 Apr 2013; Patrick McLean <chutz@gentoo.org> x264-0.0.20120707.ebuild, + +files/x264-0.0.20120707-gcc48.patch: + Add patch from upstream to fix crashes when compiled with gcc 4.8 + + 04 Feb 2013; Agostino Sarubbo <ago@gentoo.org> x264-0.0.20120707.ebuild: + revert to ~arm, it was stabilized for a mistake + + 04 Feb 2013; Agostino Sarubbo <ago@gentoo.org> x264-0.0.20120707.ebuild: + Stable for arm, wrt bug #454906 + + 03 Feb 2013; Agostino Sarubbo <ago@gentoo.org> x264-0.0.20120707.ebuild: + Add ~arm, wrt bug #450672 + + 03 Feb 2013; Agostino Sarubbo <ago@gentoo.org> x264-0.0.20120707.ebuild: + Add ~ia64, wrt bug #450672 + + 02 Feb 2013; Samuli Suominen <ssuominen@gentoo.org> x264-0.0.20120707.ebuild, + x264-9999.ebuild: + Missing dev-lang/yasm dependency for amd64-fbsd wrt #455006 by Yuta SATOH + + 01 Feb 2013; Agostino Sarubbo <ago@gentoo.org> x264-0.0.20111220.ebuild: + Stable for ppc, wrt bug #454906 + + 01 Feb 2013; Agostino Sarubbo <ago@gentoo.org> x264-0.0.20111220.ebuild: + Stable for ppc64, wrt bug #454906 + + 16 Dec 2012; Jeroen Roovers <jer@gentoo.org> x264-0.0.20120707.ebuild: + Marked ~hppa (bug #446582). + + 04 Oct 2012; Christoph Junghans <ottxor@gentoo.org> x264-0.0.20120707.ebuild: + added prefix keywords (bug #351219) + + 25 Sep 2012; Mike Frysinger <vapier@gentoo.org> +files/x264-x32.patch, + x264-0.0.20120707.ebuild: + Disable asm code for x32 so it at least runs #420241 by Xavier Miller. + + 01 Sep 2012; Luca Barbato <lu_zero@gentoo.org> x264-0.0.20120707.ebuild: + Update to support prefix, fix bug #351219, thanks to the people involved + +*x264-0.0.20120707 (08 Jul 2012) + + 08 Jul 2012; Luca Barbato <lu_zero@gentoo.org> +x264-0.0.20120707.ebuild: + version bump + + 15 May 2012; Alexis Ballier <aballier@gentoo.org> x264-0.0.20120327.ebuild, + x264-9999.ebuild: + keyword ~amd64-fbsd + + 07 May 2012; Tomáš Chvátal <scarabeus@gentoo.org> -files/x264-altivec.patch, + -files/x264-onlylib-20100605.patch, -x264-0.0.20100605.ebuild, + -x264-0.0.20101029.ebuild, -x264-0.0.20110223.ebuild, + -x264-0.0.20110825-r1.ebuild, -x264-0.0.20111017.ebuild, + -x264-0.0.20111218.ebuild: + Lower the number of available versions a bit. + + 15 Apr 2012; Raúl Porcel <armin76@gentoo.org> x264-0.0.20111220.ebuild: + alpha/sparc stable wrt #411396 + + 12 Apr 2012; Andreas Schuerch <nativemad@gentoo.org> + x264-0.0.20111220.ebuild: + x86 stable, see bug 411369 + + 09 Apr 2012; Agostino Sarubbo <ago@gentoo.org> x264-0.0.20111220.ebuild: + Stable for amd64, wrt bug #401069 + + 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..336a102 --- /dev/null +++ b/media-libs/x264/Manifest @@ -0,0 +1,4 @@ +AUX x264-cflags.patch 2129 SHA256 97e138915418bcf43a3325bca31e55844cc2b44f1b8c22a2ae809d72f6db8bab SHA512 801d8ba44fb21b6e97a2f488686780f87ba27557a85f0faddc9f76ced43f8f98f294545e9e82ab2fed6761f9b5f466fce92bd1b3f1aa9a8b175abc85fd45e86a WHIRLPOOL 630b5c264457263490df95b1ddd96d08fada6ffb8df717a4cf9fe99d9ebc95427852f2638946d49c0ff8722511d1dfb0fe9b1c0377b4a79eb0ef7fb7e0d83263 +EBUILD x264-9999.ebuild 2209 SHA256 dfc88987b57736ac9d63d26acbc50e4db8aa2d0f9b8a8e8d7d15440e3959c73e SHA512 994f4796b6cd5c9d82663eca73721101c20940a04b97638b73dcaa09518b45b611dd8abfd09e51d2ab247c15bb9906db4529f4bfceed91cecaff1393fe76fc2a WHIRLPOOL 9d18b7faf23419fbfba605bcdd64846033ec87a49b528682c428d226c3ec7ae3ad8813d497b47984e2228d3b8e7c08a11e31040e6a3be547cd5d55b0d11d3115 +MISC ChangeLog 16601 SHA256 a4ffd702ac2479362cc16549c86339785ee9b29d28a0548d90cc4990df034deb SHA512 6ec33d6131ad304a0e1f9e17cfb75239e3df36423bb0cbd07e69b0c2a013c4bcf1f3db77b10e7e0525aec605cc9a4a4ee5333d4b6a800a20c2ac329b589b9ad2 WHIRLPOOL 69c23bcbdc89ed79f301951403518f8e3600a3705c9ec7a5db56072b74581f41f3da5eef06b156d95e9ae615928f3259a5edf18bb231c3f135834f4bb6a268f2 +MISC metadata.xml 606 SHA256 175feae20fc3d84511ce15a469df3ccbd75c02fa75eef9d5ad7c3d5c6c3fead3 SHA512 3ee5bd067211cb998771e58ac79e18a9cf7e87d2aaed48b4f766d226ccac3b74199934e1f911bba3389b16ca28661a9e04bbf7fa65069a10682c0327dc4b4b4b WHIRLPOOL 6637b3208323e2eee0dc64572659b6841e29a45232dc3b2209aa4c0b723a39fb75953209da958435510abbbc377b5f36d8890918600dbd837fa553a413823e1e diff --git a/media-libs/x264/files/x264-cflags.patch b/media-libs/x264/files/x264-cflags.patch new file mode 100644 index 0000000..5c45d3e --- /dev/null +++ b/media-libs/x264/files/x264-cflags.patch @@ -0,0 +1,54 @@ +diff --git a/a/configure b/b/configure +index 0a4cb94..8f7ef75 100755 +--- a/a/configure ++++ b/b/configure +@@ -591,11 +591,6 @@ case $host_cpu in + if [[ "$asm" == auto && "$CFLAGS" != *-march* ]]; then + CFLAGS="$CFLAGS -march=i686" + fi +- if [[ "$asm" == auto && "$CFLAGS" != *-mfpmath* ]]; then +- CFLAGS="$CFLAGS -mfpmath=sse -msse" +- fi +- CFLAGS="-m32 $CFLAGS" +- LDFLAGS="-m32 $LDFLAGS" + elif [ $compiler = ICC ]; then + # icc on linux has various degrees of mod16 stack support + if [ $SYS = LINUX ]; then +@@ -627,13 +622,8 @@ case $host_cpu in + ARCH="X86_64" + AS="yasm" + ASFLAGS="$ASFLAGS -DARCH_X86_64=1 -I\$(SRCPATH)/common/x86/" +- [ $compiler = GNU ] && CFLAGS="-m64 $CFLAGS" && LDFLAGS="-m64 $LDFLAGS" + if [ "$SYS" = MACOSX ]; then + ASFLAGS="$ASFLAGS -f macho64 -m amd64 -DPIC -DPREFIX" +- if cc_check '' "-arch x86_64"; then +- CFLAGS="$CFLAGS -arch x86_64" +- LDFLAGS="$LDFLAGS -arch x86_64" +- fi + elif [ "$SYS" = WINDOWS -o "$SYS" = CYGWIN ]; then + ASFLAGS="$ASFLAGS -f win32 -m amd64" + # only the GNU toolchain is inconsistent in prefixing function names with _ +@@ -641,7 +631,11 @@ case $host_cpu in + [ $compiler = GNU ] && LDFLAGS="$LDFLAGS -Wl,--nxcompat -Wl,--dynamicbase" + [ $compiler = GNU ] && RCFLAGS="--target=pe-x86-64 $RCFLAGS" + else +- ASFLAGS="$ASFLAGS -f elf -m amd64" ++ if cpp_check "" "" "__ILP32__" ; then ++ ASFLAGS="$ASFLAGS -f elf -m x32" ++ else ++ ASFLAGS="$ASFLAGS -f elf -m amd64" ++ fi + fi + ;; + powerpc|powerpc64) +@@ -1006,10 +1000,6 @@ if [ "$pic" = "yes" ] ; then + [ $SYS = SunOS -a "$ARCH" = "X86" ] && SOFLAGS="$SOFLAGS -mimpure-text" + fi + +-if [ "$debug" != "yes" -a "$gprof" != "yes" ]; then +- CFLAGS="$CFLAGS -fomit-frame-pointer" +-fi +- + if [ "$strip" = "yes" ]; then + LDFLAGS="$LDFLAGS -s" + fi diff --git a/media-libs/x264/metadata.xml b/media-libs/x264/metadata.xml new file mode 100644 index 0000000..4854bbd --- /dev/null +++ b/media-libs/x264/metadata.xml @@ -0,0 +1,14 @@ +<?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="10bit">Set output bit depth to 10, this may not be compatible with all decoders</flag> + <flag name="interlaced">enable interlaced encoding support, this can decrease encoding speed by up to 2%</flag> + <flag name="opencl">Add support for OpenCL.</flag> + <flag name="pic">disable optimized assembly code that is not PIC friendly</flag> + </use> +</pkgmetadata> diff --git a/media-libs/x264/x264-9999.ebuild b/media-libs/x264/x264-9999.ebuild new file mode 100644 index 0000000..5c7dfe3 --- /dev/null +++ b/media-libs/x264/x264-9999.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2014 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.20 2014/06/18 20:00:07 mgorny Exp $ + +EAPI=5 + +inherit flag-o-matic multilib toolchain-funcs eutils multilib-minimal + +DESCRIPTION="A free library for encoding X264/AVC streams" +HOMEPAGE="http://www.videolan.org/developers/x264.html" +if [[ ${PV} == 9999 ]]; then + inherit git-2 + EGIT_REPO_URI="git://git.videolan.org/x264.git" +else + inherit versionator + MY_P="x264-snapshot-$(get_version_component_range 3)-2245" + SRC_URI="http://download.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" + S="${WORKDIR}/${MY_P}" +fi + +SONAME="142" +SLOT="0/${SONAME}" + +LICENSE="GPL-2" +IUSE="10bit +interlaced opencl pic static-libs sse +threads" + +ASM_DEP=">=dev-lang/yasm-1.2.0" +DEPEND="abi_x86_32? ( ${ASM_DEP} ) + abi_x86_64? ( ${ASM_DEP} ) + opencl? ( dev-lang/perl )" +RDEPEND="opencl? ( >=virtual/opencl-0-r3[${MULTILIB_USEDEP}] ) + abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r7 + !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" + +DOCS="AUTHORS doc/*.txt" + +src_prepare() { + # Initial support for x32 ABI, bug #420241 + # Avoid messing too much with CFLAGS. + epatch "${FILESDIR}"/x264-cflags.patch +} + +multilib_src_configure() { + tc-export CC + local asm_conf="" + + if [[ ${ABI} == x86* ]] && use pic || [[ ${ABI} == "x32" ]]; then + asm_conf=" --disable-asm" + fi + + # Upstream uses this, see the cflags patch + use sse && append-flags "-msse" "-mfpmath=sse" + + "${S}/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}" \ + $(usex 10bit "--bit-depth=10" "") \ + $(usex interlaced "" "--disable-interlaced") \ + $(usex opencl "" "--disable-opencl") \ + $(usex static-libs "--enable-static" "") \ + $(usex threads "" "--disable-thread") \ + ${asm_conf} || die +} |