summaryrefslogtreecommitdiffstats
path: root/audio/puddletag
diff options
context:
space:
mode:
author Jeremy Hansen <jebrhansen+github@gmail.com>2024-02-23 15:56:20 -0800
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-24 07:53:19 +0700
commit1ec812eabef6588a6640ef45ffa2a1541c5fb01f (patch)
treef6d58b08376b950793d3c256845f84a43c8e46d2 /audio/puddletag
parent097e180b84e386f582fb42a482bfdd9c5ad65b6f (diff)
downloadslackbuilds-1ec812eabef6588a6640ef45ffa2a1541c5fb01f.tar.gz
slackbuilds-1ec812eabef6588a6640ef45ffa2a1541c5fb01f.tar.xz
audio/puddletag: Update dependencies
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/puddletag')
-rw-r--r--audio/puddletag/README2
-rw-r--r--audio/puddletag/puddletag.SlackBuild11
-rw-r--r--audio/puddletag/puddletag.info2
3 files changed, 11 insertions, 4 deletions
diff --git a/audio/puddletag/README b/audio/puddletag/README
index d308f0dcd0..7186d8d7e7 100644
--- a/audio/puddletag/README
+++ b/audio/puddletag/README
@@ -4,5 +4,5 @@ spreadsheet-like layout so that all the tags you want to edit by hand
are visible and easily editable.
Optional dependencies:
-chromaprint - enables AcoustID support for music tagging
+pyacoustid - 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 0228c2bae7..f13e378104 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-2023 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
+# Copyright 2020-2024 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=puddletag
VERSION=${VERSION:-2.2.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -78,6 +78,13 @@ 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 {} \;
+# Remove hardcoded required module versions
+sed -i 's/==.*//' requirements.txt
+
+# Remove incorrect chromaprint requirement
+# https://github.com/puddletag/puddletag/issues/854
+sed -i '/chromaprint/d' requirements.txt
+
python3 setup.py install --root=$PKG
# Install plugins globally
diff --git a/audio/puddletag/puddletag.info b/audio/puddletag/puddletag.info
index d13577fdba..d905cda11f 100644
--- a/audio/puddletag/puddletag.info
+++ b/audio/puddletag/puddletag.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/puddletag/puddletag/archive/2.2.0/puddletag-2.2.0.t
MD5SUM="a4dab9b990bb1faa79827c3940e586f1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="configobj mutagen"
+REQUIRES="configobj mutagen python3-lxml audioread"
MAINTAINER="Jeremy Hansen"
EMAIL="jebrhansen+SBo@gmail.com"