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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Sep 6 22:34:39 2011 UTC (3 years ago) by sping
Branch: MAIN
media-libs/mp3splt-gtk: Bump to 0.7.0.920

(Portage version: 2.1.10.13/cvs/Linux x86_64)

1 # Copyright 1999-2011 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 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="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 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.0.920
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 eautoreconf
35 }
36
37 src_configure() {
38 local myconf
39
40 use nls || myconf+=" --disable-nls"
41 use audacious || myconf+=" --disable-audacious"
42 use gstreamer || myconf+=" --disable-gstreamer"
43
44 econf \
45 --disable-dependency-tracking \
46 --with-mp3splt-libraries=/usr/$(get_libdir) \
47 --with-mp3splt-includes=/usr/include/libmp3splt \
48 $(use_enable gnome) \
49 $(use_enable doc doxygen_doc) \
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