summaryrefslogtreecommitdiff
path: root/audio/mp3splt-gtk
diff options
context:
space:
mode:
authorRoberto Neri <rneri@libero.it>2010-05-12 17:37:10 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:37:10 +0200
commitd7baa66e84df13cbc2fda1af3986dcfa77f3ac9f (patch)
treef6b71c504cf76f5485ca3539c9bf0bbc296040fc /audio/mp3splt-gtk
parent6f116fb6d30d3251615bdb53ba1c76ad94348625 (diff)
downloadslackbuilds-d7baa66e84df13cbc2fda1af3986dcfa77f3ac9f.tar.gz
audio/mp3splt-gtk: Updated for version 0.5.4
Diffstat (limited to 'audio/mp3splt-gtk')
-rw-r--r--audio/mp3splt-gtk/README5
-rw-r--r--audio/mp3splt-gtk/doinst.sh2
-rw-r--r--audio/mp3splt-gtk/mp3splt-gtk.SlackBuild14
-rw-r--r--audio/mp3splt-gtk/mp3splt-gtk.desktop.diff31
-rw-r--r--audio/mp3splt-gtk/mp3splt-gtk.info8
5 files changed, 28 insertions, 32 deletions
diff --git a/audio/mp3splt-gtk/README b/audio/mp3splt-gtk/README
index c346bfe81b..ad071e5ffc 100644
--- a/audio/mp3splt-gtk/README
+++ b/audio/mp3splt-gtk/README
@@ -7,8 +7,7 @@ files. Supports also automatic silence split, that can be used also to adjust
cddb/cue splitpoints. You can extract tracks from Mp3Wrap or AlbumWrap files in
few seconds.
-Mp3splt-project is divided in 3 parts:
+Mp3splt-project is divided in 3 parts (all available from SlackBuilds.org):
- libmp3splt, a library (created from mp3splt version 2.1c)
- mp3splt, a command line program
- - mp3splt-gtk, a gtk2 gui
-all available from SlackBuilds.org
+ - mp3splt-gtk, a GTK2 gui
diff --git a/audio/mp3splt-gtk/doinst.sh b/audio/mp3splt-gtk/doinst.sh
index b46adf0f45..65fd352418 100644
--- a/audio/mp3splt-gtk/doinst.sh
+++ b/audio/mp3splt-gtk/doinst.sh
@@ -1,4 +1,4 @@
-
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
fi
+
diff --git a/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
index cec3e5f979..03a91e45dd 100644
--- a/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
+++ b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
@@ -5,7 +5,7 @@
# Written by Roberto Neri <rneri@libero.it>
PRGNAM=mp3splt-gtk
-VERSION=${VERSION:-0.5.2}
+VERSION=${VERSION:-0.5.4}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -38,20 +38,24 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-patch -i $CWD/mp3splt-gtk.desktop.diff
+patch -p1 < $CWD/mp3splt-gtk.desktop.diff
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --enable-audacious
+ --enable-audacious \
+ --enable-gstreamer \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/audio/mp3splt-gtk/mp3splt-gtk.desktop.diff b/audio/mp3splt-gtk/mp3splt-gtk.desktop.diff
index f628f64aa7..b73c9e2224 100644
--- a/audio/mp3splt-gtk/mp3splt-gtk.desktop.diff
+++ b/audio/mp3splt-gtk/mp3splt-gtk.desktop.diff
@@ -1,19 +1,12 @@
-*** mp3splt-gtk.desktop.orig 2008-09-27 11:16:10.000000000 +0200
---- mp3splt-gtk.desktop 2008-10-14 09:20:13.000000000 +0200
-***************
-*** 5,11 ****
- GenericName=Sound Splitter
- Comment=Split mp3 and ogg files without decoding
-
-! Icon=/usr/share/mp3splt-gtk/mp3splt-gtk_ico.png
-
- Type=Application
- Categories=Application;AudioVideo;Audio;AudioVideoEditing;
---- 5,11 ----
- GenericName=Sound Splitter
- Comment=Split mp3 and ogg files without decoding
-
-! Icon=mp3splt-gtk_ico.png
-
- Type=Application
- Categories=Application;AudioVideo;Audio;AudioVideoEditing;
+diff -Nur mp3splt-gtk-0.5.4.orig/mp3splt-gtk.desktop mp3splt-gtk-0.5.4/mp3splt-gtk.desktop
+--- mp3splt-gtk-0.5.4.orig/mp3splt-gtk.desktop 2008-06-06 15:29:03.000000000 -0500
++++ mp3splt-gtk-0.5.4/mp3splt-gtk.desktop 2009-01-30 23:54:08.806698497 -0600
+@@ -5,7 +5,7 @@
+ GenericName=Sound Splitter
+ Comment=Split mp3 and ogg files without decoding
+
+-Icon=/usr/share/mp3splt-gtk/mp3splt-gtk_ico.png
++Icon=mp3splt-gtk_ico
+
+ Type=Application
+ Categories=Application;AudioVideo;Audio;AudioVideoEditing;
diff --git a/audio/mp3splt-gtk/mp3splt-gtk.info b/audio/mp3splt-gtk/mp3splt-gtk.info
index 704cf5d382..bc401be115 100644
--- a/audio/mp3splt-gtk/mp3splt-gtk.info
+++ b/audio/mp3splt-gtk/mp3splt-gtk.info
@@ -1,8 +1,8 @@
PRGNAM="mp3splt-gtk"
-VERSION="0.5.2"
+VERSION="0.5.4"
HOMEPAGE="http://mp3splt.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/mp3splt/mp3splt-gtk-0.5.2.tar.gz"
-MD5SUM="0fb088cc92cba8fc7072dd3cf9092563"
+DOWNLOAD="http://downloads.sourceforge.net/mp3splt/mp3splt-gtk-0.5.4.tar.gz"
+MD5SUM="b423b57e2c2ab4325d5b66c6a8da9bdb"
MAINTAINER="Roberto Neri"
EMAIL="rneri@libero.it"
-APPROVED="David Somero"
+APPROVED="rworkman"