diff options
-rw-r--r-- | audio/clementine/clementine.SlackBuild | 9 | ||||
-rw-r--r-- | audio/clementine/clementine.info | 6 | ||||
-rw-r--r-- | audio/clementine/sqlite.patch | 20 |
3 files changed, 8 insertions, 27 deletions
diff --git a/audio/clementine/clementine.SlackBuild b/audio/clementine/clementine.SlackBuild index 75e2d2e0e3c42..1b396b654ecee 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 6373d4f0989e9..f0a821fd54a7a 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 7f13e6109c281..0000000000000 --- 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( - |