From 1c272724de8010106e7870232e9a0fb25bd2ce1e Mon Sep 17 00:00:00 2001
From: RSKYS <Pouria.rz@outlook.com>
Date: Sat, 20 Nov 2021 00:41:47 +0330
Subject: multimedia/picard: Install fix + version bump.

Signed-off-by: RSKYS <Pouria.rz@outlook.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
---
 multimedia/picard/picard.SlackBuild |  9 +++++----
 multimedia/picard/picard.info       | 12 ++++++------
 2 files changed, 11 insertions(+), 10 deletions(-)

(limited to 'multimedia')

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"
-- 
cgit v1.2.3