1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/graphics/entangle/Makefile
Alexey Dokuchaev d066d350da graphics/entangle: the port had been updated to transient version (+)
- Belatedly update Entangle to version 1.0 (newer versions are available,
  but they cannot be easily ported without making changes to the code as
  they crash with segmentation fault unmodified)
- Now builds itself using Meson instead of GNU autotools and make, hence
  drop no longer relevant knobs from the Makefile
- Adjust dependencies: remove unused ones, limit the scope of `gettext'
  to NLS case only, drop version specification from `USES=python' which
  is not needed since r564032 and was probably not very accurate anyway
- Reclaim maintainership after previous maintainer had stepped down, and
  chase HTTP 302 redirection in the MASTER_SITES and WWW line while here

PR:	235780
2021-07-29 02:37:50 +00:00

41 lines
1.0 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
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
INSTALLS_ICONS= yes
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>