summaryrefslogtreecommitdiffstats
path: root/audio/clementine
diff options
context:
space:
mode:
Diffstat (limited to 'audio/clementine')
-rw-r--r--audio/clementine/README7
-rw-r--r--audio/clementine/clementine.SlackBuild22
-rw-r--r--audio/clementine/clementine.info8
-rw-r--r--audio/clementine/slack-desc2
4 files changed, 20 insertions, 19 deletions
diff --git a/audio/clementine/README b/audio/clementine/README
index 3fae620f4c..a01ebee439 100644
--- a/audio/clementine/README
+++ b/audio/clementine/README
@@ -1,12 +1,13 @@
-Clementine is a modern music player and library organiser. Clementine is a
-port of Amarok 1.4, with some features rewritten to take advantage of Qt4.
+Clementine is a modern music player and library organiser. Clementine
+is a port of Amarok 1.4, with some features rewritten to take
+advantage of Qt4.
Features:
* Search and play your local music library
* Listen to internet radio from Last.fm and SomaFM
* Edit tags on MP3 and OGG files, organise your music
* Cross-platform - works on Windows, Mac OS X and Linux
-* Native desktop notifications on Linux (libnotify) and Mac OS X (Growl)
+* Native desktop notifications on Linux and Mac OS X
Optional dependencies:
gst-plugins-bad (for http support)
diff --git a/audio/clementine/clementine.SlackBuild b/audio/clementine/clementine.SlackBuild
index 197f803561..986e5091e0 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,9 +28,9 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=clementine
-VERSION=${VERSION:-1.4.0rc1_420_g596cd9b0a}
-SRCVER=$(echo $VERSION | tr _ - )
-BUILD=${BUILD:-1}
+SRCNAM=Clementine
+VERSION=${VERSION:-1.4.0rc2}
+BUILD=${BUILD:-2}
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 \
@@ -82,19 +80,21 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+export LDFLAGS="-Wl,--copy-dt-needed-entries"
mkdir build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_STANDARD=17 \
-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 9a19a9f550..a7747c09db 100644
--- a/audio/clementine/clementine.info
+++ b/audio/clementine/clementine.info
@@ -1,10 +1,10 @@
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 protobuf"
+REQUIRES="chromaprint protobuf3"
MAINTAINER="Jeremy Hansen"
EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/audio/clementine/slack-desc b/audio/clementine/slack-desc
index 526fcf0fb8..803150a12d 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: