summaryrefslogtreecommitdiffstats
path: root/audio/sayonara-player
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sayonara-player')
-rw-r--r--audio/sayonara-player/README2
-rw-r--r--audio/sayonara-player/sayonara-player.SlackBuild16
-rw-r--r--audio/sayonara-player/sayonara-player.info2
3 files changed, 15 insertions, 5 deletions
diff --git a/audio/sayonara-player/README b/audio/sayonara-player/README
index 9aa1f5890c..f57c095ded 100644
--- a/audio/sayonara-player/README
+++ b/audio/sayonara-player/README
@@ -21,7 +21,7 @@ Currently it is only available for Linux.
Sayonara features: https://sayonara-player.com/features.php
-Optional dependencies: gst-plugins-ugly, lame.
+Optional dependency: gst-plugins-ugly.
****************************************************************
*NOTE: Sayonara Player requires gst-plugins-bad with soundtouch*
diff --git a/audio/sayonara-player/sayonara-player.SlackBuild b/audio/sayonara-player/sayonara-player.SlackBuild
index e9d590f7f0..12681c1fff 100644
--- a/audio/sayonara-player/sayonara-player.SlackBuild
+++ b/audio/sayonara-player/sayonara-player.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for sayonara-player.
#
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sayonara-player
VERSION=${VERSION:-1.1.1_git3_20180905}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -101,4 +111,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/audio/sayonara-player/sayonara-player.info b/audio/sayonara-player/sayonara-player.info
index d21189b062..fcd9f7301d 100644
--- a/audio/sayonara-player/sayonara-player.info
+++ b/audio/sayonara-player/sayonara-player.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://sayonara-player.com/sw/sayonara-player-1.1.1-git3-20180905.tar
MD5SUM="0bdc21c3dd3993efc7cff600dd5a2c47"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5 gst-plugins-bad"
+REQUIRES="gst-plugins-bad"
MAINTAINER="Fellype do Nascimento"
EMAIL="fellype(at)gmail.com"