forked from Lainports/freebsd-ports
* Bump PORTREVISION of ports depending on them. Also while I'm here: * Add "gnome" to USES if the XML option is enabled to avoid warnings about using USE_GNOME alone. * Pet portlint Notable changes since 2.5.16 (graphics/libgphoto2) [1]: * Added new USB Ids for various camera types * Updated translations * Report file changes via GP_EVENT_FILE_CHANGED (hooked up for Canon EOS currently) Changes since 2.5.15 (graphics/gphoto2) [2]: * Maximum number in file ranges bumped from 16384 to 65536 * Add shell commands to match commandline: summary, storage-info, trigger-capture * Fixed a fd leak * Updated translations * Handle GP_EVENT_FILE_CHANGED event https://github.com/gphoto/libgphoto2/blob/libgphoto2-2_5_22-release/NEWS https://github.com/gphoto/gphoto2/blob/gphoto2-2_5_20-release/NEWS PR: 235817 [1], 235818 [2] Submitted by: Darren Mulligan <fixer@bsdmail.com> Approved by: woodsb02 (maintainer timeout)
54 lines
1.5 KiB
Makefile
54 lines
1.5 KiB
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= entangle
|
|
PORTVERSION= 0.7.2
|
|
PORTREVISION= 3
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://entangle-photo.org/download/sources/
|
|
|
|
MAINTAINER= woodsb02@FreeBSD.org
|
|
COMMENT= Digital camera tethered control and capture program
|
|
|
|
LICENSE= GPLv3
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/share/icons/mate/scalable/devices/camera-photo-symbolic.svg:x11-themes/mate-icon-theme \
|
|
itstool:textproc/itstool
|
|
LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 \
|
|
libdbus-glib-1.so:devel/dbus-glib \
|
|
liblcms2.so:graphics/lcms2 \
|
|
libgexiv2.so:graphics/gexiv2 \
|
|
libraw_r.so:graphics/libraw \
|
|
libpeas-1.0.so:devel/libpeas
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS:Nitstool*} \
|
|
${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR}
|
|
|
|
USES= compiler:c++11-lang gettext-tools gmake gnome libtool \
|
|
pkgconfig python:3.4+
|
|
GNU_CONFIGURE= yes
|
|
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
|
|
INSTALL_TARGET= install-strip
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_CONFIGURE_OFF= --disable-nls
|
|
NLS_USES= gettext-runtime
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/checking for GUDEV/,+93d ; \
|
|
s,gnome-icon-theme-symbolic,mate-icon-theme, ; \
|
|
s,/usr/share/icons/gnome,${LOCALBASE}/share/icons/mate,' \
|
|
${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's,_udev,,' \
|
|
${WRKSRC}/src/backend/entangle-camera-list.c
|
|
|
|
.include <bsd.port.mk>
|