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: ChangeLog libsndfile-1.0.23.ebuild
Date: Sun, 10 Oct 2010 14:07:29
Message-Id: 20101010135909.C6E552004B@flycatcher.gentoo.org
1 aballier 10/10/10 13:59:09
2
3 Modified: ChangeLog
4 Added: libsndfile-1.0.23.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2_rc91/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.116 media-libs/libsndfile/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsndfile/ChangeLog?rev=1.116&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsndfile/ChangeLog?rev=1.116&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsndfile/ChangeLog?r1=1.115&r2=1.116
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/libsndfile/ChangeLog,v
20 retrieving revision 1.115
21 retrieving revision 1.116
22 diff -u -r1.115 -r1.116
23 --- ChangeLog 5 Oct 2010 18:28:51 -0000 1.115
24 +++ ChangeLog 10 Oct 2010 13:59:09 -0000 1.116
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-libs/libsndfile
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libsndfile/ChangeLog,v 1.115 2010/10/05 18:28:51 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsndfile/ChangeLog,v 1.116 2010/10/10 13:59:09 aballier Exp $
30 +
31 +*libsndfile-1.0.23 (10 Oct 2010)
32 +
33 + 10 Oct 2010; Alexis Ballier <aballier@g.o>
34 + +libsndfile-1.0.23.ebuild:
35 + version bump
36
37 *libsndfile-1.0.22 (05 Oct 2010)
38
39
40
41
42 1.1 media-libs/libsndfile/libsndfile-1.0.23.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsndfile/libsndfile-1.0.23.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsndfile/libsndfile-1.0.23.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libsndfile-1.0.23.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-libs/libsndfile/libsndfile-1.0.23.ebuild,v 1.1 2010/10/10 13:59:09 aballier Exp $
52
53 EAPI=3
54 inherit eutils 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/files/${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="alsa minimal sqlite"
70
71 RDEPEND="!minimal? ( >=media-libs/flac-1.2.1
72 >=media-libs/libogg-1.1.3
73 >=media-libs/libvorbis-1.2.3 )
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_prepare() {
82 sed -i -e "s/noinst_PROGRAMS/check_PROGRAMS/" "${S}/tests/Makefile.am" \
83 "${S}/examples/Makefile.am" || die "sed failed"
84
85 epatch "${FILESDIR}"/${PN}-1.0.17-regtests-need-sqlite.patch
86
87 rm M4/libtool.m4 M4/lt*.m4 || die "rm failed"
88
89 AT_M4DIR=M4 eautoreconf
90 epunt_cxx
91 }
92
93 src_configure() {
94 econf $(use_enable sqlite) \
95 $(use_enable alsa) \
96 $(use_enable !minimal external-libs) \
97 --disable-octave \
98 --disable-gcc-werror \
99 --disable-gcc-pipe \
100 --disable-dependency-tracking
101 }
102
103 src_install() {
104 emake DESTDIR="${D}" htmldocdir="/usr/share/doc/${PF}/html" install || die "emake install failed"
105 dodoc AUTHORS ChangeLog NEWS README
106 }