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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon May 21 19:10:52 2012 UTC (22 months, 3 weeks ago) by xarthisius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +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.0.930.ebuild,v 1.1 2011/09/23 21:26:49 sping Exp $
4
5 EAPI=2
6 inherit versionator 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="http://ioalex.net/testing_downloads/snapshots/$(get_version_component_range 4)/${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.0.920
18 gtk3? ( x11-libs/gtk+:3
19 audacious? ( >=media-sound/audacious-3.0 ) )
20 !gtk3? ( >=x11-libs/gtk+-2.6: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 epatch "${FILESDIR}"/${P}-gtk.patch
36 eautoreconf
37 }
38
39 src_configure() {
40 local myconf
41
42 use nls || myconf+=" --disable-nls"
43 use audacious || myconf+=" --disable-audacious"
44 use gstreamer || myconf+=" --disable-gstreamer"
45
46 econf \
47 --disable-dependency-tracking \
48 --with-mp3splt-libraries=/usr/$(get_libdir) \
49 --with-mp3splt-includes=/usr/include/libmp3splt \
50 $(use_enable gnome) \
51 $(use_enable doc doxygen_doc) \
52 $(use_enable gtk3) \
53 ${myconf}
54 }
55
56 src_install() {
57 emake DESTDIR="${D}" install || die
58 dodoc AUTHORS ChangeLog NEWS README
59 }

  ViewVC Help
Powered by ViewVC 1.1.20