diff --git a/xap/qsynth/qsynth-0.4.1.tar.gz.sha1 b/xap/qsynth/qsynth-0.4.1.tar.gz.sha1 deleted file mode 100644 index 83ed5595..00000000 --- a/xap/qsynth/qsynth-0.4.1.tar.gz.sha1 +++ /dev/null @@ -1 +0,0 @@ -7b394dab4182136cdd9dd6e314b9976582f0113c qsynth-0.4.1.tar.gz diff --git a/xap/qsynth/qsynth-0.6.1.tar.gz.sha256 b/xap/qsynth/qsynth-0.6.1.tar.gz.sha256 new file mode 100644 index 00000000..bd83b404 --- /dev/null +++ b/xap/qsynth/qsynth-0.6.1.tar.gz.sha256 @@ -0,0 +1 @@ +94d57e0cca0523b3450ab592624804cd4c3aaaaab6f8e9f0da20a880ac72508a qsynth-0.6.1.tar.gz diff --git a/xap/qsynth/qsynth.SlackBuild b/xap/qsynth/qsynth.SlackBuild index f6482a90..eea1f718 100755 --- a/xap/qsynth/qsynth.SlackBuild +++ b/xap/qsynth/qsynth.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash # Build script for Slackware -# Copyright (C) 2011,2013,2016 Damien Goutte-Gattat +# Copyright (C) 2011,2013,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,11 +25,11 @@ # Latest qsynth sourcecode is available at: # . # -# Depends: ap/fluidsynth +# Depends: l/qt5 # Source package infos NAMESRC=${NAMESRC:-qsynth} -VERSION=${VERSION:-0.4.1} +VERSION=${VERSION:-0.6.1} ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz} WGET=${WGET:-http://downloads.sourceforge.net/qsynth/$ARCHIVE} @@ -75,7 +75,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 @@ -87,9 +87,7 @@ CFLAGS=$CPUOPT \ CXXFLAGS=$CPUOPT \ ./configure \ --prefix=/usr \ - --mandir=/usr/man \ - --enable-qt4 \ - --disable-qt5 + --mandir=/usr/man make -j $JOBS make install DESTDIR=$PKG @@ -102,6 +100,11 @@ install -m 644 AUTHORS COPYING ChangeLog README TODO TRANSLATORS \ 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 < $PKG/install/slack-required +qt5 +EOF + # Package the tree cd $PKG mkdir -p $OUT