diff options
Diffstat (limited to 'qsynth/build')
-rwxr-xr-x | qsynth/build/qsynth.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qsynth/build/qsynth.SlackBuild b/qsynth/build/qsynth.SlackBuild index e8e47822..230ba05b 100755 --- a/qsynth/build/qsynth.SlackBuild +++ b/qsynth/build/qsynth.SlackBuild @@ -29,7 +29,7 @@ # Descr: Qt GUI Interface for FluidSynth # URL: https://qsynth.sourceforge.io/ # Build needs: -# Needs: fluidsynth, qt5 +# Needs: (Slackware < 15) fluidsynth, qt5 # Changelog: # 0.5.5-1: 11/Mar/2019 by Eric Hameleers <alien@slackware.com> # * Initial build. @@ -228,6 +228,10 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mkdir -p $PKG/install cat $SRCDIR/slack-desc > $PKG/install/slack-desc cat $SRCDIR/slack-required > $PKG/install/slack-required +if [ $(cat /etc/slackware-version |cut -d' ' -f2- |cut -d. -f1) -ge 15 ]; then + # Slackware 15 already has fluidsynth and qt5: + sed -e '/^fluidsynth$/d' -e '/^qt5$/d' -i $PKG/install/slack-required +fi # Build the package: cd $PKG |