diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-10-22 14:56:34 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-10-22 14:56:34 +0000 |
commit | f9fb7b8207040523cb0de0a75bf2d0ec89a45bf1 (patch) | |
tree | b75c0ad22d32c278aae4ec3f82226f7f613235c1 /media-libs/x264 | |
parent | Revision bump. Init script now depends on dahdi, not zaptel (bug #279436). FX... (diff) | |
download | gentoo-2-f9fb7b8207040523cb0de0a75bf2d0ec89a45bf1.tar.gz gentoo-2-f9fb7b8207040523cb0de0a75bf2d0ec89a45bf1.tar.bz2 gentoo-2-f9fb7b8207040523cb0de0a75bf2d0ec89a45bf1.zip |
Version bump.
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/x264')
-rw-r--r-- | media-libs/x264/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/x264/metadata.xml | 8 | ||||
-rw-r--r-- | media-libs/x264/x264-0.0.20091021.ebuild | 60 |
3 files changed, 74 insertions, 2 deletions
diff --git a/media-libs/x264/ChangeLog b/media-libs/x264/ChangeLog index 8da2b0f72de0..673a28c0d3db 100644 --- a/media-libs/x264/ChangeLog +++ b/media-libs/x264/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/x264 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v 1.24 2009/09/23 21:31:18 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v 1.25 2009/10/22 14:56:34 ssuominen Exp $ + +*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) diff --git a/media-libs/x264/metadata.xml b/media-libs/x264/metadata.xml index 92e4dbc04f50..dc77ccda7e4a 100644 --- a/media-libs/x264/metadata.xml +++ b/media-libs/x264/metadata.xml @@ -1,5 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>video</herd> + <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> + </use> </pkgmetadata> diff --git a/media-libs/x264/x264-0.0.20091021.ebuild b/media-libs/x264/x264-0.0.20091021.ebuild new file mode 100644 index 000000000000..0aa65b5f79b3 --- /dev/null +++ b/media-libs/x264/x264-0.0.20091021.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20091021.ebuild,v 1.1 2009/10/22 14:56:34 ssuominen 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-20090408.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-avis-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 +} |