# Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ PORTNAME= picard PORTVERSION= 2.0.4 PORTREVISION= 1 CATEGORIES= audio python MASTER_SITES= http://ftp.musicbrainz.org/pub/musicbrainz/picard/ \ ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/ \ http://ftp.osuosl.org/pub/musicbrainz/picard/ MAINTAINER= jhale@FreeBSD.org COMMENT= Next generation MusicBrainz Tagger LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}discid>=0.5.2:audio/py-discid@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mutagen>=1.23:audio/py-mutagen@${PY_FLAVOR} USES= gettext pyqt:5 python:3.5+ desktop-file-utils USE_LOCALE= en_US.UTF-8 USE_PYQT= core_run gui_run network_run widgets_run sip USE_PYTHON= autoplist distutils noflavors WRKSRC= ${WRKDIR}/${PORTNAME}-release-${PORTVERSION} OPTIONS_DEFINE= ACOUSTID PLUGINS OPTIONS_DEFAULT= PLUGINS ACOUSTID_RUN_DEPENDS= fpcalc:audio/chromaprint PLUGINS_DESC= Install various plugins to extend functionality PLUGINS_RUN_DEPENDS= picard-plugins>=2.0:audio/picard-plugins post-patch: @${REINPLACE_CMD} -e 's|distutils\.command\.install |setuptools\.command\.install |' \ ${WRKSRC}/setup.py post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/picard/util/_astrcmp.so .include