summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-11-29 21:22:01 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-11-29 21:22:01 +0000
commitcec8d45c9a937f1fcbbd39d637c83d733464e606 (patch)
treea2b9e24a21d84f0268d8117d5a2706afebf574a6 /media-libs/libdv
parentUpdated to remove a typo and fix bug #156387. (diff)
downloadgentoo-2-cec8d45c9a937f1fcbbd39d637c83d733464e606.tar.gz
gentoo-2-cec8d45c9a937f1fcbbd39d637c83d733464e606.tar.bz2
gentoo-2-cec8d45c9a937f1fcbbd39d637c83d733464e606.zip
Finally add (hopefully) working PIC-patches, Bug #121871.
(Portage version: 2.1.2_rc2-r3)
Diffstat (limited to 'media-libs/libdv')
-rw-r--r--media-libs/libdv/ChangeLog9
-rw-r--r--media-libs/libdv/files/digest-libdv-0.104-r36
-rw-r--r--media-libs/libdv/files/digest-libdv-1.0.0-r16
-rw-r--r--media-libs/libdv/libdv-0.104-r3.ebuild53
-rw-r--r--media-libs/libdv/libdv-1.0.0-r1.ebuild47
5 files changed, 120 insertions, 1 deletions
diff --git a/media-libs/libdv/ChangeLog b/media-libs/libdv/ChangeLog
index 0d62c22557a8..9ead833e51d1 100644
--- a/media-libs/libdv/ChangeLog
+++ b/media-libs/libdv/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/libdv
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libdv/ChangeLog,v 1.64 2006/10/21 08:14:33 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdv/ChangeLog,v 1.65 2006/11/29 21:22:01 zzam Exp $
+
+*libdv-1.0.0-r1 (29 Nov 2006)
+*libdv-0.104-r3 (29 Nov 2006)
+
+ 29 Nov 2006; Matthias Schwarzott <zzam@gentoo.org> +libdv-0.104-r3.ebuild,
+ +libdv-1.0.0-r1.ebuild:
+ Finally add (hopefully) working PIC-patches, Bug #121871.
21 Oct 2006; Tobias Scherbaum <dertobi123@gentoo.org>
libdv-0.104-r2.ebuild:
diff --git a/media-libs/libdv/files/digest-libdv-0.104-r3 b/media-libs/libdv/files/digest-libdv-0.104-r3
new file mode 100644
index 000000000000..4dec9f7ddf51
--- /dev/null
+++ b/media-libs/libdv/files/digest-libdv-0.104-r3
@@ -0,0 +1,6 @@
+MD5 7c5f94b57dd3bc28f97ff37e344f53b3 libdv-0.104-pic.patch.bz2 11018
+RMD160 25b9fb554a88d2a76b94a32c41050c065202e040 libdv-0.104-pic.patch.bz2 11018
+SHA256 42130856fa711b703dd3404b62887fb7148eb59dd129879943c3b60ead90b55e libdv-0.104-pic.patch.bz2 11018
+MD5 f6b08efce7472daa20685e6e8431f542 libdv-0.104.tar.gz 554691
+RMD160 a91708ecb75533caf2b9038ca68064c7707dcfdf libdv-0.104.tar.gz 554691
+SHA256 8310e365e799dea9547fcaf84b21dae3bf8891a3befe7f0c6556025e6bc2c573 libdv-0.104.tar.gz 554691
diff --git a/media-libs/libdv/files/digest-libdv-1.0.0-r1 b/media-libs/libdv/files/digest-libdv-1.0.0-r1
new file mode 100644
index 000000000000..995389918671
--- /dev/null
+++ b/media-libs/libdv/files/digest-libdv-1.0.0-r1
@@ -0,0 +1,6 @@
+MD5 332c325bdd6224da9bd675d5d9a8ef7c libdv-1.0.0-pic.patch.bz2 9771
+RMD160 a0995597413609ac938f68086a6aac9ef6e2ab37 libdv-1.0.0-pic.patch.bz2 9771
+SHA256 474a50d373e39dd8a0dac0b22f089e957d752145712f97f987ad18028f6d6a5e libdv-1.0.0-pic.patch.bz2 9771
+MD5 f895162161cfa4bb4a94c070a7caa6c7 libdv-1.0.0.tar.gz 574565
+RMD160 a8d3ae083340cec411d5294db7197ea72c8b3c4f libdv-1.0.0.tar.gz 574565
+SHA256 a305734033a9c25541a59e8dd1c254409953269ea7c710c39e540bd8853389ba libdv-1.0.0.tar.gz 574565
diff --git a/media-libs/libdv/libdv-0.104-r3.ebuild b/media-libs/libdv/libdv-0.104-r3.ebuild
new file mode 100644
index 000000000000..e045e734e770
--- /dev/null
+++ b/media-libs/libdv/libdv-0.104-r3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdv/libdv-0.104-r3.ebuild,v 1.1 2006/11/29 21:22:01 zzam Exp $
+
+inherit eutils flag-o-matic libtool
+
+DESCRIPTION="Software codec for dv-format video (camcorders etc)"
+HOMEPAGE="http://libdv.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ mirror://gentoo/${PN}-0.104-pic.patch.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug gtk sdl xv"
+
+RDEPEND="dev-libs/popt
+ gtk? ( =x11-libs/gtk+-1.2* )
+ sdl? ( >=media-libs/libsdl-1.2.5 )
+ xv? ( x11-libs/libXv )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ gtk? ( x11-proto/xextproto x11-libs/libXt )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-0.99-2.6.patch
+ epatch "${FILESDIR}"/${PN}-0.104-amd64reloc.patch
+ epatch "${FILESDIR}"/${PN}-0.104-no-exec-stack.patch
+ epatch "${FILESDIR}"/${P}-playdv-segv.patch
+ epatch "${FILESDIR}"/${PN}-0.103-mmx.patch
+ epatch "${FILESDIR}"/${P}-inline.patch
+ epatch "${WORKDIR}"/${PN}-0.104-pic.patch
+
+ elibtoolize
+ epunt_cxx #74497
+}
+
+src_compile() {
+ econf \
+ $(use_with debug) \
+ $(use_enable gtk) $(use_enable gtk gtktest) \
+ $(use_enable sdl) \
+ $(use_enable xv) \
+ || die "econf failed"
+ make || die "compile problem"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+ dodoc AUTHORS ChangeLog INSTALL NEWS README* TODO
+}
diff --git a/media-libs/libdv/libdv-1.0.0-r1.ebuild b/media-libs/libdv/libdv-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..7a1a04e1542f
--- /dev/null
+++ b/media-libs/libdv/libdv-1.0.0-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdv/libdv-1.0.0-r1.ebuild,v 1.1 2006/11/29 21:22:01 zzam Exp $
+
+inherit eutils flag-o-matic libtool
+
+DESCRIPTION="Software codec for dv-format video (camcorders etc)"
+HOMEPAGE="http://libdv.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ mirror://gentoo/${PN}-1.0.0-pic.patch.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug gtk sdl xv"
+
+RDEPEND="dev-libs/popt
+ gtk? ( =x11-libs/gtk+-1.2* )
+ sdl? ( >=media-libs/libsdl-1.2.5 )
+ xv? ( x11-libs/libXv )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ gtk? ( x11-proto/xextproto x11-libs/libXt )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-0.99-2.6.patch
+ epatch "${WORKDIR}"/${PN}-1.0.0-pic.patch
+ elibtoolize
+ epunt_cxx #74497
+}
+
+src_compile() {
+ econf \
+ $(use_with debug) \
+ $(use_enable gtk) $(use_enable gtk gtktest) \
+ $(use_enable sdl) \
+ $(use_enable xv) \
+ || die "econf failed"
+ emake || die "compile problem"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc AUTHORS ChangeLog INSTALL NEWS README* TODO
+}