/[gentoo-x86]/media-sound/mp3splt-gtk/mp3splt-gtk-0.5.9.ebuild
Gentoo

Contents of /media-sound/mp3splt-gtk/mp3splt-gtk-0.5.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Jan 3 01:00:24 2013 UTC (23 months, 3 weeks ago) by sping
Branch: MAIN
Changes since 1.5: +3 -3 lines
media-sound/mp3splt-gtk: Fix dependenceny (bug #449014)

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x401A1600)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/mp3splt-gtk/mp3splt-gtk-0.5.9.ebuild,v 1.5 2010/10/10 18:42:44 armin76 Exp $
4
5 EAPI=2
6 inherit autotools multilib
7
8 DESCRIPTION="a GTK+ based utility to split mp3 and ogg files without decoding."
9 HOMEPAGE="http://mp3splt.sourceforge.net"
10 SRC_URI="mirror://sourceforge/mp3splt/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ~hppa ~ppc ~ppc64 sparc x86"
15 IUSE="audacious gstreamer nls"
16
17 RDEPEND=">=x11-libs/gtk+-2.6:2
18 <media-libs/libmp3splt-0.7.3
19 audacious? ( media-sound/audacious )
20 gstreamer? ( media-libs/gst-plugins-base:0.10 )"
21 DEPEND="${RDEPEND}
22 nls? ( sys-devel/gettext )"
23
24 src_prepare() {
25 if use audacious; then
26 sed -i \
27 -e 's:@AUDACIOUS_LIBS@:-laudclient &:' \
28 src/Makefile.am || die
29 eautoreconf
30 fi
31 }
32
33 src_configure() {
34 local myconf
35
36 use nls || myconf+=" --disable-nls"
37 use audacious || myconf+=" --disable-audacious"
38 use gstreamer || myconf+=" --disable-gstreamer"
39
40 econf \
41 --disable-dependency-tracking \
42 --with-mp3splt-libraries=/usr/$(get_libdir) \
43 --with-mp3splt-includes=/usr/include/libmp3splt \
44 ${myconf}
45 }
46
47 src_install() {
48 emake DESTDIR="${D}" install || die
49 dodoc AUTHORS ChangeLog NEWS README
50 }

  ViewVC Help
Powered by ViewVC 1.1.20