From 7c3043f05d95bafa76f3b3cc472b0a4bec69ef7c Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Sun, 25 Mar 2007 19:38:53 +0000 Subject: [PATCH] New snapshot Package-Manager: portage-2.1.2.2 --- media-libs/x264-svn/ChangeLog | 9 ++- media-libs/x264-svn/Manifest | 32 ++++++++--- .../x264-svn/files/digest-x264-svn-20070325 | 3 + .../files/x264-svn-20070325-nostrip.patch | 16 ++++++ .../files/x264-svn-20070325-onlylib.patch | 28 ++++++++++ media-libs/x264-svn/x264-svn-20070325.ebuild | 56 +++++++++++++++++++ 6 files changed, 135 insertions(+), 9 deletions(-) create mode 100644 media-libs/x264-svn/files/digest-x264-svn-20070325 create mode 100644 media-libs/x264-svn/files/x264-svn-20070325-nostrip.patch create mode 100644 media-libs/x264-svn/files/x264-svn-20070325-onlylib.patch create mode 100644 media-libs/x264-svn/x264-svn-20070325.ebuild diff --git a/media-libs/x264-svn/ChangeLog b/media-libs/x264-svn/ChangeLog index 9b0bbb94dbbc..339b01b136dd 100644 --- a/media-libs/x264-svn/ChangeLog +++ b/media-libs/x264-svn/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/x264-svn # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264-svn/ChangeLog,v 1.46 2007/02/02 09:51:31 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264-svn/ChangeLog,v 1.47 2007/03/25 19:38:52 aballier Exp $ + +*x264-svn-20070325 (25 Mar 2007) + + 25 Mar 2007; Alexis Ballier + +files/x264-svn-20070325-nostrip.patch, + +files/x264-svn-20070325-onlylib.patch, +x264-svn-20070325.ebuild: + New snapshot 02 Feb 2007; Alexis Ballier +files/x264-svn-20060302-nostrip.patch: diff --git a/media-libs/x264-svn/Manifest b/media-libs/x264-svn/Manifest index dd79ee3b9881..d7038d3cf3ed 100644 --- a/media-libs/x264-svn/Manifest +++ b/media-libs/x264-svn/Manifest @@ -13,8 +13,17 @@ AUX x264-svn-20061014-onlylib.patch 970 RMD160 8ee01d032aef7903569716cd99ed3429f MD5 386705096636abfdc1950c4c325d9b97 files/x264-svn-20061014-onlylib.patch 970 RMD160 8ee01d032aef7903569716cd99ed3429fc2ae80c files/x264-svn-20061014-onlylib.patch 970 SHA256 fd690a2de0c45c5884b46bcb9a62ccf122c8a7ea6f445a2887148d62e963d0fa files/x264-svn-20061014-onlylib.patch 970 +AUX x264-svn-20070325-nostrip.patch 433 RMD160 81c3893b1a02839da38f34484c794996855fab5e SHA1 42c0807d6f2f13f848409d9545994c8b66338c8c SHA256 1210914cc52de908b840775ab8e4a107d95aeced690c2f115320d31e587a2ffa +MD5 287a591572985d408a30f928f7b65f2a files/x264-svn-20070325-nostrip.patch 433 +RMD160 81c3893b1a02839da38f34484c794996855fab5e files/x264-svn-20070325-nostrip.patch 433 +SHA256 1210914cc52de908b840775ab8e4a107d95aeced690c2f115320d31e587a2ffa files/x264-svn-20070325-nostrip.patch 433 +AUX x264-svn-20070325-onlylib.patch 1021 RMD160 daed97f749a1d6a1a9cf58135dffb55002ead0f5 SHA1 5675c3502ac81b0efb42bbaffd2c7af7583d3298 SHA256 42a96152f790654585a79a849a757394f3fb48caee74c3a8ca4d8ba076c5250a +MD5 08d9a075d5328234a0a4dc7667ef7023 files/x264-svn-20070325-onlylib.patch 1021 +RMD160 daed97f749a1d6a1a9cf58135dffb55002ead0f5 files/x264-svn-20070325-onlylib.patch 1021 +SHA256 42a96152f790654585a79a849a757394f3fb48caee74c3a8ca4d8ba076c5250a files/x264-svn-20070325-onlylib.patch 1021 DIST x264-svn-20060612.tar.bz2 303875 RMD160 96aebd16a5d59eeb278118e41bd3ed13991901bc SHA1 be6fe19ad3e0a091077dcc94f7d4a80820fe3454 SHA256 18b2e756aa9fdb71194b0b98412f36bb633f7b76d8629327619fb621b0f2a92d DIST x264-svn-20061014.tar.bz2 288203 RMD160 c6f7275a3691c18821d1562a3b7db8e3b01ac886 SHA1 32e68b019f0871eb85cb29084008e54175a49de0 SHA256 4a26b883d7f9c4f3cff56a3034e9f7617d2b1cd4f8d1846b886130fffdbf6bbc +DIST x264-svn-20070325.tar.bz2 492487 RMD160 38d9c2aa39567de39a950c45cd032ff3599b0d5b SHA1 b3ac04e09af1f936fb67b13c20c8f82b4b9c448d SHA256 b2398f83b5949032e9a42bb8b2f70d00a18bdbff2f6b0bb6897d65384c42ca28 EBUILD x264-svn-20060612.ebuild 1243 RMD160 efc5a6eb420c5972b831cdf374e6b1016e27b045 SHA1 6d58135ea9029dfb386aafa962bbd0c06665ef9c SHA256 2851d394d618e2b4eef260a89bfb7decd39297aa6282ea208eda349c30562292 MD5 4ac8ccfabed868a14af8540f66a346be x264-svn-20060612.ebuild 1243 RMD160 efc5a6eb420c5972b831cdf374e6b1016e27b045 x264-svn-20060612.ebuild 1243 @@ -27,10 +36,14 @@ EBUILD x264-svn-20061014.ebuild 1233 RMD160 ac410cb6c44a80cc47c39e6f0a7c10a42fff MD5 587b9b013f7a6846ca9348ad20a5431b x264-svn-20061014.ebuild 1233 RMD160 ac410cb6c44a80cc47c39e6f0a7c10a42fffcf60 x264-svn-20061014.ebuild 1233 SHA256 921d652f1bc00b76c28652f4519d4b05d2d02df1911ff0f63eb6773acd27a005 x264-svn-20061014.ebuild 1233 -MISC ChangeLog 6178 RMD160 382394b8cc8fd8be79c8bc2f630b5849b62dbc10 SHA1 19ea67312f827e3726da228458d7fb5fbeee4fff SHA256 6e06b16e0b8d9bfa9aaaf28de683bb0c6e4f1076ff0fccf10d98c19bc5832b93 -MD5 959743b954db2421758d2f573e855088 ChangeLog 6178 -RMD160 382394b8cc8fd8be79c8bc2f630b5849b62dbc10 ChangeLog 6178 -SHA256 6e06b16e0b8d9bfa9aaaf28de683bb0c6e4f1076ff0fccf10d98c19bc5832b93 ChangeLog 6178 +EBUILD x264-svn-20070325.ebuild 1402 RMD160 8ff8db5d12197365e5d226153e3ce2019332cdde SHA1 99e63fea4a15e76ea752a698c706a19caccc817f SHA256 00e63bd24b332ae6d3c9a08c93c882e34b9227e0493a66de2f80dc213cf947bd +MD5 b7893dae2ba423dde4da4962a60cd3d8 x264-svn-20070325.ebuild 1402 +RMD160 8ff8db5d12197365e5d226153e3ce2019332cdde x264-svn-20070325.ebuild 1402 +SHA256 00e63bd24b332ae6d3c9a08c93c882e34b9227e0493a66de2f80dc213cf947bd x264-svn-20070325.ebuild 1402 +MISC ChangeLog 6391 RMD160 d0e18e70a1563162a547b5a5b59a07e00c10874b SHA1 3bc6c46dc516d013359daa6b91892bcf6eac1ae5 SHA256 87fe995d73cef80d701f3d3ecf85fdb963ec90be08823aaaa552e4abcabde316 +MD5 82d21867540621d4a9fa229fb8d4c965 ChangeLog 6391 +RMD160 d0e18e70a1563162a547b5a5b59a07e00c10874b ChangeLog 6391 +SHA256 87fe995d73cef80d701f3d3ecf85fdb963ec90be08823aaaa552e4abcabde316 ChangeLog 6391 MISC metadata.xml 251 RMD160 11462994b78856883a805c72334300d07101713d SHA1 a8362b29138cd87a592947af33840bf3210cfc59 SHA256 0e151c0a2781f2632c75a2f2c3b1a8d187aed329467472236c65627a7e0ba42f MD5 955f56e990f8c32d705708b4cc4db089 metadata.xml 251 RMD160 11462994b78856883a805c72334300d07101713d metadata.xml 251 @@ -44,10 +57,13 @@ SHA256 4eadce87a1d26efb89411dbe5e48facd55b86041f42e243e12d9b83312d04a35 files/di MD5 6d5365124573273cf12da2f1661947c4 files/digest-x264-svn-20061014-r1 256 RMD160 77d4aebcff05a92e9ea863b624efba907579947d files/digest-x264-svn-20061014-r1 256 SHA256 4eadce87a1d26efb89411dbe5e48facd55b86041f42e243e12d9b83312d04a35 files/digest-x264-svn-20061014-r1 256 +MD5 b62afa9b61a3b75309e3449e1e66e7f4 files/digest-x264-svn-20070325 256 +RMD160 5ebd356c5f0a770fbbe59125ae72fec7816e3a94 files/digest-x264-svn-20070325 256 +SHA256 437d0cf75bd5a0b8447e676f73cd94bc4ffa22fbc0a2abe77cdbf9278f959241 files/digest-x264-svn-20070325 256 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.1 (GNU/Linux) +Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFFwwmqvFcC4BYPU0oRAlYRAJ464+hHhCo/MivuywIAtg4d6H83QwCfdN7P -qqM9/maZ7P4hVP8hPK9jF38= -=g62v +iD8DBQFGBs/QvFcC4BYPU0oRAngXAJ91dLVIEICoWGR9/NnZVbbg80xe6gCgqIZB +OtSmycznoYp/K5a5yKnKIFo= +=tk3a -----END PGP SIGNATURE----- diff --git a/media-libs/x264-svn/files/digest-x264-svn-20070325 b/media-libs/x264-svn/files/digest-x264-svn-20070325 new file mode 100644 index 000000000000..b8d69201ad16 --- /dev/null +++ b/media-libs/x264-svn/files/digest-x264-svn-20070325 @@ -0,0 +1,3 @@ +MD5 42f074237b0fbcd107c28360f1c6f1f4 x264-svn-20070325.tar.bz2 492487 +RMD160 38d9c2aa39567de39a950c45cd032ff3599b0d5b x264-svn-20070325.tar.bz2 492487 +SHA256 b2398f83b5949032e9a42bb8b2f70d00a18bdbff2f6b0bb6897d65384c42ca28 x264-svn-20070325.tar.bz2 492487 diff --git a/media-libs/x264-svn/files/x264-svn-20070325-nostrip.patch b/media-libs/x264-svn/files/x264-svn-20070325-nostrip.patch new file mode 100644 index 000000000000..b4e2689a18e6 --- /dev/null +++ b/media-libs/x264-svn/files/x264-svn-20070325-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-svn/files/x264-svn-20070325-onlylib.patch b/media-libs/x264-svn/files/x264-svn-20070325-onlylib.patch new file mode 100644 index 000000000000..d429ac0952f8 --- /dev/null +++ b/media-libs/x264-svn/files/x264-svn-20070325-onlylib.patch @@ -0,0 +1,28 @@ +Index: x264-svn/Makefile +=================================================================== +--- x264-svn.orig/Makefile ++++ x264-svn/Makefile +@@ -66,7 +66,7 @@ DEP = depend + .PHONY: all default fprofiled clean distclean install install-gtk uninstall dox test testclean + all: default + +-default: $(DEP) x264$(EXE) ++default: $(DEP) + + libx264.a: .depend $(OBJS) $(OBJASM) + ar rc libx264.a $(OBJS) $(OBJASM) +@@ -142,13 +142,12 @@ distclean: clean + rm -rf test/ + $(MAKE) -C gtk distclean + +-install: x264 $(SONAME) ++install: libx264.a $(SONAME) + install -d $(DESTDIR)$(bindir) $(DESTDIR)$(includedir) + install -d $(DESTDIR)$(libdir) $(DESTDIR)$(libdir)/pkgconfig + install -m 644 x264.h $(DESTDIR)$(includedir) + install -m 644 libx264.a $(DESTDIR)$(libdir) + install -m 644 x264.pc $(DESTDIR)$(libdir)/pkgconfig +- install x264 $(DESTDIR)$(bindir) + ranlib $(DESTDIR)$(libdir)/libx264.a + $(if $(SONAME), ln -sf $(SONAME) $(DESTDIR)$(libdir)/libx264.so) + $(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(libdir)) diff --git a/media-libs/x264-svn/x264-svn-20070325.ebuild b/media-libs/x264-svn/x264-svn-20070325.ebuild new file mode 100644 index 000000000000..6cd834b90add --- /dev/null +++ b/media-libs/x264-svn/x264-svn-20070325.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264-svn/x264-svn-20070325.ebuild,v 1.1 2007/03/25 19:38:52 aballier Exp $ + +inherit multilib eutils toolchain-funcs + +IUSE="debug threads" + +DESCRIPTION="A free library for encoding X264/AVC streams." +HOMEPAGE="http://developers.videolan.org/x264.html" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND="" + +DEPEND="${RDEPEND} + amd64? ( >=dev-lang/yasm-0.6.0 ) + x86? ( dev-lang/nasm ) + x86-fbsd? ( dev-lang/nasm )" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-nostrip.patch" + epatch "${FILESDIR}/${P}-onlylib.patch" +} + +src_compile() { + ./configure --prefix=/usr \ + --libdir=/usr/$(get_libdir) \ + --enable-pic --enable-shared \ + "--extra-cflags=${CFLAGS}" \ + "--extra-ldflags=${LDFLAGS}" \ + "--extra-asflags=${ASFLAGS}" \ + $(use_enable debug) \ + $(use_enable threads pthread) \ + --disable-mp4-output \ + || die "configure failed" + emake CC="$(tc-getCC)" || die "make failed" +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc AUTHORS +} + +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-svn-encoder" +} -- 2.26.2