mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
audio/mp3splt-gtk: Added to 12.1 repository
This commit is contained in:
parent
bfbd851088
commit
6588e28ca1
6 changed files with 131 additions and 0 deletions
14
audio/mp3splt-gtk/README
Normal file
14
audio/mp3splt-gtk/README
Normal file
|
@ -0,0 +1,14 @@
|
|||
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:
|
||||
- libmp3splt, a library (created from mp3splt version 2.1c)
|
||||
- mp3splt, a command line program
|
||||
- mp3splt-gtk, a gtk2 gui
|
||||
all available from SlackBuilds.org
|
4
audio/mp3splt-gtk/doinst.sh
Normal file
4
audio/mp3splt-gtk/doinst.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
|
||||
fi
|
67
audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
Normal file
67
audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
Normal file
|
@ -0,0 +1,67 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for mp3splt-gtk
|
||||
|
||||
# Written by Roberto Neri <rneri@libero.it>
|
||||
|
||||
PRGNAM=mp3splt-gtk
|
||||
VERSION=${VERSION:-0.5.2}
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -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
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-audacious
|
||||
|
||||
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
|
||||
)
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
19
audio/mp3splt-gtk/mp3splt-gtk.desktop.diff
Normal file
19
audio/mp3splt-gtk/mp3splt-gtk.desktop.diff
Normal file
|
@ -0,0 +1,19 @@
|
|||
*** 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;
|
8
audio/mp3splt-gtk/mp3splt-gtk.info
Normal file
8
audio/mp3splt-gtk/mp3splt-gtk.info
Normal file
|
@ -0,0 +1,8 @@
|
|||
PRGNAM="mp3splt-gtk"
|
||||
VERSION="0.5.2"
|
||||
HOMEPAGE="http://mp3splt.sourceforge.net"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/mp3splt/mp3splt-gtk-0.5.2.tar.gz"
|
||||
MD5SUM="0fb088cc92cba8fc7072dd3cf9092563"
|
||||
MAINTAINER="Roberto Neri"
|
||||
EMAIL="rneri@libero.it"
|
||||
APPROVED="David Somero"
|
19
audio/mp3splt-gtk/slack-desc
Normal file
19
audio/mp3splt-gtk/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
|||
# 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 ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
mp3splt-gtk: mp3splt-gtk (gtk2 gui from the mp3splt project)
|
||||
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.
|
||||
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: Homepage: http://mp3splt.sourceforge.net/
|
Loading…
Reference in a new issue