audio/tagtool: Updated for version 0.12.3

This commit is contained in:
Grigorios Bouzakis 2010-05-13 00:22:12 +02:00 committed by Michiel van Wessem
parent 9e022fdeb1
commit 79992cd597
5 changed files with 25 additions and 11 deletions

View file

@ -5,4 +5,4 @@ Tag Tool can be used to edit tags one by one, but the most useful features
are the ability to easily tag or rename hundreds of files at once, in any are the ability to easily tag or rename hundreds of files at once, in any
desired format. desired format.
NOTE: tagtool requires id3lib which is available on SlackBuilds.org. Requires: id3lib available on 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

@ -12,7 +12,7 @@ tagtool: Audio Tag Tool is a program to manage the information fields in MP3
tagtool: and Ogg Vorbis files, commonly called tags. It is available under tagtool: and Ogg Vorbis files, commonly called tags. It is available under
tagtool: the GNU General Public Licence (GPL). tagtool: the GNU General Public Licence (GPL).
tagtool: tagtool:
tagtool: http://pwp.netcabo.pt/paol/tagtool/ tagtool: Homepage: http://pwp.netcabo.pt/paol/tagtool/
tagtool: tagtool:
tagtool: tagtool:
tagtool: tagtool:

View file

@ -2,13 +2,13 @@
# Slackware build script for tagtool # Slackware build script for tagtool
# Written by scion (grbzks@gmail.com) # Written by scion (grbzks@gmail.com)
set -e
PRGNAM=tagtool PRGNAM=tagtool
VERSION=0.12.3 VERSION=0.12.3
ARCH=${ARCH:-i486} ARCH=${ARCH:-i486}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
@ -16,10 +16,17 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686" SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi fi
set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
@ -32,18 +39,23 @@ chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
--prefix=/usr --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--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 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
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
cp -a ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION cp -a ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install
@ -51,4 +63,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,8 +1,10 @@
PRGNAM="tagtool" PRGNAM="tagtool"
VERSION="0.12.3" VERSION="0.12.3"
HOMEPAGE="http://pwp.netcabo.pt/paol/tagtool/" HOMEPAGE="http://sourceforge.net/projects/tagtool/"
DOWNLOAD="http://downloads.sourceforge.net/tagtool/tagtool-0.12.3.tar.bz2" DOWNLOAD="http://downloads.sourceforge.net/tagtool/tagtool-0.12.3.tar.bz2"
DOWNLOAD_x86_64=""
MD5SUM="447b3a505fee68a82f25dcda9377b676" MD5SUM="447b3a505fee68a82f25dcda9377b676"
MD5SUM_x86_64=""
MAINTAINER="Grigorios Bouzakis" MAINTAINER="Grigorios Bouzakis"
EMAIL="grbzks@gmail.com" EMAIL="grbzks@gmail.com"
APPROVED="BP{k}" APPROVED="BP{k}"