diff options
author | Roberto Neri <rneri@libero.it> | 2010-05-11 22:53:12 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 22:53:12 +0200 |
commit | 6588e28ca1c068f4e3722cdb66e779de38db158c (patch) | |
tree | 826eb6159b8f9a2092d5218b360a8b5efad46b45 | |
parent | bfbd851088804fd73d7c06ff49ae098c03339072 (diff) | |
download | slackbuilds-6588e28ca1c068f4e3722cdb66e779de38db158c.tar.gz |
audio/mp3splt-gtk: Added to 12.1 repository
-rw-r--r-- | audio/mp3splt-gtk/README | 14 | ||||
-rw-r--r-- | audio/mp3splt-gtk/doinst.sh | 4 | ||||
-rw-r--r-- | audio/mp3splt-gtk/mp3splt-gtk.SlackBuild | 67 | ||||
-rw-r--r-- | audio/mp3splt-gtk/mp3splt-gtk.desktop.diff | 19 | ||||
-rw-r--r-- | audio/mp3splt-gtk/mp3splt-gtk.info | 8 | ||||
-rw-r--r-- | audio/mp3splt-gtk/slack-desc | 19 |
6 files changed, 131 insertions, 0 deletions
diff --git a/audio/mp3splt-gtk/README b/audio/mp3splt-gtk/README new file mode 100644 index 0000000000..c346bfe81b --- /dev/null +++ b/audio/mp3splt-gtk/README @@ -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 diff --git a/audio/mp3splt-gtk/doinst.sh b/audio/mp3splt-gtk/doinst.sh new file mode 100644 index 0000000000..b46adf0f45 --- /dev/null +++ b/audio/mp3splt-gtk/doinst.sh @@ -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 diff --git a/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild new file mode 100644 index 0000000000..cec3e5f979 --- /dev/null +++ b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild @@ -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 diff --git a/audio/mp3splt-gtk/mp3splt-gtk.desktop.diff b/audio/mp3splt-gtk/mp3splt-gtk.desktop.diff new file mode 100644 index 0000000000..f628f64aa7 --- /dev/null +++ b/audio/mp3splt-gtk/mp3splt-gtk.desktop.diff @@ -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; diff --git a/audio/mp3splt-gtk/mp3splt-gtk.info b/audio/mp3splt-gtk/mp3splt-gtk.info new file mode 100644 index 0000000000..704cf5d382 --- /dev/null +++ b/audio/mp3splt-gtk/mp3splt-gtk.info @@ -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" diff --git a/audio/mp3splt-gtk/slack-desc b/audio/mp3splt-gtk/slack-desc new file mode 100644 index 0000000000..f4186dfa24 --- /dev/null +++ b/audio/mp3splt-gtk/slack-desc @@ -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/ |