mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
multimedia/picard: Updated for version 0.16.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
0cbb26e7da
commit
5aa4cfd347
5 changed files with 23 additions and 17 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue