aboutsummaryrefslogtreecommitdiff
path: root/audio/lmms
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-01-07 21:02:30 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:42:09 -0500
commit695bcd28f053f9794f8fe4c4c570c673d77418fe (patch)
treee7e4152353765bc0eb224e602a0db47b5ff5cbde /audio/lmms
parentbe5268a55f97d1b2c7bf69dfbe1937caecff2a1f (diff)
audio/lmms: Updated for version 1.2.2, use qt5.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/lmms')
-rw-r--r--audio/lmms/lmms.SlackBuild30
-rw-r--r--audio/lmms/lmms.info10
2 files changed, 13 insertions, 27 deletions
diff --git a/audio/lmms/lmms.SlackBuild b/audio/lmms/lmms.SlackBuild
index c895d0c74ac33..6aeb55b098aa5 100644
--- a/audio/lmms/lmms.SlackBuild
+++ b/audio/lmms/lmms.SlackBuild
@@ -7,13 +7,10 @@
# 20200415 bkw: modified by SlackBuilds.org
PRGNAM=lmms
-VERSION=${VERSION:-1.2.1}
+VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# 20200415 bkw: rpmalloc version
-LIBVER=${LIBVER:-20190202_d9b5ee0}
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -46,23 +43,13 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-
-# 20200415 bkw: upstream didn't bother to include rpmalloc in their
-# release tarball. The lmms build system is set up to expect rpmalloc
-# source, not a library in e.g. /usr/lib64, so we can't just make a
-# rpmalloc build and make it a depencency of lmms. Furthermore, we can't
-# just use an autogenerated github tarball, as it doesn't contain the
-# CMakeLists.txt required by lmms. The rpmalloc source here came from
-# the rpmalloc submodule from a git clone of lmms.
-cd src/3rdparty
- rm -rf rpmalloc
- tar xvf $CWD/rpmalloc-$LIBVER.tar.?z
- # mv rpmalloc-$LIBVER rpmalloc # only need for rpmalloc releases
-cd -
-
+rm -rf $PRGNAM
+tar xvf $CWD/${PRGNAM}_$VERSION.tar.?z
+cd $PRGNAM
+# Fix symlink
+( cd plugins/carlabase/carla/bin/carla.lv2
+ rm resources
+ ln -s ../../resources . )
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -80,6 +67,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
-DBASHCOMP_PKG_PATH=$PKG/usr/share/bash-completion/completions \
+ -DWANT_QT5=1 \
..
make VERBOSE=1
make install DESTDIR=$PKG
diff --git a/audio/lmms/lmms.info b/audio/lmms/lmms.info
index 634bffd503d0e..1ce8e6962777c 100644
--- a/audio/lmms/lmms.info
+++ b/audio/lmms/lmms.info
@@ -1,12 +1,10 @@
PRGNAM="lmms"
-VERSION="1.2.1"
+VERSION="1.2.2"
HOMEPAGE="https://lmms.io/"
-DOWNLOAD="https://github.com/LMMS/lmms/archive/v1.2.1/lmms-1.2.1.tar.gz \
- https://slackware.uk/~urchlay/src/rpmalloc-20190202_d9b5ee0.tar.xz"
-MD5SUM="b669265b5c811a3ed4ed9336be2babc0 \
- c7c9f171a93af5b65b6293cb6bfcc8ee"
+DOWNLOAD="https://github.com/LMMS/lmms/releases/download/v1.2.2/lmms_1.2.2.tar.xz"
+MD5SUM="ca4fdbe0d24556254d196eaca68f2254"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="fltk"
+REQUIRES="fltk stk"
MAINTAINER="Zbigniew Baniewski"
EMAIL="Zbigniew [dot] Baniewski [at] gmail [dot] com"