1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/audio/picard/Makefile
2019-12-10 03:56:11 +00:00

43 lines
1.3 KiB
Makefile

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= picard
PORTVERSION= 2.2.3
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 <bsd.port.mk>