ebf751b927
Follow the upstream recommendations for packagers and switch to multi-packages: devel/gettext -> devel/gettext,-runtime devel/gettext-tools -> devel/gettext,-tools (new) devel/gettext,-textstyle
44 lines
966 B
Makefile
44 lines
966 B
Makefile
# $OpenBSD: Makefile,v 1.57 2019/05/20 22:15:01 naddy Exp $
|
|
|
|
COMMENT= GTK+ client for the Music Player Daemon
|
|
|
|
MODPY_EGG_VERSION=1.7b1
|
|
DISTNAME= sonata-${MODPY_EGG_VERSION}
|
|
EPOCH= 0
|
|
REVISION= 1
|
|
|
|
CATEGORIES= audio
|
|
|
|
GH_COMMIT= 0a1d63022720f95d092cc82da53f2b210d2ed26a
|
|
GH_ACCOUNT= multani
|
|
GH_PROJECT= sonata
|
|
|
|
HOMEPAGE= http://www.nongnu.org/sonata/
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MODULES= lang/python
|
|
|
|
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
|
|
MODPY_SETUPTOOLS= Yes
|
|
|
|
BUILD_DEPENDS= devel/gettext,-tools
|
|
|
|
RUN_DEPENDS= audio/py-mpd2${MODPY_FLAVOR} \
|
|
audio/py-tagpy${MODPY_FLAVOR} \
|
|
devel/desktop-file-utils \
|
|
devel/py-gobject3${MODPY_FLAVOR} \
|
|
devel/xdg-utils \
|
|
x11/dbus-python${MODPY_FLAVOR}
|
|
|
|
# pygobject GTK3 introspection (not provided by indirect dependencies)
|
|
RUN_DEPENDS += x11/gtk+3
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
|
|
${INSTALL_DATA} ${WRKSRC}/sonata/pixmaps/sonata.png \
|
|
${PREFIX}/share/pixmaps
|
|
|
|
.include <bsd.port.mk>
|