b8d2e0ae5d
- Define GLIB_SCHEMAS to prevent crash on startup - Fix camera auto-detection after generic USB devd(8) events were changed from "fake" attach to notify
50 lines
1.5 KiB
Makefile
50 lines
1.5 KiB
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= entangle
|
|
DISTVERSION= 0.6.0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://entangle-photo.org/download/sources/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Digital camera tethered control and capture program
|
|
|
|
LICENSE= GPLv3
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/share/icons/mate/scalable/devices/camera-photo-symbolic.svg:${PORTSDIR}/x11-themes/mate-icon-theme
|
|
LIB_DEPENDS= libgphoto2.so:${PORTSDIR}/graphics/libgphoto2 \
|
|
liblcms2.so:${PORTSDIR}/graphics/lcms2 \
|
|
libgexiv2.so:${PORTSDIR}/graphics/gexiv2 \
|
|
libraw_r.so:${PORTSDIR}/graphics/libraw \
|
|
libpeas-1.0.so:${PORTSDIR}/devel/libpeas
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USES= gmake pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= gtk30 introspection:build
|
|
GLIB_SCHEMAS= org.entangle-photo.manager.gschema.xml
|
|
|
|
# XXX: it would be nice if one day this option would be passed automatically
|
|
# to configure scripts that support it :)
|
|
.if defined(BATCH) || defined(PACKAGE_BUILDING)
|
|
CONFIGURE_ARGS= --disable-silent-rules
|
|
.endif
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_OFF= --disable-nls
|
|
|
|
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>
|