diff options
author | Jeremy Hansen <jebrhansen+SBo@gmail.com> | 2022-08-12 20:42:06 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-08-13 10:40:39 +0700 |
commit | b6594f725f2144de16f6a2334825f4f98058eae7 (patch) | |
tree | 3dfe5809afff50092dbcb948d482b78b8201c3a2 /multimedia | |
parent | bbf5b574aa03444d1631be9bd2900bd36f635978 (diff) | |
download | slackbuilds-b6594f725f2144de16f6a2334825f4f98058eae7.tar.gz |
multimedia/picard-plugins: Updated for version ed8d64c.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/picard-plugins/README | 4 | ||||
-rw-r--r-- | multimedia/picard-plugins/picard-plugins.SlackBuild | 10 | ||||
-rw-r--r-- | multimedia/picard-plugins/picard-plugins.info | 6 |
3 files changed, 14 insertions, 6 deletions
diff --git a/multimedia/picard-plugins/README b/multimedia/picard-plugins/README index c4d03768fb..af730d6ad5 100644 --- a/multimedia/picard-plugins/README +++ b/multimedia/picard-plugins/README @@ -1 +1,5 @@ MusicBrainz Picard Plugins. + +Note: The BPM plugin is optional and requires additional +dependencies. To enable specify BPM=yes when building and you will +need to install both numpy3 and aubio slackbuilds. diff --git a/multimedia/picard-plugins/picard-plugins.SlackBuild b/multimedia/picard-plugins/picard-plugins.SlackBuild index ac4472d450..b46968bcee 100644 --- a/multimedia/picard-plugins/picard-plugins.SlackBuild +++ b/multimedia/picard-plugins/picard-plugins.SlackBuild @@ -29,8 +29,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=picard-plugins DSTNAM=picard -VERSION=${VERSION:-dac5623} -COMMIT=${COMMIT:-dac5623f0aa7105fd0643f00795ff122e9c902c2} +VERSION=${VERSION:-ed8d64c} +COMMIT=${COMMIT:-ed8d64c022fd15075487b94b74e4e53f87b1740c} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,10 +80,14 @@ 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 {} \; -PYTHONDIR=$(python -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages')") +PYTHONDIR=$(python3 -c "import sys, os; print(os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages'))") mkdir -p $PKG/$PYTHONDIR/$DSTNAM/plugins ( cd plugins + if [ "${BPM:-no}" = "no" ]; then + rm -rf bpm + fi + rm -rf haikuattrs find . -maxdepth 2 -name '__init__.py' -printf '%h\n'|xargs mv -t $PKG/$PYTHONDIR/$DSTNAM/plugins/ cp -a */* $PKG/$PYTHONDIR/$DSTNAM/plugins/ ) diff --git a/multimedia/picard-plugins/picard-plugins.info b/multimedia/picard-plugins/picard-plugins.info index b96d5d06c0..62e3a9710f 100644 --- a/multimedia/picard-plugins/picard-plugins.info +++ b/multimedia/picard-plugins/picard-plugins.info @@ -1,8 +1,8 @@ PRGNAM="picard-plugins" -VERSION="dac5623" +VERSION="ed8d64c" HOMEPAGE="https://picard.musicbrainz.org/plugins/" -DOWNLOAD="https://github.com/metabrainz/picard-plugins/archive/dac5623/picard-plugins-dac5623f0aa7105fd0643f00795ff122e9c902c2.tar.gz" -MD5SUM="d4b649011a50fed87cbf837a1f304c9d" +DOWNLOAD="https://github.com/metabrainz/picard-plugins/archive/ed8d64c/picard-plugins-ed8d64c022fd15075487b94b74e4e53f87b1740c.tar.gz" +MD5SUM="462eae666339e8adc4931670b7ac501e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="picard" |