multimedia/picard: Updated for version 0.16.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Michales Michaloudes 2012-06-02 19:50:18 -04:00 committed by Erik Hanson
parent 0cbb26e7da
commit 5aa4cfd347
5 changed files with 23 additions and 17 deletions

View file

@ -4,4 +4,5 @@ the ClassicTagger was. Picard is written in Python, which is a cross-platform
language, and makes use of cross-platform libraries - this allows the same
code to run both on Windows, Linux and Mac OS X.
This requires mutagen, and libofa is optional but recommended.
This requires mutagen.
Optional but highly recommended: libofa, ffmpeg.

View file

@ -2,3 +2,9 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

View file

@ -4,16 +4,14 @@
# Written by Jeremy Brent Hansen admin -at- bassmadrigal.com
PRGNAM=picard
VERSION=0.11
VERSION=0.16
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
@ -54,13 +52,14 @@ find . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
python setup.py build || exit 1
python setup.py install --root $PKG || exit 1
python setup.py config
python setup.py install --root $PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,10 +1,10 @@
PRGNAM="picard"
VERSION="0.11"
VERSION="0.16"
HOMEPAGE="http://musicbrainz.org/doc/Picard_Tagger"
DOWNLOAD="ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/picard-0.11.tar.gz"
MD5SUM="02ddcff3e201b2cf54f1b52b02d44fad"
DOWNLOAD="ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/picard-0.16.tar.gz"
MD5SUM="5791a5ae1ce92ac1ffb1cc8f15917ad7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="bassmadrigal"
EMAIL="admin@bassmadrigal.com"
MAINTAINER="Michales Michaloudes"
EMAIL="korgie@gmail.com"
APPROVED="dsomero"