Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libsndfile: libsndfile-1.0.22.ebuild ChangeLog
Date: Tue, 05 Oct 2010 19:03:13
Message-Id: 20101005182852.15C4A20051@flycatcher.gentoo.org
1 radhermit 10/10/05 18:28:52
2
3 Modified: ChangeLog
4 Added: libsndfile-1.0.22.ebuild
5 Log:
6 Version bump, minor bug fixes. Bump libvorbis dependency, remove unused libtool eclass, update to EAPI=3, use src_prepare instead of src_unpack, and use src_configure instead of src_compile.
7
8 (Portage version: 2.2_rc88/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.115 media-libs/libsndfile/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsndfile/ChangeLog?rev=1.115&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsndfile/ChangeLog?rev=1.115&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsndfile/ChangeLog?r1=1.114&r2=1.115
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/libsndfile/ChangeLog,v
20 retrieving revision 1.114
21 retrieving revision 1.115
22 diff -u -r1.114 -r1.115
23 --- ChangeLog 5 Sep 2010 09:26:49 -0000 1.114
24 +++ ChangeLog 5 Oct 2010 18:28:51 -0000 1.115
25 @@ -1,6 +1,13 @@
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.114 2010/09/05 09:26:49 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsndfile/ChangeLog,v 1.115 2010/10/05 18:28:51 radhermit Exp $
30 +
31 +*libsndfile-1.0.22 (05 Oct 2010)
32 +
33 + 05 Oct 2010; Tim Harder <radhermit@g.o> +libsndfile-1.0.22.ebuild:
34 + Version bump, minor bug fixes. Bump libvorbis dependency, remove unused
35 + libtool eclass, update to EAPI=3, use src_prepare instead of src_unpack,
36 + and use src_configure instead of src_compile.
37
38 *libsndfile-1.0.21-r1 (05 Sep 2010)
39
40
41
42
43 1.1 media-libs/libsndfile/libsndfile-1.0.22.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsndfile/libsndfile-1.0.22.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsndfile/libsndfile-1.0.22.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libsndfile-1.0.22.ebuild
49 ===================================================================
50 # Copyright 1999-2010 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.22.ebuild,v 1.1 2010/10/05 18:28:51 radhermit Exp $
53
54 EAPI=3
55 inherit eutils autotools
56
57 MY_P=${P/_pre/pre}
58
59 DESCRIPTION="A C library for reading and writing files containing sampled sound"
60 HOMEPAGE="http://www.mega-nerd.com/libsndfile"
61 if [[ "${MY_P}" == "${P}" ]]; then
62 SRC_URI="http://www.mega-nerd.com/libsndfile/files/${P}.tar.gz"
63 else
64 SRC_URI="http://www.mega-nerd.com/tmp/${MY_P}b.tar.gz"
65 fi
66
67 LICENSE="LGPL-2.1"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
70 IUSE="alsa minimal sqlite"
71
72 RDEPEND="!minimal? ( >=media-libs/flac-1.2.1
73 >=media-libs/libogg-1.1.3
74 >=media-libs/libvorbis-1.2.3 )
75 alsa? ( media-libs/alsa-lib )
76 sqlite? ( >=dev-db/sqlite-3.2 )"
77 DEPEND="${RDEPEND}
78 dev-util/pkgconfig"
79
80 S=${WORKDIR}/${MY_P}
81
82 src_prepare() {
83 sed -i -e "s/noinst_PROGRAMS/check_PROGRAMS/" "${S}/tests/Makefile.am" \
84 "${S}/examples/Makefile.am" || die "sed failed"
85
86 epatch "${FILESDIR}"/${PN}-1.0.17-regtests-need-sqlite.patch
87
88 rm M4/libtool.m4 M4/lt*.m4 || die "rm failed"
89
90 AT_M4DIR=M4 eautoreconf
91 epunt_cxx
92 }
93
94 src_configure() {
95 econf $(use_enable sqlite) \
96 $(use_enable alsa) \
97 $(use_enable !minimal external-libs) \
98 --disable-octave \
99 --disable-gcc-werror \
100 --disable-gcc-pipe \
101 --disable-dependency-tracking
102 }
103
104 src_install() {
105 emake DESTDIR="${D}" htmldocdir="/usr/share/doc/${PF}/html" install || die "emake install failed"
106 dodoc AUTHORS ChangeLog NEWS README
107 }