summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-01-24 22:16:25 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-01-24 22:16:25 +0000
commit54a5d85ebe22f0f1b3a5712b13e96968b53fe0a8 (patch)
tree5c2a8d7a465e9f8fc83d2a3dd96c65a985e5963a /media-libs/xvid
parentVersion bump (diff)
downloadgentoo-2-54a5d85ebe22f0f1b3a5712b13e96968b53fe0a8.tar.gz
gentoo-2-54a5d85ebe22f0f1b3a5712b13e96968b53fe0a8.tar.bz2
gentoo-2-54a5d85ebe22f0f1b3a5712b13e96968b53fe0a8.zip
Version bump, bug #155842
(Portage version: 2.1.2-r3)
Diffstat (limited to 'media-libs/xvid')
-rw-r--r--media-libs/xvid/ChangeLog9
-rw-r--r--media-libs/xvid/files/digest-xvid-1.1.26
-rw-r--r--media-libs/xvid/xvid-1.1.2.ebuild61
3 files changed, 74 insertions, 2 deletions
diff --git a/media-libs/xvid/ChangeLog b/media-libs/xvid/ChangeLog
index 7966a0edc16d..ae2a2ee38669 100644
--- a/media-libs/xvid/ChangeLog
+++ b/media-libs/xvid/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/xvid
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/xvid/ChangeLog,v 1.79 2006/12/03 19:51:09 corsair Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xvid/ChangeLog,v 1.80 2007/01/24 22:16:25 aballier Exp $
+
+*xvid-1.1.2 (24 Jan 2007)
+
+ 24 Jan 2007; Alexis Ballier <aballier@gentoo.org> +xvid-1.1.2.ebuild:
+ Version bump, bug #155842
03 Dec 2006; Markus Rothe <corsair@gentoo.org> xvid-1.1.0-r3.ebuild:
Stable on ppc64
diff --git a/media-libs/xvid/files/digest-xvid-1.1.2 b/media-libs/xvid/files/digest-xvid-1.1.2
new file mode 100644
index 000000000000..a4085a66f2f8
--- /dev/null
+++ b/media-libs/xvid/files/digest-xvid-1.1.2
@@ -0,0 +1,6 @@
+MD5 891c95e3e4660da30db9badfbd724f6b xvid-1.1.0-noexec-stack.patch.bz2 3443
+RMD160 3da4597854b67975e424614ac403397fa566f2d1 xvid-1.1.0-noexec-stack.patch.bz2 3443
+SHA256 d63027784787b418947d969513621711a94fba847d51e7b1b4ac7c50ba14511e xvid-1.1.0-noexec-stack.patch.bz2 3443
+MD5 f748d835037fbe314a5fae8880c32f29 xvidcore-1.1.2.tar.bz2 626741
+RMD160 bc3dfbd176ece5f54bbd72f1e655eba4da9baeb4 xvidcore-1.1.2.tar.bz2 626741
+SHA256 def43b36cb0a5c1ad009237e9bb7d0ec0d5cc258c924c15b346c5627a53ed82d xvidcore-1.1.2.tar.bz2 626741
diff --git a/media-libs/xvid/xvid-1.1.2.ebuild b/media-libs/xvid/xvid-1.1.2.ebuild
new file mode 100644
index 000000000000..73178b4a1893
--- /dev/null
+++ b/media-libs/xvid/xvid-1.1.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xvid/xvid-1.1.2.ebuild,v 1.1 2007/01/24 22:16:25 aballier Exp $
+
+inherit eutils fixheadtails autotools
+
+MY_P=${PN}core-${PV/_beta/-beta}
+DESCRIPTION="XviD, a high performance/quality MPEG-4 video de-/encoding solution"
+HOMEPAGE="http://www.xvid.org/"
+SRC_URI="http://downloads.xvid.org/downloads/${MY_P}.tar.bz2
+ mirror://gentoo/${PN}-1.1.0-noexec-stack.patch.bz2"
+
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc-macos ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="doc altivec"
+
+DEPEND="x86? ( >=dev-lang/nasm-0.98.36 )
+ amd64? ( dev-lang/yasm )"
+RDEPEND=""
+
+S=${WORKDIR}/${MY_P}/build/generic
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${WORKDIR}"/${MY_P}
+ epatch "${FILESDIR}/${PN}-1.1.0_beta2-altivec.patch"
+ epatch "${WORKDIR}/${PN}-1.1.0-noexec-stack.patch"
+ epatch "${FILESDIR}/${PN}-1.1.0-3dnow-2.patch"
+
+ cd ${S}
+ eautoreconf
+}
+
+src_compile() {
+ econf $(use_enable altivec) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+
+ cd "${S}"/../../
+ dodoc AUTHORS ChangeLog README TODO doc/*
+
+ if [[ ${CHOST} == *-darwin* ]]; then
+ local mylib=$(basename $(ls "${D}"/usr/$(get_libdir)/libxvidcore.*.dylib))
+ dosym ${mylib} /usr/$(get_libdir)/libxvidcore.dylib
+ else
+ local mylib=$(basename $(ls "${D}"/usr/$(get_libdir)/libxvidcore.so*))
+ dosym ${mylib} /usr/$(get_libdir)/libxvidcore.so
+ dosym ${mylib} /usr/$(get_libdir)/${mylib/.1}
+ fi
+
+ if use doc ; then
+ dodoc CodingStyle doc/README
+ docinto examples
+ dodoc examples/*
+ fi
+}