mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
audio/picard-plugins: Update to snapshot from 2019-03-12
- Add ALBUM_COLUMN option to enable the Add Album Column plugin - disabled by default since it changes the UI and the only way to disable it is to deinstall it. See: https://github.com/metabrainz/picard-plugins/pull/195 - Use BUILD_WRKSRC everywhere - Remove hidden files and backup files from the build directory New plugins (see: https://picard.musicbrainz.org/plugins/ for descriptions) - Add Album Column - Amazon cover art - Apiseeds Lyrics - Instruments - TheAudioDB cover art
This commit is contained in:
parent
b1582033c0
commit
41546cd516
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=496239
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= picard-plugins
|
||||
PORTVERSION= 2.0.20190212
|
||||
PORTVERSION= 2.0.20190312
|
||||
CATEGORIES= audio python
|
||||
|
||||
MAINTAINER= jhale@FreeBSD.org
|
||||
@ -15,7 +15,7 @@ USE_PYTHON= noflavors
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= metabrainz
|
||||
GH_TAGNAME= e67ac70
|
||||
GH_TAGNAME= 8cb6013
|
||||
|
||||
PORTSCOUT= limit:^2\.
|
||||
|
||||
@ -23,13 +23,16 @@ NO_ARCH= yes
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= GCC_VER=${GCC_DEFAULT:S/.//}
|
||||
|
||||
BUILD_WRKSRC= ${WRKSRC}/build
|
||||
PLUGINSDIR= ${PYTHON_SITELIBDIR}/picard/plugins
|
||||
|
||||
OPTIONS_DEFINE= BPM MOODBAR
|
||||
OPTIONS_DEFINE= ALBUM_COLUMN BPM MOODBAR
|
||||
OPTIONS_GROUP= REPLAYGAIN
|
||||
OPTIONS_GROUP_REPLAYGAIN= FLAC MP3 VORBIS WAVPACK
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
ALBUM_COLUMN_DESC= Adds album column to main window (can't be disabled)
|
||||
|
||||
BPM_DESC= Beats per minute
|
||||
BPM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aubio>=0.4.5:audio/py-aubio@${PY_FLAVOR}
|
||||
|
||||
@ -47,21 +50,25 @@ do-build:
|
||||
# be installed into their own subdirectories under PLUGINSDIR. Plugins
|
||||
# written as a single .py file must be installed directly in PLUGINSDIR.
|
||||
# We copy them into the correct hierarchy and compile them here.
|
||||
@${MKDIR} ${WRKSRC}/build
|
||||
@${MKDIR} ${BUILD_WRKSRC}
|
||||
@(cd ${WRKSRC}/plugins; \
|
||||
for dir in *; \
|
||||
do \
|
||||
if [ -f $${dir}/__init__.py ]; \
|
||||
then ${CP} -R $${dir} ${WRKSRC}/build; \
|
||||
else ${CP} -R $${dir}/* ${WRKSRC}/build; \
|
||||
then ${CP} -R $${dir} ${BUILD_WRKSRC}; \
|
||||
else ${CP} -R $${dir}/* ${BUILD_WRKSRC}; \
|
||||
fi; \
|
||||
done;)
|
||||
${PYTHON_CMD} -m compileall ${WRKSRC}/build
|
||||
${PYTHON_CMD} -O -m compileall ${WRKSRC}/build
|
||||
${FIND} ${BUILD_WRKSRC} -type f \( -name '.*' -o -name '*.bak' -o -name '*.orig' \) -exec ${RM} {} \;
|
||||
${PYTHON_CMD} -m compileall ${BUILD_WRKSRC}
|
||||
${PYTHON_CMD} -O -m compileall ${BUILD_WRKSRC}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${PLUGINSDIR}
|
||||
(cd ${WRKSRC}/build; ${COPYTREE_SHARE} . ${STAGEDIR}${PLUGINSDIR})
|
||||
(cd ${BUILD_WRKSRC}; ${COPYTREE_SHARE} . ${STAGEDIR}${PLUGINSDIR})
|
||||
|
||||
post-install-ALBUM_COLUMN-off:
|
||||
@${RM} -r ${STAGEDIR}${PLUGINSDIR}/add_album_column
|
||||
|
||||
post-install-BPM-off:
|
||||
@${RM} -r ${STAGEDIR}${PLUGINSDIR}/bpm
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1550129398
|
||||
SHA256 (metabrainz-picard-plugins-2.0.20190212-e67ac70_GH0.tar.gz) = dc9211c4f0c64120dfadb5d290c60007d4a60ab66c764467935dabe5dcc8e540
|
||||
SIZE (metabrainz-picard-plugins-2.0.20190212-e67ac70_GH0.tar.gz) = 362357
|
||||
TIMESTAMP = 1552816314
|
||||
SHA256 (metabrainz-picard-plugins-2.0.20190312-8cb6013_GH0.tar.gz) = 4d43b3fb888f0c60b379f45941dfe8b5d1b442d7d13e04a8a06dfb05d355d3c0
|
||||
SIZE (metabrainz-picard-plugins-2.0.20190312-8cb6013_GH0.tar.gz) = 371062
|
||||
|
@ -10,6 +10,10 @@
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/albumartist_website.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/albumartistextension.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/albumartistextension.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/amazon.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/amazon.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/apiseeds_lyrics.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/apiseeds_lyrics.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/classicdiscnumber.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/classicdiscnumber.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/compatible_TXXX.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
@ -26,6 +30,8 @@
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/featartistsintitles.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/fix_tracknums.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/fix_tracknums.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/instruments.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/instruments.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/keep.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/keep.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/loadasnat.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
@ -64,14 +70,17 @@
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/titlecase.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/tracks2clipboard.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/tracks2clipboard.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/wikidata.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/__pycache__/wikidata.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/abbreviate_artistsort.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/acousticbrainz.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/acousticbrainz_tonal-rhythm.py
|
||||
%%ALBUM_COLUMN%%%%PYTHON_SITELIBDIR%%/picard/plugins/add_album_column/__init__.py
|
||||
%%ALBUM_COLUMN%%%%PYTHON_SITELIBDIR%%/picard/plugins/add_album_column/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%ALBUM_COLUMN%%%%PYTHON_SITELIBDIR%%/picard/plugins/add_album_column/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/addrelease.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/albumartist_website.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/albumartistextension.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/amazon.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/apiseeds_lyrics.py
|
||||
%%BPM%%%%PYTHON_SITELIBDIR%%/picard/plugins/bpm/__init__.py
|
||||
%%BPM%%%%PYTHON_SITELIBDIR%%/picard/plugins/bpm/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%BPM%%%%PYTHON_SITELIBDIR%%/picard/plugins/bpm/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
@ -118,6 +127,7 @@
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/format_performer_tags/docs/default_settings.jpg
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/format_performer_tags/options_format_performer_tags.ui
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/format_performer_tags/ui_options_format_performer_tags.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/instruments.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/keep.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/lastfm/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/lastfm/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
@ -140,15 +150,6 @@
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/musixmatch/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/musixmatch/__pycache__/ui_options_musixmatch.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/musixmatch/__pycache__/ui_options_musixmatch.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/musixmatch/musixmatch/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/musixmatch/musixmatch/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/musixmatch/musixmatch/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/musixmatch/musixmatch/__pycache__/track.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/musixmatch/musixmatch/__pycache__/track.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/musixmatch/musixmatch/__pycache__/util.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/musixmatch/musixmatch/__pycache__/util.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/musixmatch/musixmatch/track.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/musixmatch/musixmatch/util.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/musixmatch/ui_options_musixmatch.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/no_release.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/non_ascii_equivalents.py
|
||||
@ -172,6 +173,13 @@
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/standardise_feat.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/standardise_performers.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/tangoinfo.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/theaudiodb/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/theaudiodb/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/theaudiodb/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/theaudiodb/__pycache__/ui_options_theaudiodb.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/theaudiodb/__pycache__/ui_options_theaudiodb.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/theaudiodb/options_theaudiodb.ui
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/theaudiodb/ui_options_theaudiodb.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/titlecase.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/tracks2clipboard.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/videotools/__init__.py
|
||||
@ -235,7 +243,13 @@
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/viewvariables/__pycache__/ui_variables_dialog.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/viewvariables/ui_variables_dialog.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/viewvariables/variables_dialog.ui
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/wikidata.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/wikidata/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/wikidata/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/wikidata/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/wikidata/__pycache__/ui_options_wikidata.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/wikidata/__pycache__/ui_options_wikidata.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/wikidata/options_wikidata.ui
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/wikidata/ui_options_wikidata.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/workandmovement/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/workandmovement/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
|
||||
%%PYTHON_SITELIBDIR%%/picard/plugins/workandmovement/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
|
||||
|
Loading…
Reference in New Issue
Block a user