Browse Source

xap/zynaddsubfx: Upgraded to zynaddsubfx-3.0.5.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
1471f3e8d6
  1. 1
      xap/zynaddsubfx/zynaddsubfx-3.0.1.tar.bz2.sha1
  2. 1
      xap/zynaddsubfx/zynaddsubfx-3.0.5.tar.bz2.sha256
  3. 27
      xap/zynaddsubfx/zynaddsubfx.SlackBuild

1
xap/zynaddsubfx/zynaddsubfx-3.0.1.tar.bz2.sha1

@ -1 +0,0 @@
699989f1b9db44eb0b436b6f30680a0949880f8b zynaddsubfx-3.0.1.tar.bz2

1
xap/zynaddsubfx/zynaddsubfx-3.0.5.tar.bz2.sha256

@ -0,0 +1 @@
7447322268114a1e0ac5f281ac37a09a78e761a7be61999caf79100049789f63 zynaddsubfx-3.0.5.tar.bz2

27
xap/zynaddsubfx/zynaddsubfx.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2011,2012,2016 Damien Goutte-Gattat
# Copyright (C) 2011,2012,2016,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -25,12 +25,12 @@
# Latest ZynAddSubFX sourcecode is available at:
# <http://zynaddsubfx.sourceforge.net/>.
#
# Depends: l/fltk, l/mxml, l/liblo
# Recommends: ap/jack
# Depends: l/mxml, l/liblo
# Recommends: ap/jack, l/fltk
# Source package infos
NAMESRC=${NAMESRC:-zynaddsubfx}
VERSION=${VERSION:-3.0.1}
VERSION=${VERSION:-3.0.5}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-http://downloads.sourceforge.net/zynaddsubfx/$ARCHIVE}
@ -79,7 +79,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -93,8 +93,16 @@ mkdir build && cd build
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_DOCDIR=/usr/doc/$NAME \
-DCMAKE_INSTALL_MANDIR=/usr/man \
-DPluginLibDir=lib$LIBDIRSUFFIX \
-DDefaultInput=alsa \
-DDefaultOutput=alsa \
-DGuiModule=fltk \
-DJackEnable=ON \
-DOpenGL_GL_PREFERENCE=GLVND \
..
make -j $JOBS
make install/strip DESTDIR=$PKG
@ -113,12 +121,19 @@ make install/strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc
mv $PKG/usr/share/doc/zynaddsubfx $PKG/usr/doc/$NAMEPKG-$VERSION
rmdir $PKG/usr/share/doc
cp -r ../doc $PKG/usr/doc/$NAMEPKG-$VERSION/docs
# Copy slack-desc and doinst.sh files
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
fltk
jack
liblo
mxml
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save