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-plugins/swh-plugins: swh-plugins-0.4.15-r1.ebuild ChangeLog
Date: Tue, 13 Jan 2009 07:38:41
Message-Id: E1LMdrA-00014q-Rp@stork.gentoo.org
1 aballier 09/01/13 07:38:36
2
3 Modified: ChangeLog
4 Added: swh-plugins-0.4.15-r1.ebuild
5 Log:
6 Use system libgsm, bug #252890
7 (Portage version: 2.2_rc21/cvs/Linux 2.6.28 x86_64)
8
9 Revision Changes Path
10 1.39 media-plugins/swh-plugins/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/swh-plugins/ChangeLog?rev=1.39&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/swh-plugins/ChangeLog?rev=1.39&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/swh-plugins/ChangeLog?r1=1.38&r2=1.39
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-plugins/swh-plugins/ChangeLog,v
19 retrieving revision 1.38
20 retrieving revision 1.39
21 diff -u -r1.38 -r1.39
22 --- ChangeLog 5 Oct 2008 11:31:01 -0000 1.38
23 +++ ChangeLog 13 Jan 2009 07:38:36 -0000 1.39
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-plugins/swh-plugins
26 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/swh-plugins/ChangeLog,v 1.38 2008/10/05 11:31:01 aballier Exp $
28 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/swh-plugins/ChangeLog,v 1.39 2009/01/13 07:38:36 aballier Exp $
30 +
31 +*swh-plugins-0.4.15-r1 (13 Jan 2009)
32 +
33 + 13 Jan 2009; Alexis Ballier <aballier@g.o>
34 + +files/swh-plugins-0.4.15-system_gsm.patch, +swh-plugins-0.4.15-r1.ebuild:
35 + Use system libgsm, bug #252890
36
37 05 Oct 2008; Alexis Ballier <aballier@g.o>
38 swh-plugins-0.4.15.ebuild:
39
40
41
42 1.1 media-plugins/swh-plugins/swh-plugins-0.4.15-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/swh-plugins/swh-plugins-0.4.15-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/swh-plugins/swh-plugins-0.4.15-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: swh-plugins-0.4.15-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/media-plugins/swh-plugins/swh-plugins-0.4.15-r1.ebuild,v 1.1 2009/01/13 07:38:36 aballier Exp $
52
53 inherit eutils autotools
54
55 DESCRIPTION="Large collection of LADSPA audio plugins/effects"
56 HOMEPAGE="http://plugin.org.uk"
57 SRC_URI="http://plugin.org.uk/releases/${PV}/${P}.tar.gz"
58
59 SLOT="0"
60 LICENSE="GPL-2"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE="3dnow nls sse"
63
64 RDEPEND="media-libs/ladspa-sdk
65 media-sound/gsm
66 >=sci-libs/fftw-3"
67 DEPEND="${RDEPEND}
68 sys-devel/gettext
69 dev-util/cvs
70 dev-util/pkgconfig"
71
72 src_unpack() {
73 unpack ${A}
74
75 cd "${S}"
76 epatch "${FILESDIR}/${P}-pic.patch"
77 epatch "${FILESDIR}/${P}-plugindir.patch"
78 epatch "${FILESDIR}/${P}-riceitdown.patch"
79 epatch "${FILESDIR}/${P}-gettext.patch"
80
81 # Use system libgsm, bug #252890
82 rm -rf gsm
83 epatch "${FILESDIR}/${P}-system_gsm.patch"
84
85 # This is to update gettext macros, otherwise they are incompatible with
86 # recent libtools, bug #231767
87 autopoint -f || die
88
89 # it doesn't get updated otherwise
90 rm -f missing
91
92 eautoreconf
93 elibtoolize
94 }
95
96 src_compile() {
97 econf ${myconf} \
98 $(use_enable sse) \
99 $(use_enable 3dnow) \
100 $(use_enable nls) \
101 $(use_enable userland_Darwin darwin) \
102 --enable-fast-install \
103 --disable-dependency-tracking || die "econf failed"
104 emake || die "emake failed."
105 }
106
107 src_install() {
108 emake DESTDIR="${D}" install || die "emake install failed."
109 dodoc AUTHORS ChangeLog README TODO
110 }
111
112 pkg_postinst() {
113 ewarn "WARNING: You have to be careful when using the"
114 ewarn "swh plugins. Be sure to lower your sound volume"
115 ewarn "and then play around a bit with the plugins so"
116 ewarn "you get a feeling for it. Otherwise your speakers"
117 ewarn "won't like that."
118 }