diff options
author | Alexis Ballier <aballier@gentoo.org> | 2006-12-07 13:05:11 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2006-12-07 13:05:11 +0000 |
commit | c48ef99788670ae695bcd42786d387748af572db (patch) | |
tree | e861492446ddf2ee83b39a1b59dd52906fd12464 /media-libs/x264-svn | |
parent | Fix the broken syntax in elog for the module rebuild suggestion, bug #157419 (diff) | |
download | gentoo-2-c48ef99788670ae695bcd42786d387748af572db.tar.gz gentoo-2-c48ef99788670ae695bcd42786d387748af572db.tar.bz2 gentoo-2-c48ef99788670ae695bcd42786d387748af572db.zip |
Rev bump : installs only the library, the encoder part is now in media-video/x264-svn-encoder
(Portage version: 2.1.2_rc2-r5)
Diffstat (limited to 'media-libs/x264-svn')
-rw-r--r-- | media-libs/x264-svn/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/x264-svn/files/digest-x264-svn-20051004-r1 | 2 | ||||
-rw-r--r-- | media-libs/x264-svn/files/digest-x264-svn-20061014-r1 | 3 | ||||
-rw-r--r-- | media-libs/x264-svn/files/x264-svn-20061014-onlylib.patch | 26 | ||||
-rw-r--r-- | media-libs/x264-svn/x264-svn-20061014-r1.ebuild | 57 |
5 files changed, 96 insertions, 1 deletions
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 <aballier@gentoo.org> + +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/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" +} |