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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed May 16 19:41:02 2012 UTC (2 years, 6 months ago) by sping
Branch: MAIN
media-sound/mp3splt-gtk: 0.7.2

(Portage version: 2.1.10.56/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.1.ebuild,v 1.1 2012/01/04 10:45:44 sping Exp $
4
5 EAPI=2
6 inherit versionator 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 doc gtk3 gnome gstreamer nls"
16
17 RDEPEND=">=media-libs/libmp3splt-0.7.2
18 gtk3? ( x11-libs/gtk+:3
19 audacious? ( >=media-sound/audacious-3.0 ) )
20 !gtk3? ( >=x11-libs/gtk+-2.18:2
21 audacious? ( <media-sound/audacious-3.0 ) )
22 gstreamer? ( media-libs/gst-plugins-base:0.10 )
23 gnome? ( gnome-base/libgnomeui )"
24 DEPEND="${RDEPEND}
25 gnome? ( app-text/gnome-doc-utils app-text/rarian )
26 nls? ( sys-devel/gettext )"
27
28 src_prepare() {
29 if use audacious; then
30 sed -i \
31 -e 's:@AUDACIOUS_LIBS@:-laudclient &:' \
32 src/Makefile.am || die
33 fi
34
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 $(use_enable doc doxygen_doc) \
51 $(use_enable gtk3) \
52 ${myconf}
53 }
54
55 src_install() {
56 emake DESTDIR="${D}" install || die
57 dodoc AUTHORS ChangeLog NEWS README
58 }

  ViewVC Help
Powered by ViewVC 1.1.20