summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-08 18:21:02 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-08 18:21:02 +0000
commit9ddff5b1d3a1940f33f43fcb70e77babbb3d620e (patch)
tree4dde0b36e18a83d3b32f82f993f3e34b5701d6d5 /media-sound/cdparanoia
parentStable on amd64 for security bug #134792. (diff)
downloadgentoo-2-9ddff5b1d3a1940f33f43fcb70e77babbb3d620e.tar.gz
gentoo-2-9ddff5b1d3a1940f33f43fcb70e77babbb3d620e.tar.bz2
gentoo-2-9ddff5b1d3a1940f33f43fcb70e77babbb3d620e.zip
Add new revision with patch to build on Gentoo/FreeBSD. Thanks to Stefano Takekawa in bug #129775 and for the patience.
(Portage version: 2.1_rc4-r4)
Diffstat (limited to 'media-sound/cdparanoia')
-rw-r--r--media-sound/cdparanoia/ChangeLog9
-rw-r--r--media-sound/cdparanoia/cdparanoia-3.9.8-r4.ebuild74
-rw-r--r--media-sound/cdparanoia/files/digest-cdparanoia-3.9.8-r49
3 files changed, 91 insertions, 1 deletions
diff --git a/media-sound/cdparanoia/ChangeLog b/media-sound/cdparanoia/ChangeLog
index c1ab9ee3c5e2..b7c8328c16a0 100644
--- a/media-sound/cdparanoia/ChangeLog
+++ b/media-sound/cdparanoia/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/cdparanoia
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/cdparanoia/ChangeLog,v 1.39 2006/05/16 18:22:36 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cdparanoia/ChangeLog,v 1.40 2006/06/08 18:21:02 flameeyes Exp $
+
+*cdparanoia-3.9.8-r4 (08 Jun 2006)
+
+ 08 Jun 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +cdparanoia-3.9.8-r4.ebuild:
+ Add new revision with patch to build on Gentoo/FreeBSD. Thanks to Stefano
+ Takekawa in bug #129775 and for the patience.
16 May 2006; Patrick McLean <chutzpah@gentoo.org>
cdparanoia-3.9.8-r3.ebuild:
diff --git a/media-sound/cdparanoia/cdparanoia-3.9.8-r4.ebuild b/media-sound/cdparanoia/cdparanoia-3.9.8-r4.ebuild
new file mode 100644
index 000000000000..3c0692602dd0
--- /dev/null
+++ b/media-sound/cdparanoia/cdparanoia-3.9.8-r4.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cdparanoia/cdparanoia-3.9.8-r4.ebuild,v 1.1 2006/06/08 18:21:02 flameeyes Exp $
+
+inherit eutils flag-o-matic gnuconfig linux-info libtool toolchain-funcs
+
+MY_P=${PN}-III-alpha9.8
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="an advanced CDDA reader with error correction"
+HOMEPAGE="http://www.xiph.org/paranoia/"
+SRC_URI="http://www.xiph.org/paranoia/download/${MY_P}.src.tgz
+ mirror://gentoo/${P}-SG_IO-patches.tar.gz
+ mirror://gentoo/${P}-fbsd.patch.bz2"
+
+IUSE="kernel_linux"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+pkg_setup() {
+ use kernel_linux && linux-info_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # cdda_paranoia.h should include cdda_interface_h, else most configure
+ # scripts testing for support fails (gnome-vfs, etc).
+ epatch "${FILESDIR}/${P}-include-cdda_interface_h.patch"
+ epatch "${FILESDIR}/${P}-toc.patch"
+ epatch "${FILESDIR}/${P}-identify_crash.patch"
+ epatch "${FILESDIR}/${PV}-gcc34.patch"
+
+ # if libdir is specified, cdparanoia causes sandbox violations, and using
+ # einstall doesnt work around it. so lets patch in DESTDIR support
+ epatch "${FILESDIR}/${P}-use-destdir.patch"
+
+ # Apply Red Hat's SG_IO patches see bug #118189 for more info
+ if use kernel_linux && kernel_is ge 2 6 15; then
+ EPATCH_SOURCE="${WORKDIR}/patches" EPATCH_SUFFIX="patch" epatch
+ epatch "${FILESDIR}/${P}-respectflags-sgio.patch"
+ else
+ epatch "${FILESDIR}/${P}-respectflags-pio.patch"
+ epatch "${DISTDIR}/${P}-fbsd.patch.bz2"
+ fi
+
+ # Use directly the same exact patch as flex as it works
+ epatch "${FILESDIR}/flex-configure-LANG.patch"
+
+ # Let portage handle the stripping of binaries
+ sed -i -e "/strip cdparanoia/d" Makefile.in
+
+ ln -s configure.guess config.guess
+ ln -s configure.sub config.sub
+ gnuconfig_update
+ rm config.{guess,sub}
+
+ elibtoolize
+}
+
+src_compile() {
+ tc-export CC AR RANLIB
+ append-flags -I${S}/interface
+ econf || die
+ emake OPT="${CFLAGS}" || die
+}
+
+src_install() {
+ dodir /usr/{bin,lib,include} /usr/share/man/man1
+ emake DESTDIR=${D} install || die
+ dodoc FAQ.txt README
+}
diff --git a/media-sound/cdparanoia/files/digest-cdparanoia-3.9.8-r4 b/media-sound/cdparanoia/files/digest-cdparanoia-3.9.8-r4
new file mode 100644
index 000000000000..bb97367c7dcb
--- /dev/null
+++ b/media-sound/cdparanoia/files/digest-cdparanoia-3.9.8-r4
@@ -0,0 +1,9 @@
+MD5 c0beceb4bd049ff89f0359b57bc25872 cdparanoia-3.9.8-SG_IO-patches.tar.gz 18149
+RMD160 231a546dbd9d23bec7ebe00b34457b17c0367eb1 cdparanoia-3.9.8-SG_IO-patches.tar.gz 18149
+SHA256 090f84e5e23eaf2a4700c7f69abd2998c578072b1c9b8187dcf6b721d8ac1902 cdparanoia-3.9.8-SG_IO-patches.tar.gz 18149
+MD5 555b4e39cf22d147321172b02a888bcb cdparanoia-3.9.8-fbsd.patch.bz2 7161
+RMD160 6a0c3ed77ce00e602b93055893b0d22062fca330 cdparanoia-3.9.8-fbsd.patch.bz2 7161
+SHA256 3e79470a1453f3c53111dd2297d1ed0a3cace2267cf65d2efe34e2684cabd0c0 cdparanoia-3.9.8-fbsd.patch.bz2 7161
+MD5 7218e778b5970a86c958e597f952f193 cdparanoia-III-alpha9.8.src.tgz 116591
+RMD160 d9225165f83b5386c58db263d6918a7006df1481 cdparanoia-III-alpha9.8.src.tgz 116591
+SHA256 1b79fae1aedc692f87d1344410f5c6b666961afccdc78bc5c4c257c450dfa008 cdparanoia-III-alpha9.8.src.tgz 116591