multimedia/musique: Updated for version 1.10.1.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2021-09-10 21:46:28 -04:00 committed by Willy Sudiarto Raharjo
parent 5311bb3ea6
commit 12dacd96ee
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 22 additions and 28 deletions

View file

@ -1,19 +1,18 @@
musique (cross-platform music player)
Musique is just another music player, only better. Musique unclutters
Musique is just another music player, only better. Musique unclutters
your music listening experience with a clean and innovative interface.
Notes:
- musique is a Qt4 application. It integrates nicely with KDE, but doesn't
require KDE to run.
- musique is a Qt5 application. It integrates nicely with KDE, but
doesn't require KDE to run.
- This is not the latest version of musique. This is deliberate: version
1.5 requires qt5. When musique notifies you that version 1.5 is available,
click "Close". Upgrading from within the app won't work.
- If musique notifies you that a new version is available, click
"Close". Upgrading from within the application won't work.
- The first time you run musique, it scans your music collection and
uses the Last.fm service to get metadata about the files (meaning, it
sends a list of all your music to a 3rd parts). This isn't optional,
uses the Discogs service to get metadata about the files (meaning, it
sends a list of all your music to a 3rd party). This isn't optional,
so if you have privacy concerns about it, don't bother installing
this software.

View file

@ -5,7 +5,7 @@
# Formerly maintained by Ryan P.C. McQuen <email removed>
# Now maintained by B. Watson <yalhcru@gmail.com>
# Copyright 2010, 2012 Binh Nguyen <binhvng@gmail.com>
# Copyright 2010, 2012 Binh Nguyen <email removed>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,6 +25,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20210910 bkw: update for v1.10.1 (-current and qt5).
# 20170326 bkw:
# - take over maintenance.
# - i486=>i586.
@ -36,8 +37,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=musique
VERSION=${VERSION:-1.4}
BUILD=${BUILD:-2}
VERSION=${VERSION:-1.10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -49,9 +50,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
@ -80,19 +78,16 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# I don't see how to force our flags via qmake, hence the sed stuff.
qmake PREFIX=/usr
sed -i "/C.*FLAGS/s,-O2,$SLKCFLAGS," Makefile
qmake-qt5 PREFIX=/usr
sed -i "/C.*FLAGS/s,-O3,$SLKCFLAGS," Makefile
make
make INSTALL_ROOT=$PKG install
strip $PKG/usr/bin/$PRGNAM

View file

@ -1,10 +1,10 @@
PRGNAM="musique"
VERSION="1.4"
VERSION="1.10.1"
HOMEPAGE="https://flavio.tordini.org/musique"
DOWNLOAD="https://flavio.tordini.org/files/musique/musique-1.4.tar.gz"
MD5SUM="c8d7146913a91af4c5190084ac9f8182"
DOWNLOAD="https://github.com/flaviotordini/musique/releases/download/1.10.1/musique-1.10.1.tar.bz2"
MD5SUM="1840e9fa2ad58dd4977a13f2d97f1b12"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gst0-plugins-ugly"
REQUIRES="mpv"
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"