audio/mp3splt-gtk: Updated for version 0.5.4

This commit is contained in:
Roberto Neri 2010-05-12 17:37:10 +02:00 committed by Robby Workman
parent 6f116fb6d3
commit d7baa66e84
5 changed files with 28 additions and 32 deletions

View File

@ -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 cddb/cue splitpoints. You can extract tracks from Mp3Wrap or AlbumWrap files in
few seconds. 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) - libmp3splt, a library (created from mp3splt version 2.1c)
- mp3splt, a command line program - mp3splt, a command line program
- mp3splt-gtk, a gtk2 gui - mp3splt-gtk, a GTK2 gui
all available from SlackBuilds.org

View File

@ -1,4 +1,4 @@
if [ -x /usr/bin/update-desktop-database ]; then if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1 /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
fi fi

View File

@ -5,7 +5,7 @@
# Written by Roberto Neri <rneri@libero.it> # Written by Roberto Neri <rneri@libero.it>
PRGNAM=mp3splt-gtk PRGNAM=mp3splt-gtk
VERSION=${VERSION:-0.5.2} VERSION=${VERSION:-0.5.4}
ARCH=${ARCH:-i486} ARCH=${ARCH:-i486}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} 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 \) \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \; -exec chmod 644 {} \;
patch -i $CWD/mp3splt-gtk.desktop.diff patch -p1 < $CWD/mp3splt-gtk.desktop.diff
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--enable-audacious --enable-audacious \
--enable-gstreamer \
--build=$ARCH-slackware-linux
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
( cd $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 "executable" | grep ELF | cut -f 1 -d : | \
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

View File

@ -1,19 +1,12 @@
*** mp3splt-gtk.desktop.orig 2008-09-27 11:16:10.000000000 +0200 diff -Nur mp3splt-gtk-0.5.4.orig/mp3splt-gtk.desktop mp3splt-gtk-0.5.4/mp3splt-gtk.desktop
--- mp3splt-gtk.desktop 2008-10-14 09:20:13.000000000 +0200 --- 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,11 **** @@ -5,7 +5,7 @@
GenericName=Sound Splitter GenericName=Sound Splitter
Comment=Split mp3 and ogg files without decoding Comment=Split mp3 and ogg files without decoding
! Icon=/usr/share/mp3splt-gtk/mp3splt-gtk_ico.png -Icon=/usr/share/mp3splt-gtk/mp3splt-gtk_ico.png
+Icon=mp3splt-gtk_ico
Type=Application
Categories=Application;AudioVideo;Audio;AudioVideoEditing; Type=Application
--- 5,11 ---- Categories=Application;AudioVideo;Audio;AudioVideoEditing;
GenericName=Sound Splitter
Comment=Split mp3 and ogg files without decoding
! Icon=mp3splt-gtk_ico.png
Type=Application
Categories=Application;AudioVideo;Audio;AudioVideoEditing;

View File

@ -1,8 +1,8 @@
PRGNAM="mp3splt-gtk" PRGNAM="mp3splt-gtk"
VERSION="0.5.2" VERSION="0.5.4"
HOMEPAGE="http://mp3splt.sourceforge.net" HOMEPAGE="http://mp3splt.sourceforge.net"
DOWNLOAD="http://downloads.sourceforge.net/mp3splt/mp3splt-gtk-0.5.2.tar.gz" DOWNLOAD="http://downloads.sourceforge.net/mp3splt/mp3splt-gtk-0.5.4.tar.gz"
MD5SUM="0fb088cc92cba8fc7072dd3cf9092563" MD5SUM="b423b57e2c2ab4325d5b66c6a8da9bdb"
MAINTAINER="Roberto Neri" MAINTAINER="Roberto Neri"
EMAIL="rneri@libero.it" EMAIL="rneri@libero.it"
APPROVED="David Somero" APPROVED="rworkman"