mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
multimedia/picard: Miscellaneous cleanups.
This commit is contained in:
parent
170b31b638
commit
e8a426ab1d
3 changed files with 15 additions and 8 deletions
|
@ -4,7 +4,4 @@ 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.
|
||||
|
||||
Requires mutagen and optionally but recommended fftw and libofa
|
||||
used for fingerprinting the songs for automagic tagging
|
||||
|
||||
All packages available on SlackBuilds.org
|
||||
This requires mutagen, and libofa is optional but recommended.
|
||||
|
|
|
@ -5,10 +5,19 @@
|
|||
|
||||
PRGNAM=picard
|
||||
VERSION=0.11
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) export ARCH=i486 ;;
|
||||
arm*) export ARCH=arm ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) export ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
|
@ -23,6 +32,9 @@ elif [ "$ARCH" = "i686" ]; then
|
|||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -57,4 +69,3 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
|||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
||||
|
|
|
@ -16,5 +16,4 @@ picard: libraries - this allows the same code to run both on Windows, Linux
|
|||
picard: and Mac OS X.
|
||||
picard:
|
||||
picard: Homepage: http://musicbrainz.org/doc/Picard_Tagger
|
||||
picard:
|
||||
|
||||
picard:
|
||||
|
|
Loading…
Reference in a new issue