audio/mp3splt-gtk: Updated for version 0.7.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Roberto Neri 2011-07-19 07:48:47 -03:00 committed by Robby Workman
parent ab1a208167
commit 0e2615b79f
5 changed files with 23 additions and 37 deletions

View File

@ -1,11 +1,11 @@
Mp3Splt-project is a utility to split mp3 and ogg files selecting a begin and an Mp3Splt-project is a utility to split mp3 and ogg files selecting a begin
end time position, without decoding. It's very useful to split large mp3/ogg to and an end time position, without decoding. It's very useful to split
make smaller files or to split entire albums to obtain original tracks. If you large mp3/ogg to make smaller files or to split entire albums to obtain
want to split an album, you can select split points and filenames manually or original tracks. If you want to split an album, you can select split
you can get them automatically from CDDB (internet or a local file) or from .cue points and filenames manually or you can get them automatically from CDDB
files. Supports also automatic silence split, that can be used also to adjust (internet or a local file) or from .cue files. Supports also automatic
cddb/cue splitpoints. You can extract tracks from Mp3Wrap or AlbumWrap files in silence split, that can be used also to adjust cddb/cue splitpoints. You
few seconds. can extract tracks from Mp3Wrap or AlbumWrap files in few seconds.
Mp3splt-project is divided in 3 parts (all available from SlackBuilds.org): 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)

View File

@ -5,16 +5,14 @@
# Written by Roberto Neri <rneri@libero.it> # Written by Roberto Neri <rneri@libero.it>
PRGNAM=mp3splt-gtk PRGNAM=mp3splt-gtk
VERSION=${VERSION:-0.5.9} VERSION=${VERSION:-0.7}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -53,24 +51,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 -p1 < $CWD/mp3splt-gtk.desktop.diff
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
LIBS=-laudclient \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \ --mandir=/usr/man \
--disable-gnome \
--disable-scrollkeeper \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
make make
make install DESTDIR=$PKG 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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \; 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \ cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \

View File

@ -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;

View File

@ -1,10 +1,10 @@
PRGNAM="mp3splt-gtk" PRGNAM="mp3splt-gtk"
VERSION="0.5.9" VERSION="0.7"
HOMEPAGE="http://mp3splt.sourceforge.net" HOMEPAGE="http://mp3splt.sourceforge.net"
DOWNLOAD="http://downloads.sourceforge.net/mp3splt/mp3splt-gtk-0.5.9.tar.gz" DOWNLOAD="http://downloads.sourceforge.net/mp3splt/mp3splt-gtk-0.7.tar.gz"
MD5SUM="9579e3d8ce992057d9fd64dd8ffb2066" MD5SUM="a1cefffb7ea78ae7c07c8d3ba7a2630b"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Roberto Neri" MAINTAINER="Roberto Neri"
EMAIL="rneri@libero.it" EMAIL="rneri@libero.it"
APPROVED="rworkman" APPROVED="Niels Horn"

View File

@ -1,13 +1,13 @@
# HOW TO EDIT THIS FILE: # HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line # 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 # up the first '|' above the ':' following the base package name, and the '|'
# the right side marks the last column you can put a character in. You must make # on the right side marks the last column you can put a character in. You must
# exactly 11 lines for the formatting to be correct. It's also customary to # make exactly 11 lines for the formatting to be correct. It's also
# leave one space after the ':'. # customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
mp3splt-gtk: mp3splt-gtk (gtk2 gui from the mp3splt project) 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: 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: selecting begin/end time; if file is an album, you can get splitpoints
mp3splt-gtk: automatically from internet or a local cue/cddb file. 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: The mp3splt project is divided in 3 parts:
mp3splt-gtk: - libmp3splt, a library (created from mp3splt version 2.1c) mp3splt-gtk: - libmp3splt, a library (created from mp3splt version 2.1c)
mp3splt-gtk: - mp3splt, a command line program 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/ mp3splt-gtk: Homepage: http://mp3splt.sourceforge.net/