summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2013-05-01 20:55:02 +0000
committerSebastian Pipping <sping@gentoo.org>2013-05-01 20:55:02 +0000
commita9366e93aab0c2ed07263c1e34735d7032fa67bd (patch)
treed0bcc10188794a1228521105c337d1d936388df8 /media-sound/mp3splt-gtk
parentmedia-libs/libmp3splt: 0.8.2 (diff)
downloadgentoo-2-a9366e93aab0c2ed07263c1e34735d7032fa67bd.tar.gz
gentoo-2-a9366e93aab0c2ed07263c1e34735d7032fa67bd.tar.bz2
gentoo-2-a9366e93aab0c2ed07263c1e34735d7032fa67bd.zip
media-sound/mp3splt-gtk: 0.8.2
(Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 0x401A1600)
Diffstat (limited to 'media-sound/mp3splt-gtk')
-rw-r--r--media-sound/mp3splt-gtk/ChangeLog8
-rw-r--r--media-sound/mp3splt-gtk/files/mp3splt-gtk-0.8.2-desktop-file.patch26
-rw-r--r--media-sound/mp3splt-gtk/mp3splt-gtk-0.8.2.ebuild61
3 files changed, 94 insertions, 1 deletions
diff --git a/media-sound/mp3splt-gtk/ChangeLog b/media-sound/mp3splt-gtk/ChangeLog
index 36290b51880a..cd521b595998 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-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3splt-gtk/ChangeLog,v 1.32 2013/01/27 23:50:05 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3splt-gtk/ChangeLog,v 1.33 2013/05/01 20:55:02 sping Exp $
+
+*mp3splt-gtk-0.8.2 (01 May 2013)
+
+ 01 May 2013; Sebastian Pipping <sping@gentoo.org> +mp3splt-gtk-0.8.2.ebuild,
+ +files/mp3splt-gtk-0.8.2-desktop-file.patch:
+ Bump to 0.8.2
*mp3splt-gtk-0.8.1 (27 Jan 2013)
diff --git a/media-sound/mp3splt-gtk/files/mp3splt-gtk-0.8.2-desktop-file.patch b/media-sound/mp3splt-gtk/files/mp3splt-gtk-0.8.2-desktop-file.patch
new file mode 100644
index 000000000000..f03c8a1e2987
--- /dev/null
+++ b/media-sound/mp3splt-gtk/files/mp3splt-gtk-0.8.2-desktop-file.patch
@@ -0,0 +1,26 @@
+From 2db2b45c9b78561370b620a6a64d2d5e7c988a78 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Wed, 1 May 2013 22:27:25 +0200
+Subject: [PATCH] Remove deprecated category "Application" from .desktop file
+ template
+
+---
+ mp3splt-gtk.desktop.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mp3splt-gtk.desktop.in b/mp3splt-gtk.desktop.in
+index d7d0c98..67e4e1b 100644
+--- a/mp3splt-gtk.desktop.in
++++ b/mp3splt-gtk.desktop.in
+@@ -6,7 +6,7 @@ Comment=Split mp3 and ogg files without decoding
+ Icon=PREFIX/mp3splt-gtk_ico.svg
+
+ Type=Application
+-Categories=Application;AudioVideo;Audio;AudioVideoEditing;
++Categories=AudioVideo;Audio;AudioVideoEditing;
+
+ Exec=mp3splt-gtk
+ StartupNotify=false
+--
+1.8.1.5
+
diff --git a/media-sound/mp3splt-gtk/mp3splt-gtk-0.8.2.ebuild b/media-sound/mp3splt-gtk/mp3splt-gtk-0.8.2.ebuild
new file mode 100644
index 000000000000..de431d8725dd
--- /dev/null
+++ b/media-sound/mp3splt-gtk/mp3splt-gtk-0.8.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2013 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.8.2.ebuild,v 1.1 2013/05/01 20:55:02 sping Exp $
+
+EAPI=4
+inherit eutils versionator 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 doc gtk3 gnome gstreamer nls"
+
+RDEPEND="~media-libs/libmp3splt-0.8.2
+ gtk3? ( x11-libs/gtk+:3
+ audacious? ( >=media-sound/audacious-3.0 ) )
+ !gtk3? ( >=x11-libs/gtk+-2.18:2
+ audacious? ( <media-sound/audacious-3.0 ) )
+ !audacious? ( dev-libs/dbus-glib )
+ gstreamer? ( media-libs/gst-plugins-base:0.10 )
+ gnome? ( gnome-base/libgnomeui )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ 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
+ fi
+
+ eautoreconf
+
+ epatch "${FILESDIR}"/${P}-desktop-file.patch
+}
+
+src_configure() {
+ local myconf
+
+ use nls || myconf+=" --disable-nls"
+ use audacious || myconf+=" --disable-audacious"
+ use gstreamer || myconf+=" --disable-gstreamer"
+
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable gnome) \
+ $(use_enable doc doxygen_doc) \
+ $(use_enable gtk3) \
+ --disable-cutter \
+ ${myconf}
+}
+
+src_install() {
+ default
+ dodoc AUTHORS ChangeLog NEWS README
+}