Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libcdio: ChangeLog libcdio-0.80-r1.ebuild
Date: Fri, 28 Aug 2009 12:42:04
Message-Id: E1Mh5bT-00045Z-29@stork.gentoo.org
1 pva 09/08/28 17:51:11
2
3 Modified: ChangeLog
4 Added: libcdio-0.80-r1.ebuild
5 Log:
6 Fixed automagic dependency on libcddb, bug #272788.
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.109 dev-libs/libcdio/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libcdio/ChangeLog?rev=1.109&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libcdio/ChangeLog?rev=1.109&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libcdio/ChangeLog?r1=1.108&r2=1.109
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libcdio/ChangeLog,v
19 retrieving revision 1.108
20 retrieving revision 1.109
21 diff -u -r1.108 -r1.109
22 --- ChangeLog 27 Nov 2008 18:49:00 -0000 1.108
23 +++ ChangeLog 28 Aug 2009 17:51:10 -0000 1.109
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-libs/libcdio
26 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/ChangeLog,v 1.108 2008/11/27 18:49:00 jer Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/ChangeLog,v 1.109 2009/08/28 17:51:10 pva Exp $
30 +
31 +*libcdio-0.80-r1 (28 Aug 2009)
32 +
33 + 28 Aug 2009; Peter Volkov <pva@g.o> +libcdio-0.80-r1.ebuild,
34 + +files/libcdio-0.80-automagic-cddb.patch:
35 + Fixed automagic dependency on libcddb, bug #272788.
36
37 27 Nov 2008; Jeroen Roovers <jer@g.o> libcdio-0.80.ebuild:
38 Stable for HPPA (bug #245252).
39
40
41
42 1.1 dev-libs/libcdio/libcdio-0.80-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libcdio/libcdio-0.80-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libcdio/libcdio-0.80-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libcdio-0.80-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/libcdio-0.80-r1.ebuild,v 1.1 2009/08/28 17:51:10 pva Exp $
52
53 EAPI=1
54
55 inherit eutils libtool multilib autotools
56
57 DESCRIPTION="A library to encapsulate CD-ROM reading and control"
58 HOMEPAGE="http://www.gnu.org/software/libcdio/"
59 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
64 IUSE="cddb minimal +cxx"
65
66 RDEPEND="cddb? ( >=media-libs/libcddb-1.0.1 )
67 virtual/libintl"
68 DEPEND="${RDEPEND}
69 sys-devel/gettext
70 dev-util/pkgconfig"
71
72 src_unpack() {
73 unpack ${A}
74 cd "${S}"
75
76 epatch "${FILESDIR}"/${P}-minimal.patch
77 epatch "${FILESDIR}"/${P}-fix-pkgconfig.patch
78 epatch "${FILESDIR}"/${P}-fbsd.patch
79 epatch "${FILESDIR}"/${P}-automagic-cddb.patch
80
81 sed -i -e 's:noinst_PROGRAMS:EXTRA_PROGRAMS:' test/Makefile.am \
82 || die "unable to remove testdefault build"
83
84 # Fix building against libiconv
85 sed -i -e 's:@LIBICONV@:$(LTLIBICONV):' lib/driver/Makefile.am \
86 || die "unable to fix libiconv link - part 1"
87
88 find . -name Makefile.am -print0 | xargs -0 \
89 sed -i -e 's:$(LIBICONV):$(LTLIBICONV):' \
90 || die "unable to fix libiconv link - part 2"
91
92 eautomake
93 elibtoolize
94 }
95
96 src_compile() {
97 econf \
98 $(use_enable cddb) \
99 $(use_with !minimal cd-drive) \
100 $(use_with !minimal cd-info) \
101 $(use_with !minimal cd-paranoia) \
102 $(use_with !minimal cdda-player) \
103 $(use_with !minimal cd-read) \
104 $(use_with !minimal iso-info) \
105 $(use_with !minimal iso-read) \
106 $(use_enable cxx) \
107 --disable-example-progs --disable-cpp-progs \
108 --with-cd-paranoia-name=libcdio-paranoia \
109 --disable-vcd-info \
110 --disable-dependency-tracking \
111 --disable-maintainer-mode || die "configure failed"
112 emake || die "make failed"
113 }
114
115 src_install() {
116 emake DESTDIR="${D}" install || die "make install failed"
117 dodoc AUTHORS ChangeLog NEWS README THANKS
118 }
119
120 pkg_postinst() {
121 ewarn "If you've upgraded from a previous version of ${PN}, you may need to re-emerge"
122 ewarn "packages that linked against ${PN} (vlc, vcdimager and more) by running:"
123 ewarn "\trevdep-rebuild"
124 }