openbsd-ports/audio/quodlibet/Makefile
2022-03-11 18:20:04 +00:00

45 lines
1.0 KiB
Makefile

COMMENT= audio player and tagger for GTK+ with regex support
MODPY_EGG_VERSION= 4.4.0
DISTNAME= quodlibet-${MODPY_EGG_VERSION}
PORTROACH= skipv:release-${MODPY_EGG_VERSION}
REVISION= 0
CATEGORIES= audio
HOMEPAGE= https://quodlibet.readthedocs.org/
# GPLv2+
PERMIT_PACKAGE= Yes
MASTER_SITES= https://github.com/quodlibet/quodlibet/releases/download/release-${MODPY_EGG_VERSION}/
MODULES= lang/python
RUN_DEPENDS= audio/py-musicbrainzngs${MODPY_FLAVOR} \
audio/py-mutagen${MODPY_FLAVOR} \
devel/py-gobject3${MODPY_FLAVOR} \
graphics/py-cairo${MODPY_FLAVOR} \
textproc/py-feedparser${MODPY_FLAVOR} \
x11/dbus-python${MODPY_FLAVOR}
# others
RUN_DEPENDS+= devel/desktop-file-utils \
devel/libsoup \
multimedia/gstreamer1/plugins-good \
multimedia/gstreamer1/plugins-libav \
multimedia/xine-lib \
x11/gtk+3,-guic
BUILD_DEPENDS= ${RUN_DEPENDS} \
devel/gettext,-runtime \
devel/gettext,-tools
MODPY_ADJ_FILES= *py
MODPY_DISTUTILS_INSTALLARGS= --mandir=${PREFIX}/man
do-test:
cd ${WRKSRC}; ${MODPY_BIN} ./setup.py test
.include <bsd.port.mk>