diff options
author | Sebastian Pipping <sping@gentoo.org> | 2011-08-03 21:16:19 +0000 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2011-08-03 21:16:19 +0000 |
commit | 3fc100bd0d90af8374cf73aefbbf574608129cbd (patch) | |
tree | dcfca6d56137717b48ef9eee6c9834d5db1e5968 /media-sound | |
parent | Disable test requiring session dbus, bug 376935 (diff) | |
download | gentoo-2-3fc100bd0d90af8374cf73aefbbf574608129cbd.tar.gz gentoo-2-3fc100bd0d90af8374cf73aefbbf574608129cbd.tar.bz2 gentoo-2-3fc100bd0d90af8374cf73aefbbf574608129cbd.zip |
media-sound/mp3splt-gtk: Bump to 0.7 (bug #344863)
(Portage version: 2.1.10.10/cvs/Linux x86_64)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/mp3splt-gtk/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/mp3splt-gtk/metadata.xml | 4 | ||||
-rw-r--r-- | media-sound/mp3splt-gtk/mp3splt-gtk-0.7.ebuild | 54 |
3 files changed, 66 insertions, 2 deletions
diff --git a/media-sound/mp3splt-gtk/ChangeLog b/media-sound/mp3splt-gtk/ChangeLog index 52b8a3bcbe48..073226a82d5d 100644 --- a/media-sound/mp3splt-gtk/ChangeLog +++ b/media-sound/mp3splt-gtk/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/mp3splt-gtk -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3splt-gtk/ChangeLog,v 1.18 2010/10/10 18:42:44 armin76 Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3splt-gtk/ChangeLog,v 1.19 2011/08/03 21:16:19 sping Exp $ + +*mp3splt-gtk-0.7 (03 Aug 2011) + + 03 Aug 2011; Sebastian Pipping <sping@gentoo.org> +mp3splt-gtk-0.7.ebuild: + Bump to 0.7, enable gnome support, restrict Audacious support to <3.0 due to + build failurs with mixed GTK 2 and 3 10 Oct 2010; Raúl Porcel <armin76@gentoo.org> mp3splt-gtk-0.5.9.ebuild: sparc stable wrt #326139 diff --git a/media-sound/mp3splt-gtk/metadata.xml b/media-sound/mp3splt-gtk/metadata.xml index 751c0f42ebf5..5bcaaae7782b 100644 --- a/media-sound/mp3splt-gtk/metadata.xml +++ b/media-sound/mp3splt-gtk/metadata.xml @@ -2,6 +2,10 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>sound</herd> + <maintainer> + <email>sping@gentoo.org</email> + <name>Sebastian Pipping</name> + </maintainer> <use> <flag name='audacious'>Include <pkg>media-sound/audacious</pkg> support</flag> </use> diff --git a/media-sound/mp3splt-gtk/mp3splt-gtk-0.7.ebuild b/media-sound/mp3splt-gtk/mp3splt-gtk-0.7.ebuild new file mode 100644 index 000000000000..65bfa9db8a96 --- /dev/null +++ b/media-sound/mp3splt-gtk/mp3splt-gtk-0.7.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3splt-gtk/mp3splt-gtk-0.7.ebuild,v 1.1 2011/08/03 21:16:19 sping Exp $ + +EAPI=2 +inherit autotools multilib + +DESCRIPTION="a GTK+ based utility to split mp3 and ogg files without decoding." +HOMEPAGE="http://mp3splt.sourceforge.net" +SRC_URI="mirror://sourceforge/mp3splt/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="audacious gnome gstreamer nls" + +# Audacious 3.x pulls in GTK+ 3.x which leads to compile errors +RDEPEND=">=x11-libs/gtk+-2.6:2 + >=media-libs/libmp3splt-0.7 + audacious? ( <media-sound/audacious-3.0 ) + gstreamer? ( media-libs/gst-plugins-base:0.10 ) + gnome? ( gnome-base/libgnomeui )" +DEPEND="${RDEPEND} + gnome? ( app-text/gnome-doc-utils app-text/rarian ) + nls? ( sys-devel/gettext )" + +src_prepare() { + if use audacious; then + sed -i \ + -e 's:@AUDACIOUS_LIBS@:-laudclient &:' \ + src/Makefile.am || die + eautoreconf + fi +} + +src_configure() { + local myconf + + use nls || myconf+=" --disable-nls" + use audacious || myconf+=" --disable-audacious" + use gstreamer || myconf+=" --disable-gstreamer" + + econf \ + --disable-dependency-tracking \ + --with-mp3splt-libraries=/usr/$(get_libdir) \ + --with-mp3splt-includes=/usr/include/libmp3splt \ + $(use_enable gnome) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README +} |