mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/slv2: Updated for version 0.6.6
This commit is contained in:
parent
f5ad17ac63
commit
30368cbce7
3 changed files with 24 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
|||
SLV2 is a library for LV2 hosts intended to make using LV2 Plugins
|
||||
as simple as possible (without sacrificing capabilities).
|
||||
|
||||
slv2 requires raptor, rasqal, redland, lv2core and jack-audio-connection-kit.
|
||||
All of which are available from SlackBuilds.org.
|
||||
slv2 requires lv2core and jack-audio-connection-kit. Both are
|
||||
available from SlackBuilds.org.
|
|
@ -23,9 +23,9 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=slv2
|
||||
VERSION=0.6.2
|
||||
VERSION=0.6.6
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
|
@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -60,13 +63,22 @@ CFLAGS="$SLKCFLAGS" \
|
|||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./waf configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib$LIBDIRSUFFIX \
|
||||
--mandir=/usr/man \
|
||||
--htmldir=/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
./waf build
|
||||
./waf install --destdir=$PKG
|
||||
|
||||
rm -rf $PKG/usr/man # No man pages are installed, but the dirs are...
|
||||
if [ "$LIBDIRSUFFIX" != "" ]; then
|
||||
sed -i "s,/lib,/lib$LIBDIRSUFFIX," \
|
||||
$PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/$PRGNAM.pc
|
||||
fi
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS ChangeLog COPYING INSTALL README \
|
||||
|
@ -77,4 +89,4 @@ mkdir -p $PKG/install
|
|||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
PRGNAM="slv2"
|
||||
VERSION="0.6.2"
|
||||
VERSION="0.6.6"
|
||||
HOMEPAGE="http://wiki.drobilla.net/SLV2"
|
||||
DOWNLOAD="http://download.drobilla.net/slv2-0.6.2.tar.bz2"
|
||||
MD5SUM="4e8bb5f5e96d0edea988018b6297cf99"
|
||||
MAINTAINER="ppr:kut"
|
||||
DOWNLOAD="http://download.drobilla.net/slv2-0.6.6.tar.bz2"
|
||||
MD5SUM="b8e8e0e82dd04324fcd533e8acd1ce85"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="pprkut"
|
||||
EMAIL="pprkut@liwjatan.at"
|
||||
APPROVED="rworkman"
|
||||
|
|
Loading…
Reference in a new issue