Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libsndfile: libsndfile-1.0.18-r1.ebuild ChangeLog
Date: Tue, 03 Mar 2009 10:19:00
Message-Id: E1LeRiE-0007N4-Mm@stork.gentoo.org
1 aballier 09/03/03 10:18:58
2
3 Modified: ChangeLog
4 Added: libsndfile-1.0.18-r1.ebuild
5 Log:
6 force disabling octave module which was automagic because it seems it installs files at bad locations (bug #260769), may fail to build (bug #260853) and to link (bug #260835).
7 (Portage version: 2.2_rc23/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.87 media-libs/libsndfile/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/ChangeLog?rev=1.87&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/ChangeLog?rev=1.87&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/ChangeLog?r1=1.86&r2=1.87
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/libsndfile/ChangeLog,v
19 retrieving revision 1.86
20 retrieving revision 1.87
21 diff -u -r1.86 -r1.87
22 --- ChangeLog 28 Feb 2009 12:45:00 -0000 1.86
23 +++ ChangeLog 3 Mar 2009 10:18:58 -0000 1.87
24 @@ -1,6 +1,14 @@
25 # ChangeLog for media-libs/libsndfile
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libsndfile/ChangeLog,v 1.86 2009/02/28 12:45:00 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsndfile/ChangeLog,v 1.87 2009/03/03 10:18:58 aballier Exp $
29 +
30 +*libsndfile-1.0.18-r1 (03 Mar 2009)
31 +
32 + 03 Mar 2009; Alexis Ballier <aballier@g.o>
33 + +libsndfile-1.0.18-r1.ebuild:
34 + force disabling octave module which was automagic because it seems it
35 + installs files at bad locations (bug #260769), may fail to build (bug
36 + #260853) and to link (bug #260835).
37
38 28 Feb 2009; Alexis Ballier <aballier@g.o>
39 libsndfile-1.0.17-r1.ebuild:
40
41
42
43 1.1 media-libs/libsndfile/libsndfile-1.0.18-r1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/libsndfile-1.0.18-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/libsndfile-1.0.18-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libsndfile-1.0.18-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-libs/libsndfile/libsndfile-1.0.18-r1.ebuild,v 1.1 2009/03/03 10:18:58 aballier Exp $
53
54 inherit eutils libtool autotools
55
56 MY_P=${P/_pre/pre}
57
58 DESCRIPTION="A C library for reading and writing files containing sampled sound"
59 HOMEPAGE="http://www.mega-nerd.com/libsndfile"
60 if [[ "${MY_P}" == "${P}" ]]; then
61 SRC_URI="http://www.mega-nerd.com/libsndfile/${P}.tar.gz"
62 else
63 SRC_URI="http://www.mega-nerd.com/tmp/${MY_P}b.tar.gz"
64 fi
65
66 LICENSE="LGPL-2.1"
67 SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
69 IUSE="sqlite alsa minimal"
70
71 RDEPEND="!minimal? ( >=media-libs/flac-1.2.1
72 >=media-libs/libogg-1.1.3
73 >=media-libs/libvorbis-1.2.1_rc1 )
74 alsa? ( media-libs/alsa-lib )
75 sqlite? ( >=dev-db/sqlite-3.2 )"
76 DEPEND="${RDEPEND}
77 dev-util/pkgconfig"
78
79 S=${WORKDIR}/${MY_P}
80
81 src_unpack() {
82 unpack ${A}
83 cd "${S}"
84
85 sed -i -e "s/noinst_PROGRAMS/check_PROGRAMS/" "${S}/tests/Makefile.am" \
86 "${S}/examples/Makefile.am" || die "failed to remove forced build of test and example programs"
87 epatch "${FILESDIR}/${PN}-1.0.17-regtests-need-sqlite.patch"
88 epatch "${FILESDIR}/${PN}-1.0.18-m4macro.patch"
89 epatch "${FILESDIR}/${PN}-1.0.18-less_strict_tests.patch"
90
91 AT_M4DIR=M4 eautoreconf
92 epunt_cxx
93 }
94
95 src_compile() {
96 econf $(use_enable sqlite) \
97 $(use_enable alsa) \
98 $(use_enable !minimal external-libs) \
99 --disable-octave \
100 --disable-gcc-werror \
101 --disable-gcc-pipe \
102 --disable-dependency-tracking
103 emake || die "emake failed."
104 }
105
106 src_install() {
107 emake DESTDIR="${D}" htmldocdir="/usr/share/doc/${PF}/html" install || die "emake install failed."
108 dodoc AUTHORS ChangeLog NEWS README TODO
109 }