From 87cb8b45c33d0f32d09a8cb98c69f637b58af486 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Fri, 27 Nov 2020 19:38:09 +0100 Subject: [PATCH] audio/muse: Updated for version 3.1.1. Fixes building against qt5 Signed-off-by: Matteo Bernardini Signed-off-by: Willy Sudiarto Raharjo --- audio/muse/muse.SlackBuild | 7 ++++--- audio/muse/muse.info | 6 +++--- audio/muse/qt512.patch | 22 ---------------------- 3 files changed, 7 insertions(+), 28 deletions(-) delete mode 100644 audio/muse/qt512.patch diff --git a/audio/muse/muse.SlackBuild b/audio/muse/muse.SlackBuild index 76f3dedc57..2c5465ff53 100644 --- a/audio/muse/muse.SlackBuild +++ b/audio/muse/muse.SlackBuild @@ -10,7 +10,7 @@ # - add realtime capability support PRGNAM=muse -VERSION=${VERSION:-3.1} +VERSION=${VERSION:-3.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -56,7 +56,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -patch -p1 < $CWD/qt512.patch +# Change the INSTALL_NAME or every path in the package is versioned +sed -e "s/muse-3.1/muse/" -i CMakeLists.txt mkdir -p build cd build @@ -79,7 +80,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc -mv $PKG/usr/share/doc/$PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION rmdir $PKG/usr/share/doc cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/audio/muse/muse.info b/audio/muse/muse.info index b66465f167..f408519119 100644 --- a/audio/muse/muse.info +++ b/audio/muse/muse.info @@ -1,8 +1,8 @@ PRGNAM="muse" -VERSION="3.1" +VERSION="3.1.1" HOMEPAGE="http://muse-sequencer.org/" -DOWNLOAD="https://sourceforge.net/projects/lmuse/files/muse-3.1/muse-3.1.tar.gz" -MD5SUM="45557bf2f0932daedd057678b3faf913" +DOWNLOAD="https://downloads.sourceforge.net/lmuse/muse-3.1.1.tar.gz" +MD5SUM="ac9da5c16b670fd6a3139e86845a3d4d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jack ladspa_sdk liblo qt5" diff --git a/audio/muse/qt512.patch b/audio/muse/qt512.patch deleted file mode 100644 index 4c5e1c2278..0000000000 --- a/audio/muse/qt512.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -Naur muse-3.0.2/muse/mplugins/mitplugin.cpp muse-3.0.2.patched/muse/mplugins/mitplugin.cpp ---- muse-3.0.2/muse/mplugins/mitplugin.cpp 2017-12-04 22:01:18.000000000 +0100 -+++ muse-3.0.2.patched/muse/mplugins/mitplugin.cpp 2020-02-26 23:27:20.013277911 +0100 -@@ -21,6 +21,7 @@ - // - //========================================================= - -+#include - #include "mitplugin.h" - #include "app.h" - #include "event.h" -diff -Naur muse-3.0.2/muse/widgets/genset.cpp muse-3.0.2.patched/muse/widgets/genset.cpp ---- muse-3.0.2/muse/widgets/genset.cpp 2018-01-22 17:43:28.000000000 +0100 -+++ muse-3.0.2.patched/muse/widgets/genset.cpp 2020-02-26 21:47:19.446707723 +0100 -@@ -24,6 +24,7 @@ - - #include - -+#include - #include - #include - #include