summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/xvid/ChangeLog7
-rw-r--r--media-libs/xvid/files/digest-xvid-1.0.22
-rw-r--r--media-libs/xvid/files/digest-xvid-1.1.0-r36
-rw-r--r--media-libs/xvid/xvid-1.1.0-r3.ebuild61
4 files changed, 75 insertions, 1 deletions
diff --git a/media-libs/xvid/ChangeLog b/media-libs/xvid/ChangeLog
index 366efa77d6db..6c163beb3085 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.73 2006/10/02 08:19:53 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xvid/ChangeLog,v 1.74 2006/10/27 17:45:41 beandog Exp $
+
+*xvid-1.1.0-r3 (27 Oct 2006)
+
+ 27 Oct 2006; Steve Dibb <beandog@gentoo.org> +xvid-1.1.0-r3.ebuild:
+ Remove textrel patch, see bug 135326
*xvid-1.1.0-r2 (02 Oct 2006)
diff --git a/media-libs/xvid/files/digest-xvid-1.0.2 b/media-libs/xvid/files/digest-xvid-1.0.2
index 1f377aba5710..8fb2392f3eb9 100644
--- a/media-libs/xvid/files/digest-xvid-1.0.2
+++ b/media-libs/xvid/files/digest-xvid-1.0.2
@@ -1 +1,3 @@
MD5 e8ffc32146991fcff286ccdcd6a16a49 xvidcore-1.0.2.tar.bz2 541407
+RMD160 373cd9da39ffe250e8a536a2f7e2f7724c0794c9 xvidcore-1.0.2.tar.bz2 541407
+SHA256 0fe361f203ff37dfab556a82e1004237a7de513b5333fe3cacdf1cdcaaf57546 xvidcore-1.0.2.tar.bz2 541407
diff --git a/media-libs/xvid/files/digest-xvid-1.1.0-r3 b/media-libs/xvid/files/digest-xvid-1.1.0-r3
new file mode 100644
index 000000000000..31b550c2ac6e
--- /dev/null
+++ b/media-libs/xvid/files/digest-xvid-1.1.0-r3
@@ -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 359eebc5fb496a2bf7b15010059e7897 xvidcore-1.1.0.tar.bz2 612101
+RMD160 582927437970cf81534b9ed4f02173201e10f47b xvidcore-1.1.0.tar.bz2 612101
+SHA256 bde8cdf8fd490e91b75f98128fd3718b2c570e7cc8f6b83e71896dbbca135e3c xvidcore-1.1.0.tar.bz2 612101
diff --git a/media-libs/xvid/xvid-1.1.0-r3.ebuild b/media-libs/xvid/xvid-1.1.0-r3.ebuild
new file mode 100644
index 000000000000..8537078c5279
--- /dev/null
+++ b/media-libs/xvid/xvid-1.1.0-r3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xvid/xvid-1.1.0-r3.ebuild,v 1.1 2006/10/27 17:45:41 beandog 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}/${P}-3dnow-2.patch"
+
+ cd ${S}
+ eautoreconf
+}
+
+src_compile() {
+ econf $(use_enable altivec) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || 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
+}