aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2022-03-02 00:01:28 -0700
committerAndrew Clemons <andrew.clemons@gmail.com>2022-03-05 00:18:22 +1300
commit006fa9f5787daddd77de65efb8da988b744d8f1e (patch)
tree29f4c35b0232f6c81f8c340343464ca84d9a9928 /audio
parent62a1e88a8c1095957bd131e181828d634e26b622 (diff)
audio/puddletag: Updated for version 2.1.1.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'audio')
-rw-r--r--audio/puddletag/README5
-rw-r--r--audio/puddletag/puddletag.SlackBuild13
-rw-r--r--audio/puddletag/puddletag.info6
3 files changed, 15 insertions, 9 deletions
diff --git a/audio/puddletag/README b/audio/puddletag/README
index 99b254fcb1390..d308f0dcd0a26 100644
--- a/audio/puddletag/README
+++ b/audio/puddletag/README
@@ -3,5 +3,6 @@ program Mp3tag. Unlike most taggers for GNU/Linux, it uses a
spreadsheet-like layout so that all the tags you want to edit by hand
are visible and easily editable.
-Optional, but recommended packages are: gst0-ffmpeg, gst0-plugins-ugly,
-gst0-python, quodlibet, and chromaprint.
+Optional dependencies:
+chromaprint - enables AcoustID support for music tagging
+quodlibet - supports importing Quod Libet music libraries
diff --git a/audio/puddletag/puddletag.SlackBuild b/audio/puddletag/puddletag.SlackBuild
index 34417169b2940..12a0eb4534fde 100644
--- a/audio/puddletag/puddletag.SlackBuild
+++ b/audio/puddletag/puddletag.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2012-2014 Bill Kirkpatrick, Cedar Lane, TX USA <bkirkp@gmail.com>
# Copyright 2016-2017 Philip van der Hoeven, Almere, The Netherlands
-# Copyright 2020 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
+# Copyright 2020-2022 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=puddletag
-VERSION=${VERSION:-2.0.1}
+VERSION=${VERSION:-2.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,9 +81,12 @@ 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 {} \;
-cd source
python3 setup.py install --root=$PKG
+# Install plugins globally
+PYTHONDIR="$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')"
+cp -r puddlestuff/plugins/* $PKG/$PYTHONDIR/puddlestuff/plugins
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -93,7 +96,9 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE MANIFEST NEWS ../README.md THANKS TODO changelog $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a
+ LICENSE MANIFEST NEWS README.md THANKS TODO changelog copyright
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/audio/puddletag/puddletag.info b/audio/puddletag/puddletag.info
index 962a36762553b..97b6c9feaf0f9 100644
--- a/audio/puddletag/puddletag.info
+++ b/audio/puddletag/puddletag.info
@@ -1,8 +1,8 @@
PRGNAM="puddletag"
-VERSION="2.0.1"
+VERSION="2.1.1"
HOMEPAGE="http://docs.puddletag.net"
-DOWNLOAD="https://github.com/puddletag/puddletag/archive/2.0.1/puddletag-2.0.1.tar.gz"
-MD5SUM="e9fda1de4edbb949f5072334a80ed3cd"
+DOWNLOAD="https://github.com/puddletag/puddletag/archive/2.1.1/puddletag-2.1.1.tar.gz"
+MD5SUM="4399fd5b43db7ddb5f1fb60b50d418dd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="configobj mutagen"