summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-03-01 22:53:16 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-03-01 22:53:16 +0000
commitb25659673442e761640e1a5f166fa78351d2aabf (patch)
tree11d8d695684b7f1a39e3810f316b791096aa3466 /media-video
parentversion bump (diff)
downloadgentoo-2-b25659673442e761640e1a5f166fa78351d2aabf.tar.gz
gentoo-2-b25659673442e761640e1a5f166fa78351d2aabf.tar.bz2
gentoo-2-b25659673442e761640e1a5f166fa78351d2aabf.zip
version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/x264-svn-encoder/ChangeLog8
-rw-r--r--media-video/x264-svn-encoder/x264-svn-encoder-20080301.ebuild64
2 files changed, 71 insertions, 1 deletions
diff --git a/media-video/x264-svn-encoder/ChangeLog b/media-video/x264-svn-encoder/ChangeLog
index 36e3f3711cca..11635e6adbd7 100644
--- a/media-video/x264-svn-encoder/ChangeLog
+++ b/media-video/x264-svn-encoder/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/x264-svn-encoder
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/x264-svn-encoder/ChangeLog,v 1.19 2008/01/12 23:26:52 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/x264-svn-encoder/ChangeLog,v 1.20 2008/03/01 22:53:15 aballier Exp $
+
+*x264-svn-encoder-20080301 (01 Mar 2008)
+
+ 01 Mar 2008; Alexis Ballier <aballier@gentoo.org>
+ +x264-svn-encoder-20080301.ebuild:
+ version bump
12 Jan 2008; Alexis Ballier <aballier@gentoo.org>
x264-svn-encoder-20070924.ebuild:
diff --git a/media-video/x264-svn-encoder/x264-svn-encoder-20080301.ebuild b/media-video/x264-svn-encoder/x264-svn-encoder-20080301.ebuild
new file mode 100644
index 000000000000..48f3dddae4b2
--- /dev/null
+++ b/media-video/x264-svn-encoder/x264-svn-encoder-20080301.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/x264-svn-encoder/x264-svn-encoder-20080301.ebuild,v 1.1 2008/03/01 22:53:16 aballier Exp $
+
+inherit multilib eutils toolchain-funcs
+
+IUSE="debug mp4 gtk threads"
+
+X264_SVN_P=${P/-encoder/}
+
+DESCRIPTION="A free library for encoding X264/AVC streams."
+HOMEPAGE="http://developers.videolan.org/x264.html"
+SRC_URI="mirror://gentoo/${X264_SVN_P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+RDEPEND="mp4? ( >=media-video/gpac-0.4.1_pre20060122 )
+ gtk? ( >=x11-libs/gtk+-2.6.10 >=dev-libs/glib-2.10.3 )
+ ~media-libs/${X264_SVN_P}"
+
+DEPEND="${RDEPEND}
+ amd64? ( >=dev-lang/yasm-0.6.0 )
+ x86? ( || ( >=dev-lang/yasm-0.6.2 dev-lang/nasm ) )
+ x86-fbsd? ( dev-lang/nasm )
+ dev-util/pkgconfig"
+
+# Block older than 0.6.2 versions of yasm
+# It generates incorect pic code and will cause segfaults
+# See http://www.tortall.net/projects/yasm/ticket/114
+DEPEND="${DEPEND}
+ x86? ( !<dev-lang/yasm-0.6.2 )"
+
+S=${WORKDIR}/${PN/-encoder/}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-nostrip.patch"
+ epatch "${FILESDIR}/${PN}-nolib.patch"
+}
+
+src_compile() {
+ local myconf=""
+ use debug && myconf="${myconf} --enable-debug"
+ ./configure --prefix=/usr \
+ --libdir=/usr/$(get_libdir) \
+ --enable-pic --enable-shared \
+ "--extra-cflags=${CFLAGS}" \
+ "--extra-ldflags=${LDFLAGS}" \
+ "--extra-asflags=${ASFLAGS}" \
+ ${myconf} \
+ $(use_enable threads pthread) \
+ $(use_enable mp4 mp4-output) \
+ $(use_enable gtk) \
+ || die "configure failed"
+ emake CC="$(tc-getCC)" || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc AUTHORS
+}