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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon May 21 19:10:52 2012 UTC (2 years, 3 months ago) by xarthisius
Branch: MAIN
Changes since 1.2: +3 -3 lines
Add missing inheritance of eutils.eclass

(Portage version: 2.2.0_alpha104/cvs/Linux x86_64)

1 # Copyright 1999-2012 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.7.ebuild,v 1.2 2011/08/03 21:35:24 sping Exp $
4
5 EAPI=2
6 inherit autotools eutils 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 gnome gstreamer nls"
16
17 # Audacious 3.x pulls in GTK+ 3.x which leads to compile errors
18 RDEPEND=">=x11-libs/gtk+-2.6:2
19 >=media-libs/libmp3splt-0.7
20 audacious? ( <media-sound/audacious-3.0 )
21 gstreamer? ( media-libs/gst-plugins-base:0.10 )
22 gnome? ( gnome-base/libgnomeui )"
23 DEPEND="${RDEPEND}
24 gnome? ( app-text/gnome-doc-utils app-text/rarian )
25 nls? ( sys-devel/gettext )"
26
27 src_prepare() {
28 if use audacious; then
29 sed -i \
30 -e 's:@AUDACIOUS_LIBS@:-laudclient &:' \
31 src/Makefile.am || die
32 fi
33
34 epatch "${FILESDIR}"/${P}-disable-docs.patch
35 eautoreconf
36 }
37
38 src_configure() {
39 local myconf
40
41 use nls || myconf+=" --disable-nls"
42 use audacious || myconf+=" --disable-audacious"
43 use gstreamer || myconf+=" --disable-gstreamer"
44
45 econf \
46 --disable-dependency-tracking \
47 --with-mp3splt-libraries=/usr/$(get_libdir) \
48 --with-mp3splt-includes=/usr/include/libmp3splt \
49 $(use_enable gnome) \
50 ${myconf}
51 }
52
53 src_install() {
54 emake DESTDIR="${D}" install || die
55 dodoc AUTHORS ChangeLog NEWS README
56 }

  ViewVC Help
Powered by ViewVC 1.1.20