From 5aa4cfd3470f9bf2abfa24df63c68b095f7c2e83 Mon Sep 17 00:00:00 2001 From: Michales Michaloudes Date: Sat, 2 Jun 2012 19:50:18 -0400 Subject: multimedia/picard: Updated for version 0.16. Signed-off-by: dsomero --- multimedia/picard/README | 3 ++- multimedia/picard/doinst.sh | 6 ++++++ multimedia/picard/picard.SlackBuild | 9 ++++----- multimedia/picard/picard.info | 10 +++++----- multimedia/picard/slack-desc | 12 ++++++------ 5 files changed, 23 insertions(+), 17 deletions(-) (limited to 'multimedia') diff --git a/multimedia/picard/README b/multimedia/picard/README index 264ef9beb21b..629eba8100d1 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 65fd35241875..a8c38c8a580f 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 f789620cc18a..359efadf7ca4 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 3e7a5beb2079..e9175b1ba96b 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 9fa4b9400c62..a3ad578a6d13 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: -- cgit v1.2.3