openbsd-ports/graphics/mypaint/Makefile
2022-03-11 19:22:04 +00:00

57 lines
1.3 KiB
Makefile

COMMENT = raster graphics editor for digital painters
MODPY_EGG_VERSION = 2.0.1
DISTNAME = mypaint-${MODPY_EGG_VERSION}
EXTRACT_SUFX = .tar.xz
REVISION = 3
CATEGORIES = graphics
HOMEPAGE = https://mypaint.org
MAINTAINER = Pamela Mosiejczuk <pamela@openbsd.org>
# GPL-2.0
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} atk-1.0 cairo cairo-gobject gdk-3
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gtk-3 harfbuzz
WANTLIB += intl json-c lcms2 m mypaint pango-1.0 pangocairo-1.0
WANTLIB += png z
MASTER_SITES = https://github.com/mypaint/mypaint/releases/download/v${MODPY_EGG_VERSION}/
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
SEPARATE_BUILD = Yes
COMPILER = base-clang ports-gcc
BUILD_DEPENDS = devel/gettext,-tools \
devel/py-gobject3${MODPY_FLAVOR} \
devel/swig \
graphics/mypaint-brushes2 \
graphics/py-cairo${MODPY_FLAVOR} \
math/py-numpy${MODPY_FLAVOR} \
x11/gnome/librsvg
RUN_DEPENDS = devel/desktop-file-utils \
devel/py-gobject3${MODPY_FLAVOR} \
graphics/mypaint-brushes2 \
graphics/py-cairo${MODPY_FLAVOR} \
math/py-numpy${MODPY_FLAVOR} \
x11/gtk+3,-guic
LIB_DEPENDS = devel/harfbuzz \
devel/json-c \
devel/pango \
graphics/lcms2 \
graphics/libmypaint \
x11/gtk+3
TEST_DEPENDS = devel/py-nose${MODPY_FLAVOR}
PORTHOME = ${WRKSRC}
.include <bsd.port.mk>