summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2019-12-04 13:55:03 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-07 23:19:27 +0700
commit1e253dd4eb81b08e76779b2989bffc2e3785fb1b (patch)
tree9737d74b53a6431523748f2237534a15893cc168
parentd4f9091e36e12bfc97e03f57850a2d9f256ac413 (diff)
downloadslackbuilds-1e253dd4eb81b08e76779b2989bffc2e3785fb1b.tar.gz
audio/clementine: Change download URL
-rw-r--r--audio/clementine/clementine.SlackBuild9
-rw-r--r--audio/clementine/clementine.info6
-rw-r--r--audio/clementine/sqlite.patch20
3 files changed, 8 insertions, 27 deletions
diff --git a/audio/clementine/clementine.SlackBuild b/audio/clementine/clementine.SlackBuild
index 75e2d2e0e3..1b396b654e 100644
--- a/audio/clementine/clementine.SlackBuild
+++ b/audio/clementine/clementine.SlackBuild
@@ -25,8 +25,9 @@
# Modified by SlackBuilds.org
PRGNAM=clementine
+SRCNAM=Clementine
VERSION=${VERSION:-1.3.1_560_g248f1d8}
-SRCVERSION=${VERSION//_/-}
+SRCVERSION=248f1d8596b69d58a885130bcada4799f116341c
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,9 +63,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVERSION
-tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.xz
-cd $PRGNAM-$SRCVERSION
+rm -rf $SRCNAM-$SRCVERSION
+tar xvf $CWD/$SRCVERSION.tar.gz
+cd $SRCNAM-$SRCVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/audio/clementine/clementine.info b/audio/clementine/clementine.info
index 6373d4f098..f0a821fd54 100644
--- a/audio/clementine/clementine.info
+++ b/audio/clementine/clementine.info
@@ -1,10 +1,10 @@
PRGNAM="clementine"
VERSION="1.3.1_560_g248f1d8"
HOMEPAGE="http://www.clementine-player.org"
-DOWNLOAD="https://builds.clementine-player.org/source/clementine-1.3.1-560-g248f1d8.tar.xz"
-MD5SUM="2ad9b998ed1f1c8d42ca43529a9aec5e"
+DOWNLOAD="https://github.com/clementine-player/Clementine/archive/248f1d8596b69d58a885130bcada4799f116341c.tar.gz"
+MD5SUM="9a328a99b54af5e7818e6a479d9add59"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="chromaprint cryptopp libechonest protobuf"
MAINTAINER="Dave Woodfall"
-EMAIL="dave@tty1.uk"
+EMAIL="dave@slackbuilds.org"
diff --git a/audio/clementine/sqlite.patch b/audio/clementine/sqlite.patch
deleted file mode 100644
index 7f13e6109c..0000000000
--- a/audio/clementine/sqlite.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/src/core/database.cpp
-+++ b/src/core/database.cpp
-@@ -265,6 +265,16 @@
- StaticInit();
-
- {
-+#ifdef SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER
-+ QVariant v = db.driver()->handle();
-+ if (v.isValid() && qstrcmp(v.typeName(), "sqlite3*") == 0) {
-+ sqlite3* handle = *static_cast<sqlite3**>(v.data());
-+ if (handle) {
-+ sqlite3_db_config(handle, SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER, 1, NULL);
-+ }
-+ }
-+#endif
-+
- QSqlQuery set_fts_tokenizer("SELECT fts3_tokenizer(:name, :pointer)", db);
- set_fts_tokenizer.bindValue(":name", "unicode");
- set_fts_tokenizer.bindValue(
-