mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
2ae5564223
graphics/gphoto2: Update to 2.5.15 graphics/py-gphoto2: Update to 1.8.2 Also bump PORTREVISION of ports depending on these. PR: 224611 Submitted by: bsam (graphics/libgphoto2)
101 lines
2.5 KiB
Makefile
101 lines
2.5 KiB
Makefile
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gvfs
|
|
PORTVERSION= 1.26.3
|
|
PORTREVISION= 8
|
|
CATEGORIES= devel gnome
|
|
MASTER_SITES= GNOME
|
|
DIST_SUBDIR= gnome3
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= GNOME virtual file system
|
|
|
|
BUILD_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl
|
|
LIB_DEPENDS= libdbus-1.so:devel/dbus \
|
|
libsoup-gnome-2.4.so:devel/libsoup-gnome \
|
|
libgcrypt.so:security/libgcrypt \
|
|
libgcr-base-3.so:security/gcr \
|
|
libsecret-1.so:security/libsecret
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
USES= gettext gmake gnome libarchive libtool pathfix pkgconfig tar:xz
|
|
USE_GNOME= glib20 intlhack libxslt:build
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS= --disable-bluray
|
|
|
|
CONFIGURE_ARGS+=\
|
|
--disable-gudev \
|
|
--disable-libsystemd-login \
|
|
--disable-udisks2 \
|
|
--disable-gdu \
|
|
--disable-udev \
|
|
--disable-goa \
|
|
--disable-libmtp \
|
|
--disable-gtk
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
GLIB_SCHEMAS= org.gnome.system.gvfs.enums.xml
|
|
|
|
OPTIONS_SUB= yes
|
|
OPTIONS_DEFINE= AVAHI SAMBA GPHOTO2 CDDA HAL FUSE AFC GOOGLE
|
|
OPTIONS_DEFAULT=AVAHI SAMBA GPHOTO2 CDDA HAL FUSE GOOGLE
|
|
CDDA_DESC= CDDA (enables HAL)
|
|
GPHOTO2_DESC= Gphoto 2 camera support (enables HAL) for PTP support
|
|
SAMBA_DESC= Samba support
|
|
AFC_DESC= Apple device support
|
|
GOOGLE_DESC= Google backend
|
|
|
|
FUSE_USES= fuse
|
|
FUSE_CONFIGURE_ENABLE= fuse
|
|
|
|
SAMBA_USES= samba:lib
|
|
SAMBA_CONFIGURE_ENABLE= samba
|
|
SAMBA_CONFIGURE_WITH= samba-includes=${SAMBAINCLUDES} samba-libs=${SAMBALIBS}
|
|
|
|
CDDA_LIB_DEPENDS= libcdio_paranoia.so:sysutils/libcdio-paranoia
|
|
CDDA_CONFIGURE_ENABLE= cdda
|
|
|
|
GPHOTO2_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2
|
|
GPHOTO2_CONFIGURE_ENABLE= gphoto2
|
|
|
|
AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app
|
|
AVAHI_CONFIGURE_ENABLE= avahi
|
|
|
|
AFC_LIB_DEPENDS= libimobiledevice.so:comms/libimobiledevice \
|
|
libplist.so:devel/libplist
|
|
AFC_CONFIGURE_ENABLE= afc
|
|
|
|
GOOGLE_CONFIGURE_ENABLE= google
|
|
GOOGLE_LIB_DEPENDS= libgdata.so:devel/libgdata \
|
|
libgoa-1.0.so:net/gnome-online-accounts
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MSAMBA}
|
|
GLIB_SCHEMAS+= org.gnome.system.smb.gschema.xml
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MAVAHI}
|
|
GLIB_SCHEMAS+= org.gnome.system.dns_sd.gschema.xml
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MHAL} || ${PORT_OPTIONS:MGPHOTO2} || ${PORT_OPTIONS:MCDDA}
|
|
LIB_DEPENDS+= libhal.so:sysutils/hal
|
|
RUN_DEPENDS+= gnome-mount:sysutils/gnome-mount
|
|
PLIST_SUB+= HAL=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-hal
|
|
PLIST_SUB+= HAL="@comment "
|
|
.endif
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/remote-volume-monitors
|
|
@${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
|
|
|
|
.include <bsd.port.mk>
|