freebsd-ports/graphics/entangle/Makefile
Jan Beich 683aee272e graphics/entangle: unbreak build with Meson 0.61.0
src/meson.build:42:5: ERROR: Function does not take positional arguments.
help/meson.build:23:6: ERROR: Program 'itstool' not found or not executable

PR:		260943
Reported by:	antoine (via exp-run)
Regressed by:	https://github.com/mesonbuild/meson/commit/61f2866a9fa1
Regressed by:	https://github.com/mesonbuild/meson/commit/26c1869a142a
2022-01-24 13:21:07 +00:00

40 lines
1.1 KiB
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= entangle
PORTVERSION= 1.0
CATEGORIES= graphics
MASTER_SITES= https://www.entangle-photo.org/download/sources/
MAINTAINER= danfe@FreeBSD.org
COMMENT= Digital camera tethered control and capture program
LICENSE= GPLv3
BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc \
itstool:textproc/itstool
LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 \
liblcms2.so:graphics/lcms2 \
libgexiv2.so:graphics/gexiv2 \
libraw_r.so:graphics/libraw \
libpeas-1.0.so:devel/libpeas
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libpeas>0:devel/py-libpeas@${PY_FLAVOR}
USES= compiler:c++11-lang gnome meson pkgconfig python tar:xz xorg
USE_GNOME= cairo gtk30 intltool introspection
USE_GSTREAMER1= core
USE_XORG= xext
GLIB_SCHEMAS= org.entangle-photo.manager.gschema.xml
USE_LDCONFIG= yes
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
post-patch:
@${REINPLACE_CMD} -e 's,_udev,,' \
${WRKSRC}/src/backend/entangle-camera-list.c
@${REINPLACE_CMD} -e '/gudev_dep/d' \
${WRKSRC}/src/backend/meson.build
.include <bsd.port.mk>