aboutsummaryrefslogtreecommitdiff
path: root/multimedia/picard
diff options
context:
space:
mode:
authorRSKYS <Pouria.rz@outlook.com>2021-11-20 00:41:47 +0330
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-11-20 07:13:00 +0700
commit1c272724de8010106e7870232e9a0fb25bd2ce1e (patch)
tree93223e7d84476ab2529c8a9c21fc9075f0851ca7 /multimedia/picard
parent3fb51afb7c47531e9cd4a7d202668272b208af75 (diff)
multimedia/picard: Install fix + version bump.
Signed-off-by: RSKYS <Pouria.rz@outlook.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/picard')
-rw-r--r--multimedia/picard/picard.SlackBuild9
-rw-r--r--multimedia/picard/picard.info12
2 files changed, 11 insertions, 10 deletions
diff --git a/multimedia/picard/picard.SlackBuild b/multimedia/picard/picard.SlackBuild
index 14a9492ef6ef5..70a5e9042e904 100644
--- a/multimedia/picard/picard.SlackBuild
+++ b/multimedia/picard/picard.SlackBuild
@@ -1,7 +1,8 @@
#!/bin/bash
-# Slackware build script for "picard".
+# Slackware build script for Picard
+# Copyright 2019-2021 Pouria Rezaei <Pouria.rz@outlook.com>
# Copyright 2014-2015 Marcel Saegebarth <marc@mos6581.de>
# Copyright 2018 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
# All rights reserved.
@@ -28,7 +29,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=picard
-VERSION=${VERSION:-1.4.2}
+VERSION=${VERSION:-2.6.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -84,8 +85,8 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-python setup.py build
-python setup.py install --root $PKG
+
+python3 setup.py install --root $PKG
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
diff --git a/multimedia/picard/picard.info b/multimedia/picard/picard.info
index 88b5a45340b02..af0ae0f06b55d 100644
--- a/multimedia/picard/picard.info
+++ b/multimedia/picard/picard.info
@@ -1,10 +1,10 @@
PRGNAM="picard"
-VERSION="1.4.2"
+VERSION="2.6.4"
HOMEPAGE="https://picard.musicbrainz.org/"
-DOWNLOAD="ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/picard-1.4.2.tar.gz"
-MD5SUM="f39b57aa2e5e71d09e1f664be8b21971"
+DOWNLOAD="https://github.com/metabrainz/picard/archive/release-2.6.4/picard-2.6.4.tar.gz"
+MD5SUM="1e26ec63dad43fc44420b7386ddd9453"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="mutagen chromaprint"
-MAINTAINER="Jeremy Hansen"
-EMAIL="jebrhansen+SBo@gmail.com"
+REQUIRES="chromaprint python3-fasteners mutagen python3-dateutil"
+MAINTAINER="Pouria Rezaei"
+EMAIL="Pouria.rz@outlook.com"