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.ebuild ChangeLog
Date: Sat, 28 Feb 2009 12:41:01
Message-Id: E1LdOUb-0006SD-I8@stork.gentoo.org
1 aballier 09/02/28 12:40:33
2
3 Modified: ChangeLog
4 Added: libsndfile-1.0.18.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc23/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.85 media-libs/libsndfile/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/ChangeLog?rev=1.85&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/ChangeLog?rev=1.85&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/ChangeLog?r1=1.84&r2=1.85
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/libsndfile/ChangeLog,v
19 retrieving revision 1.84
20 retrieving revision 1.85
21 diff -u -r1.84 -r1.85
22 --- ChangeLog 21 Apr 2008 07:15:33 -0000 1.84
23 +++ ChangeLog 28 Feb 2009 12:40:33 -0000 1.85
24 @@ -1,6 +1,13 @@
25 # ChangeLog for media-libs/libsndfile
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libsndfile/ChangeLog,v 1.84 2008/04/21 07:15:33 vapier Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsndfile/ChangeLog,v 1.85 2009/02/28 12:40:33 aballier Exp $
30 +
31 +*libsndfile-1.0.18 (28 Feb 2009)
32 +
33 + 28 Feb 2009; Alexis Ballier <aballier@g.o>
34 + +files/libsndfile-1.0.18-less_strict_tests.patch,
35 + +files/libsndfile-1.0.18-m4macro.patch, +libsndfile-1.0.18.ebuild:
36 + version bump
37
38 21 Apr 2008; Mike Frysinger <vapier@g.o>
39 +files/libsndfile-1.0.17-autotools.patch, libsndfile-1.0.17-r1.ebuild:
40
41
42
43 1.1 media-libs/libsndfile/libsndfile-1.0.18.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/libsndfile-1.0.18.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/libsndfile-1.0.18.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libsndfile-1.0.18.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.ebuild,v 1.1 2009/02/28 12:40:33 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-gcc-werror \
100 --disable-gcc-pipe \
101 --disable-dependency-tracking
102 emake || die "emake failed."
103 }
104
105 src_install() {
106 emake DESTDIR="${D}" htmldocdir="/usr/share/doc/${PF}/html" install || die "emake install failed."
107 dodoc AUTHORS ChangeLog NEWS README TODO
108 }