summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichales Michaloudes <korgie@gmail.com>2012-06-02 19:50:18 -0400
committerErik Hanson <erik@slackbuilds.org>2012-06-03 15:21:14 -0500
commit5aa4cfd3470f9bf2abfa24df63c68b095f7c2e83 (patch)
tree774e3c2c662dae28dc528fcf021995c3d5c3418d
parent0cbb26e7da1fba29dffd014bed13c4af9c4fd9e6 (diff)
downloadslackbuilds-5aa4cfd3470f9bf2abfa24df63c68b095f7c2e83.tar.gz
multimedia/picard: Updated for version 0.16.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--multimedia/picard/README3
-rw-r--r--multimedia/picard/doinst.sh6
-rw-r--r--multimedia/picard/picard.SlackBuild9
-rw-r--r--multimedia/picard/picard.info10
-rw-r--r--multimedia/picard/slack-desc12
5 files changed, 23 insertions, 17 deletions
diff --git a/multimedia/picard/README b/multimedia/picard/README
index 264ef9beb2..629eba8100 100644
--- a/multimedia/picard/README
+++ b/multimedia/picard/README
@@ -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.
diff --git a/multimedia/picard/doinst.sh b/multimedia/picard/doinst.sh
index 65fd352418..a8c38c8a58 100644
--- a/multimedia/picard/doinst.sh
+++ b/multimedia/picard/doinst.sh
@@ -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
+
diff --git a/multimedia/picard/picard.SlackBuild b/multimedia/picard/picard.SlackBuild
index f789620cc1..359efadf7c 100644
--- a/multimedia/picard/picard.SlackBuild
+++ b/multimedia/picard/picard.SlackBuild
@@ -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
diff --git a/multimedia/picard/picard.info b/multimedia/picard/picard.info
index 3e7a5beb20..e9175b1ba9 100644
--- a/multimedia/picard/picard.info
+++ b/multimedia/picard/picard.info
@@ -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"
diff --git a/multimedia/picard/slack-desc b/multimedia/picard/slack-desc
index 9fa4b9400c..a3ad578a6d 100644
--- a/multimedia/picard/slack-desc
+++ b/multimedia/picard/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
picard: Picard Tagger (next generation MusicBrainz tagging application)
picard:
-picard: Picard is the next generation MusicBrainz tagging application. This
-picard: new tagging concept is album oriented, as opposed to track/file
-picard: oriented like the ClassicTagger was. Picard is written in Python,
-picard: which is a cross-platform language, and makes use of cross-platform
-picard: libraries - this allows the same code to run both on Windows, Linux
+picard: Picard is the next generation MusicBrainz tagging application. This
+picard: new tagging concept is album oriented, as opposed to track/file
+picard: oriented like the ClassicTagger was. Picard is written in Python,
+picard: which is a cross-platform language, and makes use of cross-platform
+picard: libraries - this allows the same code to run both on Windows, Linux
picard: and Mac OS X.
-picard:
+picard:
picard: Homepage: http://musicbrainz.org/doc/Picard_Tagger
picard: