summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Neri <rneri@libero.it>2011-07-19 07:48:47 -0300
committerRobby Workman <rworkman@slackbuilds.org>2011-07-21 22:52:12 -0500
commit0e2615b79f404959099aef99d5931c2ecdd9ebd7 (patch)
tree0f40637f84db80530aa66edfd3964f4767013478
parentab1a2081671d46a9eb827c91a505bd54b2325221 (diff)
downloadslackbuilds-0e2615b79f404959099aef99d5931c2ecdd9ebd7.tar.gz
audio/mp3splt-gtk: Updated for version 0.7.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r--audio/mp3splt-gtk/README16
-rw-r--r--audio/mp3splt-gtk/mp3splt-gtk.SlackBuild12
-rw-r--r--audio/mp3splt-gtk/mp3splt-gtk.desktop.diff12
-rw-r--r--audio/mp3splt-gtk/mp3splt-gtk.info8
-rw-r--r--audio/mp3splt-gtk/slack-desc12
5 files changed, 23 insertions, 37 deletions
diff --git a/audio/mp3splt-gtk/README b/audio/mp3splt-gtk/README
index 15a3479ff7..67e9f6f4d8 100644
--- a/audio/mp3splt-gtk/README
+++ b/audio/mp3splt-gtk/README
@@ -1,11 +1,11 @@
-Mp3Splt-project is a utility to split mp3 and ogg files selecting a begin and an
-end time position, without decoding. It's very useful to split large mp3/ogg to
-make smaller files or to split entire albums to obtain original tracks. If you
-want to split an album, you can select split points and filenames manually or
-you can get them automatically from CDDB (internet or a local file) or from .cue
-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 a utility to split mp3 and ogg files selecting a begin
+and an end time position, without decoding. It's very useful to split
+large mp3/ogg to make smaller files or to split entire albums to obtain
+original tracks. If you want to split an album, you can select split
+points and filenames manually or you can get them automatically from CDDB
+(internet or a local file) or from .cue 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 (all available from SlackBuilds.org):
- libmp3splt, a library (created from mp3splt version 2.1c)
diff --git a/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
index dc24f6b5bc..26e4ca5fe2 100644
--- a/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
+++ b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
@@ -5,16 +5,14 @@
# Written by Roberto Neri <rneri@libero.it>
PRGNAM=mp3splt-gtk
-VERSION=${VERSION:-0.5.9}
+VERSION=${VERSION:-0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -53,24 +51,24 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-patch -p1 < $CWD/mp3splt-gtk.desktop.diff
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-LIBS=-laudclient \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
+ --disable-gnome \
+ --disable-scrollkeeper \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
diff --git a/audio/mp3splt-gtk/mp3splt-gtk.desktop.diff b/audio/mp3splt-gtk/mp3splt-gtk.desktop.diff
deleted file mode 100644
index b73c9e2224..0000000000
--- a/audio/mp3splt-gtk/mp3splt-gtk.desktop.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-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 88626e4c28..41ca44ab55 100644
--- a/audio/mp3splt-gtk/mp3splt-gtk.info
+++ b/audio/mp3splt-gtk/mp3splt-gtk.info
@@ -1,10 +1,10 @@
PRGNAM="mp3splt-gtk"
-VERSION="0.5.9"
+VERSION="0.7"
HOMEPAGE="http://mp3splt.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/mp3splt/mp3splt-gtk-0.5.9.tar.gz"
-MD5SUM="9579e3d8ce992057d9fd64dd8ffb2066"
+DOWNLOAD="http://downloads.sourceforge.net/mp3splt/mp3splt-gtk-0.7.tar.gz"
+MD5SUM="a1cefffb7ea78ae7c07c8d3ba7a2630b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Roberto Neri"
EMAIL="rneri@libero.it"
-APPROVED="rworkman"
+APPROVED="Niels Horn"
diff --git a/audio/mp3splt-gtk/slack-desc b/audio/mp3splt-gtk/slack-desc
index f4186dfa24..6812c85b2e 100644
--- a/audio/mp3splt-gtk/slack-desc
+++ b/audio/mp3splt-gtk/slack-desc
@@ -1,13 +1,13 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|' on
-# the right side marks the last column you can put a character in. You must make
-# exactly 11 lines for the formatting to be correct. It's also customary to
-# leave one space after the ':'.
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
mp3splt-gtk: mp3splt-gtk (gtk2 gui from the mp3splt project)
-mp3splt-gtk:
+mp3splt-gtk:
mp3splt-gtk: mp3splt is a free utility to split mp3/ogg files (without decoding),
mp3splt-gtk: selecting begin/end time; if file is an album, you can get splitpoints
mp3splt-gtk: automatically from internet or a local cue/cddb file.
@@ -15,5 +15,5 @@ mp3splt-gtk: It splits also Mp3Wrap and AlbumWrap archives.
mp3splt-gtk: The mp3splt project is divided in 3 parts:
mp3splt-gtk: - libmp3splt, a library (created from mp3splt version 2.1c)
mp3splt-gtk: - mp3splt, a command line program
-mp3splt-gtk: - mp3splt-gtk, a gtk2 gui
+mp3splt-gtk: - mp3splt-gtk, a GTK2 gui
mp3splt-gtk: Homepage: http://mp3splt.sourceforge.net/