summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-11-16 14:23:25 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-11-16 14:23:25 +0000
commit368f134ea4b32a921fdc8953b73311669ca44160 (patch)
treeb594b97fa7125cb29f4e29e0e5c160b933e7f544 /dev-libs/libcdio
parentClean up old versions and repoman checks (diff)
downloadgentoo-2-368f134ea4b32a921fdc8953b73311669ca44160.tar.gz
gentoo-2-368f134ea4b32a921fdc8953b73311669ca44160.tar.bz2
gentoo-2-368f134ea4b32a921fdc8953b73311669ca44160.zip
Do not install pkg-config and header file for not installed lib due to USE=minimal.
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-libs/libcdio')
-rw-r--r--dev-libs/libcdio/ChangeLog9
-rw-r--r--dev-libs/libcdio/files/digest-libcdio-0.78.2-r13
-rw-r--r--dev-libs/libcdio/libcdio-0.78.2-r1.ebuild62
3 files changed, 73 insertions, 1 deletions
diff --git a/dev-libs/libcdio/ChangeLog b/dev-libs/libcdio/ChangeLog
index 64f31cdc5f33..5970e01700e7 100644
--- a/dev-libs/libcdio/ChangeLog
+++ b/dev-libs/libcdio/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/libcdio
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/ChangeLog,v 1.72 2007/08/25 17:19:50 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/ChangeLog,v 1.73 2007/11/16 14:23:24 zzam Exp $
+
+*libcdio-0.78.2-r1 (16 Nov 2007)
+
+ 16 Nov 2007; Matthias Schwarzott <zzam@gentoo.org>
+ +libcdio-0.78.2-r1.ebuild:
+ Do not install pkg-config and header file for not installed lib due to
+ USE=minimal.
25 Aug 2007; Steve Dibb <beandog@gentoo.org> libcdio-0.78.2.ebuild:
amd64 stable
diff --git a/dev-libs/libcdio/files/digest-libcdio-0.78.2-r1 b/dev-libs/libcdio/files/digest-libcdio-0.78.2-r1
new file mode 100644
index 000000000000..6fcd9e480dcb
--- /dev/null
+++ b/dev-libs/libcdio/files/digest-libcdio-0.78.2-r1
@@ -0,0 +1,3 @@
+MD5 a6b73300d1247012a1b1246d935ac0d3 libcdio-0.78.2.tar.gz 2024218
+RMD160 4e32dd9bb4bd19b6604ce3d3c4716b6481b6956a libcdio-0.78.2.tar.gz 2024218
+SHA256 2792e4133a89b254644ffe526c8eab785e1de3078d3a9c1ec03653247700ebde libcdio-0.78.2.tar.gz 2024218
diff --git a/dev-libs/libcdio/libcdio-0.78.2-r1.ebuild b/dev-libs/libcdio/libcdio-0.78.2-r1.ebuild
new file mode 100644
index 000000000000..b6147f781288
--- /dev/null
+++ b/dev-libs/libcdio/libcdio-0.78.2-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/libcdio-0.78.2-r1.ebuild,v 1.1 2007/11/16 14:23:24 zzam Exp $
+
+inherit eutils libtool multilib
+
+DESCRIPTION="A library to encapsulate CD-ROM reading and control"
+HOMEPAGE="http://www.gnu.org/software/libcdio/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="cddb minimal nls nocxx"
+
+RDEPEND="cddb? ( >=media-libs/libcddb-1.0.1 )
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ dev-util/pkgconfig"
+
+RESTRICT="test"
+
+src_unpack() {
+ unpack ${A}
+ elibtoolize
+}
+
+src_compile() {
+ econf \
+ $(use_enable nls) \
+ $(use_enable cddb) \
+ $(use_with !minimal cd-drive) \
+ $(use_with !minimal cd-info) \
+ $(use_with !minimal cd-paranoia) \
+ $(use_with !minimal cdda-player) \
+ $(use_with !minimal cd-read) \
+ $(use_with !minimal iso-info) \
+ $(use_with !minimal iso-read) \
+ $(use_enable !nocxx cxx) \
+ --with-cd-paranoia-name=libcdio-paranoia \
+ --disable-vcd-info \
+ --disable-dependency-tracking || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog NEWS README THANKS
+
+ # maybe next version is fixed
+ if use minimal; then
+ rm -f "${D}/usr/$(get_libdir)/pkgconfig/libcdio_cdda.pc"
+ rm -f "${D}/usr/include/cdio/cdda.h"
+ fi
+}
+
+pkg_postinst() {
+ ewarn "If you've upgraded from a previous version of ${PN}, you may need to re-emerge"
+ ewarn "packages that linked against ${PN} (vlc, vcdimager and more) by running:"
+ ewarn "\trevdep-rebuild"
+}