From 24e269ec17d532104326f663e6855a1970579eed Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Thu, 7 Dec 2006 13:05:11 +0000 Subject: [PATCH] Rev bump : installs only the library, the encoder part is now in media-video/x264-svn-encoder Package-Manager: portage-2.1.2_rc2-r5 --- media-libs/x264-svn/ChangeLog | 9 ++- media-libs/x264-svn/Manifest | 37 +++++++++--- .../files/digest-x264-svn-20051004-r1 | 2 + .../files/digest-x264-svn-20061014-r1 | 3 + .../files/x264-svn-20061014-onlylib.patch | 26 +++++++++ .../x264-svn/x264-svn-20061014-r1.ebuild | 57 +++++++++++++++++++ 6 files changed, 125 insertions(+), 9 deletions(-) create mode 100644 media-libs/x264-svn/files/digest-x264-svn-20061014-r1 create mode 100644 media-libs/x264-svn/files/x264-svn-20061014-onlylib.patch create mode 100644 media-libs/x264-svn/x264-svn-20061014-r1.ebuild diff --git a/media-libs/x264-svn/ChangeLog b/media-libs/x264-svn/ChangeLog index 3e2c2eb3e4d1..ba7283246d83 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-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264-svn/ChangeLog,v 1.34 2006/10/14 21:35:35 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264-svn/ChangeLog,v 1.35 2006/12/07 13:05:11 aballier Exp $ + +*x264-svn-20061014-r1 (07 Dec 2006) + + 07 Dec 2006; Alexis Ballier + +files/x264-svn-20061014-onlylib.patch, +x264-svn-20061014-r1.ebuild: + Rev bump : installs only the library, the encoder part is now in + media-video/x264-svn-encoder *x264-svn-20061014 (14 Oct 2006) diff --git a/media-libs/x264-svn/Manifest b/media-libs/x264-svn/Manifest index c41e1e4cf818..2db13a161527 100644 --- a/media-libs/x264-svn/Manifest +++ b/media-libs/x264-svn/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX x264-svn-20060302-nostrip.patch 551 RMD160 7a570670550f52d8ef0bfd453a507f4c03a3e113 SHA1 8769a5fceb6eef902996818d35d12ba08b2dce30 SHA256 c2e37410125dfe3dcd54fb2e0a5f935de6527b1feefc0a1e0740ee29467c6a37 MD5 57e7820574c843c1c1a93edc16ae58b9 files/x264-svn-20060302-nostrip.patch 551 RMD160 7a570670550f52d8ef0bfd453a507f4c03a3e113 files/x264-svn-20060302-nostrip.patch 551 @@ -10,7 +13,11 @@ AUX x264-svn-20061014-nostrip.patch 382 RMD160 6fa83e20d77c9cc3e14d1706e3dd6b27e MD5 c60cd3f4a2be672763caff6203c54388 files/x264-svn-20061014-nostrip.patch 382 RMD160 6fa83e20d77c9cc3e14d1706e3dd6b27e9dc4442 files/x264-svn-20061014-nostrip.patch 382 SHA256 dad0c80f08c260d6896c6b0a61351e5f3c827e43dcaf26a62a3a335843716687 files/x264-svn-20061014-nostrip.patch 382 -DIST x264-svn-20051004.tar.bz2 387036 +AUX x264-svn-20061014-onlylib.patch 970 RMD160 8ee01d032aef7903569716cd99ed3429fc2ae80c SHA1 85119e5b8fc752945154127538a7782311171478 SHA256 fd690a2de0c45c5884b46bcb9a62ccf122c8a7ea6f445a2887148d62e963d0fa +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 +DIST x264-svn-20051004.tar.bz2 387036 RMD160 cd9f2c3e111c08720ba8d08dcd90c9f3d8702ae6 SHA1 ee62da38700ec34b7d508d7e60dd97eec3ce582d SHA256 038613f20552c125a58d7d560db32dc6286d7ae84be407706c1904e1ace99518 DIST x264-svn-20060302.tar.bz2 364945 RMD160 b0b41991f358411d58c0f8c71b943b220d8feecc SHA1 7c637fae0b52027eb52c076aec8480f28b6242e2 SHA256 c1e475833ffba50f3f6d9b050f85e0dc68636abed8fcbdcad51ba8e5a7cc1a17 DIST x264-svn-20060409.tar.bz2 438411 RMD160 550d203e8a0bc64e4309b3b754b2773799159bdc SHA1 67e0c9483a9bd95360ba19b45a324d5246c3bd37 SHA256 ea3422fe6c08c8e036eac28031d2dc907898b2ce70ebe0d63e5e1482d02382df DIST x264-svn-20060612.tar.bz2 303875 RMD160 96aebd16a5d59eeb278118e41bd3ed13991901bc SHA1 be6fe19ad3e0a091077dcc94f7d4a80820fe3454 SHA256 18b2e756aa9fdb71194b0b98412f36bb633f7b76d8629327619fb621b0f2a92d @@ -40,21 +47,25 @@ EBUILD x264-svn-20060810.ebuild 1244 RMD160 7e9690443eb20171e3ac5630df118963190e MD5 d995fb5a67b9e1da6d324b54f76dbc5e x264-svn-20060810.ebuild 1244 RMD160 7e9690443eb20171e3ac5630df118963190ebdf3 x264-svn-20060810.ebuild 1244 SHA256 6ea1007e8894a01cf4556c81add8f1ac05005e81d2ecfd0e255005eb53b32a42 x264-svn-20060810.ebuild 1244 +EBUILD x264-svn-20061014-r1.ebuild 1404 RMD160 7de7d15fd24f2e8daf66da55216ba58ac54c652c SHA1 6e49719c5d710e0e782981c453e287785282a39b SHA256 d0b867746750cb3681f553df71875c6875943945bd836d9f7df1ea359c926f52 +MD5 140a4d84cadca05a34f177525b4bb5f8 x264-svn-20061014-r1.ebuild 1404 +RMD160 7de7d15fd24f2e8daf66da55216ba58ac54c652c x264-svn-20061014-r1.ebuild 1404 +SHA256 d0b867746750cb3681f553df71875c6875943945bd836d9f7df1ea359c926f52 x264-svn-20061014-r1.ebuild 1404 EBUILD x264-svn-20061014.ebuild 1233 RMD160 ac410cb6c44a80cc47c39e6f0a7c10a42fffcf60 SHA1 220f1e301f70106109598093492bfb268a924fda SHA256 921d652f1bc00b76c28652f4519d4b05d2d02df1911ff0f63eb6773acd27a005 MD5 587b9b013f7a6846ca9348ad20a5431b x264-svn-20061014.ebuild 1233 RMD160 ac410cb6c44a80cc47c39e6f0a7c10a42fffcf60 x264-svn-20061014.ebuild 1233 SHA256 921d652f1bc00b76c28652f4519d4b05d2d02df1911ff0f63eb6773acd27a005 x264-svn-20061014.ebuild 1233 -MISC ChangeLog 4451 RMD160 e27dd9e71e681bd3c3682376c2c8dff2ee80a3b4 SHA1 b1d64e2f3816ddd9c77debfefb838e302305ba82 SHA256 d48dfecf38c6f86f32f1be882bee5fd974ede7c506b2af18d3b2cc060d2546ca -MD5 48b99c5d4db7f0f741d333f4bafbe086 ChangeLog 4451 -RMD160 e27dd9e71e681bd3c3682376c2c8dff2ee80a3b4 ChangeLog 4451 -SHA256 d48dfecf38c6f86f32f1be882bee5fd974ede7c506b2af18d3b2cc060d2546ca ChangeLog 4451 +MISC ChangeLog 4712 RMD160 66317f97b9f321a634f55fed0e35aa644c7fe23b SHA1 09c1ada0862d1995301b8ea8f74796f7d8c99e6d SHA256 825482e2a443791649c4992c74cbfc6bd0db8fcd8ac1bbeba5b8f606c8fabbbb +MD5 836b7ad4c30a2d7f6e56640e4f5de64d ChangeLog 4712 +RMD160 66317f97b9f321a634f55fed0e35aa644c7fe23b ChangeLog 4712 +SHA256 825482e2a443791649c4992c74cbfc6bd0db8fcd8ac1bbeba5b8f606c8fabbbb ChangeLog 4712 MISC metadata.xml 251 RMD160 11462994b78856883a805c72334300d07101713d SHA1 a8362b29138cd87a592947af33840bf3210cfc59 SHA256 0e151c0a2781f2632c75a2f2c3b1a8d187aed329467472236c65627a7e0ba42f MD5 955f56e990f8c32d705708b4cc4db089 metadata.xml 251 RMD160 11462994b78856883a805c72334300d07101713d metadata.xml 251 SHA256 0e151c0a2781f2632c75a2f2c3b1a8d187aed329467472236c65627a7e0ba42f metadata.xml 251 -MD5 1a1c00c8652100411a07386facfc8240 files/digest-x264-svn-20051004-r1 70 -RMD160 501c7402f106000f5f273eea14ff30abbf4603b4 files/digest-x264-svn-20051004-r1 70 -SHA256 c1df53b8af44f27a8cc58198523ee7e174bc9a6f7eb3ed4702f5ff39fee84eb6 files/digest-x264-svn-20051004-r1 70 +MD5 a05891544794722a4cfa3ccdb0ff39f5 files/digest-x264-svn-20051004-r1 256 +RMD160 8432d469a2c83123ccb9d829bfcf61483182bf94 files/digest-x264-svn-20051004-r1 256 +SHA256 c8431f56f160d749bee3ecae7825da2c64eeeb9c9b22c1761999fafe36b81d48 files/digest-x264-svn-20051004-r1 256 MD5 8b5525cff2159707bd6d7dcdbd8121d9 files/digest-x264-svn-20060302 256 RMD160 f7df85c1d602771d0f2852cde8f8c3ad8d48fc2e files/digest-x264-svn-20060302 256 SHA256 b0f032c8124c6342728a26f3fea5d24debf177bd4bcacf909ad5d5dbaafb21fc files/digest-x264-svn-20060302 256 @@ -73,3 +84,13 @@ SHA256 76548b0d79b95c9871fd2c1e0f4feb8f7cff4edeeb8fd72ba3d744819059dade files/di MD5 6d5365124573273cf12da2f1661947c4 files/digest-x264-svn-20061014 256 RMD160 77d4aebcff05a92e9ea863b624efba907579947d files/digest-x264-svn-20061014 256 SHA256 4eadce87a1d26efb89411dbe5e48facd55b86041f42e243e12d9b83312d04a35 files/digest-x264-svn-20061014 256 +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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFFeBEqvFcC4BYPU0oRApvKAKC81GboYDgdaVRwYNjJy3zzTVm0jwCgjCHg +K5His86edA6gVqKl13vtX00= +=2n+7 +-----END PGP SIGNATURE----- diff --git a/media-libs/x264-svn/files/digest-x264-svn-20051004-r1 b/media-libs/x264-svn/files/digest-x264-svn-20051004-r1 index 621a6c39960e..2acc7c29d8a6 100644 --- a/media-libs/x264-svn/files/digest-x264-svn-20051004-r1 +++ b/media-libs/x264-svn/files/digest-x264-svn-20051004-r1 @@ -1 +1,3 @@ MD5 36c0d5e0dc0cd4ddd4dfe7ef88c85880 x264-svn-20051004.tar.bz2 387036 +RMD160 cd9f2c3e111c08720ba8d08dcd90c9f3d8702ae6 x264-svn-20051004.tar.bz2 387036 +SHA256 038613f20552c125a58d7d560db32dc6286d7ae84be407706c1904e1ace99518 x264-svn-20051004.tar.bz2 387036 diff --git a/media-libs/x264-svn/files/digest-x264-svn-20061014-r1 b/media-libs/x264-svn/files/digest-x264-svn-20061014-r1 new file mode 100644 index 000000000000..603b1a1f94dd --- /dev/null +++ b/media-libs/x264-svn/files/digest-x264-svn-20061014-r1 @@ -0,0 +1,3 @@ +MD5 0f8a75d1a0ffa3f0f2449a92247eb7e1 x264-svn-20061014.tar.bz2 288203 +RMD160 c6f7275a3691c18821d1562a3b7db8e3b01ac886 x264-svn-20061014.tar.bz2 288203 +SHA256 4a26b883d7f9c4f3cff56a3034e9f7617d2b1cd4f8d1846b886130fffdbf6bbc x264-svn-20061014.tar.bz2 288203 diff --git a/media-libs/x264-svn/files/x264-svn-20061014-onlylib.patch b/media-libs/x264-svn/files/x264-svn-20061014-onlylib.patch new file mode 100644 index 000000000000..48d3041a71c9 --- /dev/null +++ b/media-libs/x264-svn/files/x264-svn-20061014-onlylib.patch @@ -0,0 +1,26 @@ +--- x264-svn/Makefile.old 2006-12-06 21:48:31.000000000 +0100 ++++ x264-svn/Makefile 2006-12-06 21:49:29.000000000 +0100 +@@ -64,7 +64,7 @@ + .PHONY: all default fprofiled clean distclean install install-gtk uninstall + all: default + +-default: $(DEP) x264$(EXE) ++default: $(DEP) + + libx264.a: .depend $(OBJS) $(OBJASM) + ar rc libx264.a $(OBJS) $(OBJASM) +@@ -139,13 +139,12 @@ + rm -f config.mak config.h x264.pc + $(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-20061014-r1.ebuild b/media-libs/x264-svn/x264-svn-20061014-r1.ebuild new file mode 100644 index 000000000000..e2fe38df6a3f --- /dev/null +++ b/media-libs/x264-svn/x264-svn-20061014-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264-svn/x264-svn-20061014-r1.ebuild,v 1.1 2006/12/07 13:05:11 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 ) + 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 \ + $myconf \ + || die "configure failed" + emake CC="$(tc-getCC)" || die "make failed" +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc AUTHORS +} + +pkg_postinst() { + einfo "Please note that this package now only installs" + einfo "${PN} libraries. In order to have the encoder," + einfo "please emerge media-video/x264-svn-encoder" +} -- 2.26.2