diff --git a/graphics/entangle/Makefile b/graphics/entangle/Makefile index 86c6eb4a413f..d09201921a2d 100644 --- a/graphics/entangle/Makefile +++ b/graphics/entangle/Makefile @@ -1,39 +1,40 @@ # Created by: Alexey Dokuchaev 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 +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 diff --git a/graphics/entangle/files/patch-src_meson.build b/graphics/entangle/files/patch-src_meson.build new file mode 100644 index 000000000000..5d1ab9acdd24 --- /dev/null +++ b/graphics/entangle/files/patch-src_meson.build @@ -0,0 +1,24 @@ +https://gitlab.com/entangle/entangle/-/commit/54795d275a93 + +src/meson.build:42:5: ERROR: Function does not take positional arguments. + +--- src/meson.build.orig 2017-10-10 21:07:59 UTC ++++ src/meson.build +@@ -40,7 +40,7 @@ entangle = executable( + desktop = 'entangle.desktop' + + i18n.merge_file ( +- desktop, ++ data_dirs: desktop, + type: 'desktop', + input: desktop + '.in', + output: desktop, +@@ -52,7 +52,7 @@ i18n.merge_file ( + appdata = 'entangle.appdata.xml' + + i18n.merge_file( +- appdata, ++ data_dirs: appdata, + input: appdata + '.in', + output: appdata, + install: true,