summaryrefslogtreecommitdiffstats
path: root/audio/clementine
diff options
context:
space:
mode:
Diffstat (limited to 'audio/clementine')
-rw-r--r--audio/clementine/README1
-rw-r--r--audio/clementine/clementine.SlackBuild25
-rw-r--r--audio/clementine/clementine.info12
3 files changed, 24 insertions, 14 deletions
diff --git a/audio/clementine/README b/audio/clementine/README
index 930c9e5e85..3fae620f4c 100644
--- a/audio/clementine/README
+++ b/audio/clementine/README
@@ -11,7 +11,6 @@ Features:
Optional dependencies:
gst-plugins-bad (for http support)
gst-plugins-ugly (for mp3 support)
-gst-libav (for m4a support)
gst0-ffmpeg (for various decoding support)
sparsehash (for various online services)
libspotify and libqca (for Spotify support) (not on SBo)
diff --git a/audio/clementine/clementine.SlackBuild b/audio/clementine/clementine.SlackBuild
index aeeeac98c2..197f803561 100644
--- a/audio/clementine/clementine.SlackBuild
+++ b/audio/clementine/clementine.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for clementine
@@ -24,10 +24,14 @@
# Modified by SlackBuilds.org
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=clementine
-VERSION=${VERSION:-1.4.0rc1}
+VERSION=${VERSION:-1.4.0rc1_420_g596cd9b0a}
+SRCVER=$(echo $VERSION | tr _ - )
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +41,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}
@@ -61,9 +72,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.xz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -100,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/clementine/clementine.info b/audio/clementine/clementine.info
index 597af387fa..9a19a9f550 100644
--- a/audio/clementine/clementine.info
+++ b/audio/clementine/clementine.info
@@ -1,10 +1,10 @@
PRGNAM="clementine"
-VERSION="1.4.0rc1"
+VERSION="1.4.0rc1_420_g596cd9b0a"
HOMEPAGE="http://www.clementine-player.org"
-DOWNLOAD="https://github.com/clementine-player/Clementine/releases/download/1.4.0rc1/clementine-1.4.0rc1.tar.xz"
-MD5SUM="c58d09300081854485749cb8c8b18d61"
+DOWNLOAD="https://github.com/clementine-player/Clementine/releases/download/1.4.0rc1-420-g596cd9b0a/clementine-1.4.0rc1-420-g596cd9b0a.tar.xz"
+MD5SUM="9087b85ebfd7950e4a3c89524a805764"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="chromaprint cryptopp libechonest protobuf qt5"
-MAINTAINER="Dave Woodfall"
-EMAIL="dave@slackbuilds.org"
+REQUIRES="chromaprint protobuf"
+MAINTAINER="Jeremy Hansen"
+EMAIL="jebrhansen+SBo@gmail.com"