diff options
Diffstat (limited to 'audio/clementine')
-rw-r--r-- | audio/clementine/README | 8 | ||||
-rw-r--r-- | audio/clementine/clementine.SlackBuild | 33 | ||||
-rw-r--r-- | audio/clementine/clementine.info | 12 | ||||
-rw-r--r-- | audio/clementine/slack-desc | 2 |
4 files changed, 32 insertions, 23 deletions
diff --git a/audio/clementine/README b/audio/clementine/README index 930c9e5e85..a01ebee439 100644 --- a/audio/clementine/README +++ b/audio/clementine/README @@ -1,17 +1,17 @@ -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) 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 1b396b654e..986e5091e0 100644 --- a/audio/clementine/clementine.SlackBuild +++ b/audio/clementine/clementine.SlackBuild @@ -1,8 +1,9 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for clementine -# Copyright 2010 David Woodfall <dave@tty1.uk> +# 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 @@ -24,12 +25,14 @@ # Modified by SlackBuilds.org +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=clementine SRCNAM=Clementine -VERSION=${VERSION:-1.3.1_560_g248f1d8} -SRCVERSION=248f1d8596b69d58a885130bcada4799f116341c -BUILD=${BUILD:-1} +VERSION=${VERSION:-1.4.0rc2} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,7 +42,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -63,9 +70,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$SRCVERSION -tar xvf $CWD/$SRCVERSION.tar.gz -cd $SRCNAM-$SRCVERSION +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 \ @@ -73,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 @@ -102,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 f0a821fd54..a7747c09db 100644 --- a/audio/clementine/clementine.info +++ b/audio/clementine/clementine.info @@ -1,10 +1,10 @@ PRGNAM="clementine" -VERSION="1.3.1_560_g248f1d8" +VERSION="1.4.0rc2" HOMEPAGE="http://www.clementine-player.org" -DOWNLOAD="https://github.com/clementine-player/Clementine/archive/248f1d8596b69d58a885130bcada4799f116341c.tar.gz" -MD5SUM="9a328a99b54af5e7818e6a479d9add59" +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 cryptopp libechonest protobuf" -MAINTAINER="Dave Woodfall" -EMAIL="dave@slackbuilds.org" +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: |