2013-09-12 10:00:37 +02:00
|
|
|
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
2006-04-07 20:18:07 +02:00
|
|
|
|
|
|
|
PORTNAME= picard
|
2021-05-01 15:59:39 +02:00
|
|
|
PORTVERSION= 2.6.2
|
2006-04-07 20:18:07 +02:00
|
|
|
CATEGORIES= audio python
|
2008-02-04 18:10:37 +01:00
|
|
|
MASTER_SITES= http://ftp.musicbrainz.org/pub/musicbrainz/picard/ \
|
2008-09-01 07:36:52 +02:00
|
|
|
ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/ \
|
2009-11-02 11:54:02 +01:00
|
|
|
http://ftp.osuosl.org/pub/musicbrainz/picard/
|
2006-04-07 20:18:07 +02:00
|
|
|
|
2012-09-13 06:45:58 +02:00
|
|
|
MAINTAINER= jhale@FreeBSD.org
|
2008-02-04 18:10:37 +01:00
|
|
|
COMMENT= Next generation MusicBrainz Tagger
|
2006-04-07 20:18:07 +02:00
|
|
|
|
2018-02-15 12:26:55 +01:00
|
|
|
LICENSE= GPLv2+
|
2014-08-16 18:01:51 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
2011-07-24 18:33:51 +02:00
|
|
|
|
2018-06-20 19:05:41 +02:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}discid>=0.5.2:audio/py-discid@${PY_FLAVOR} \
|
2020-10-30 02:06:21 +01:00
|
|
|
${PYTHON_PKGNAMEPREFIX}mutagen>=1.37:audio/py-mutagen@${PY_FLAVOR} \
|
2021-04-06 19:13:06 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}dateutil>=2.7.3:devel/py-dateutil@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}fasteners>0:devel/py-fasteners@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR}
|
2006-04-07 20:18:07 +02:00
|
|
|
|
2021-04-06 19:13:06 +02:00
|
|
|
USES= gettext pyqt:5 python:3.6+ desktop-file-utils
|
2018-07-27 23:50:14 +02:00
|
|
|
USE_LOCALE= en_US.UTF-8
|
2020-06-29 18:42:22 +02:00
|
|
|
USE_PYQT= core_run dbus_run gui_run network_run widgets_run sip
|
2018-07-27 23:50:14 +02:00
|
|
|
USE_PYTHON= autoplist distutils noflavors
|
2008-02-04 18:10:37 +01:00
|
|
|
|
2020-10-30 02:06:21 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-release-${DISTVERSION}
|
2015-02-26 03:52:27 +01:00
|
|
|
|
2020-06-29 18:42:22 +02:00
|
|
|
OPTIONS_DEFINE= ACOUSTID PLAYER PLUGINS
|
|
|
|
OPTIONS_DEFAULT= PLAYER PLUGINS
|
2013-09-29 16:22:27 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
ACOUSTID_RUN_DEPENDS= fpcalc:audio/chromaprint
|
2013-09-29 16:22:27 +02:00
|
|
|
|
2020-06-29 18:42:22 +02:00
|
|
|
PLAYER_DESC= Built-in audio player
|
|
|
|
PLAYER_USE= PYQT=multimedia_run
|
|
|
|
|
2018-02-15 12:26:55 +01:00
|
|
|
PLUGINS_DESC= Install various plugins to extend functionality
|
2018-09-06 11:27:02 +02:00
|
|
|
PLUGINS_RUN_DEPENDS= picard-plugins>=2.0:audio/picard-plugins
|
2013-09-29 16:22:27 +02:00
|
|
|
|
2014-08-16 18:01:51 +02:00
|
|
|
post-install:
|
2021-03-03 19:04:29 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/picard/util/_astrcmp*.so
|
2014-08-16 18:01:51 +02:00
|
|
|
|
2006-11-13 22:17:06 +01:00
|
|
|
.include <bsd.port.mk>
|