aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/clementine/clementine.SlackBuild18
-rw-r--r--audio/clementine/clementine.info6
-rw-r--r--audio/clementine/slack-desc2
3 files changed, 12 insertions, 14 deletions
diff --git a/audio/clementine/clementine.SlackBuild b/audio/clementine/clementine.SlackBuild
index 197f803561cd..e93a9677a3f5 100644
--- a/audio/clementine/clementine.SlackBuild
+++ b/audio/clementine/clementine.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for clementine
# Copyright 2010 David Woodfall <dave@slackbuilds.org>
+# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,8 +28,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=clementine
-VERSION=${VERSION:-1.4.0rc1_420_g596cd9b0a}
-SRCVER=$(echo $VERSION | tr _ - )
+SRCNAM=Clementine
+VERSION=${VERSION:-1.4.0rc2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -41,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
@@ -72,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.xz
-cd $PRGNAM-$SRCVER
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -90,11 +88,11 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
..
- make all CFLAGS="-fPIC" PMFLAGS="-DNEWBUFFER"
+ make
make install DESTDIR=$PKG
cd ..
-for i in 16 32 64 128; do
+for i in 16 32; do
install -m 0644 -D dist/${PRGNAM}_${i}.png \
$PKG/usr/share/icons/hicolor/${i}x${i}/apps/application-x-clementine.png
done
diff --git a/audio/clementine/clementine.info b/audio/clementine/clementine.info
index 98ff3ddf3ef5..a7747c09db73 100644
--- a/audio/clementine/clementine.info
+++ b/audio/clementine/clementine.info
@@ -1,8 +1,8 @@
PRGNAM="clementine"
-VERSION="1.4.0rc1_420_g596cd9b0a"
+VERSION="1.4.0rc2"
HOMEPAGE="http://www.clementine-player.org"
-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="https://github.com/clementine-player/Clementine/archive/refs/tags/1.4.0rc2/Clementine-1.4.0rc2.tar.gz"
+MD5SUM="9a13e3e5e200d3b2f5db35adecef274b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="chromaprint protobuf3"
diff --git a/audio/clementine/slack-desc b/audio/clementine/slack-desc
index 526fcf0fb845..803150a12d7a 100644
--- a/audio/clementine/slack-desc
+++ b/audio/clementine/slack-desc
@@ -12,7 +12,7 @@ clementine: Clementine is a modern music player and library organiser. Clementin
clementine: is a port of Amarok 1.4, with some features rewritten to take
clementine: advantage of Qt4.
clementine:
-clementine: http://www.kde-apps.org/content/show.php/Clementine?content=120598
+clementine: https://www.clementine-player.org/
clementine:
clementine:
clementine: