mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Turn HAL support into optional.
PR: ports/157096 Submitted by: Warren Block <wblock@wonkity.com>
This commit is contained in:
parent
fd48ccbc42
commit
16af45bc28
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275074
2 changed files with 17 additions and 9 deletions
|
@ -17,10 +17,8 @@ MAINTAINER= gnome@FreeBSD.org
|
|||
COMMENT= GNOME virtual file system
|
||||
|
||||
LIB_DEPENDS= dbus-1.3:${PORTSDIR}/devel/dbus \
|
||||
hal.1:${PORTSDIR}/sysutils/hal \
|
||||
soup-gnome-2.4.1:${PORTSDIR}/devel/libsoup-gnome \
|
||||
gnome-keyring:${PORTSDIR}/security/libgnome-keyring
|
||||
RUN_DEPENDS= gnome-mount:${PORTSDIR}/sysutils/gnome-mount
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_GNOME= glib20 gnomehack gnomeprefix intlhack gconf2
|
||||
|
@ -34,8 +32,9 @@ CONFIGURE_ARGS= --disable-obexftp
|
|||
OPTIONS= FUSE "Enable fuse" off \
|
||||
AVAHI "Enable AVAHI" on \
|
||||
SAMBA "Enable Samba" on \
|
||||
GPHOTO2 "Enable Gphoto 2 camera support" on \
|
||||
CDDA "Enable CDDA" on
|
||||
GPHOTO2 "Enable Gphoto 2 camera support (required HAL)" on \
|
||||
CDDA "Enable CDDA (required HAL)" on \
|
||||
HAL "Enable HAL" on
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -56,7 +55,7 @@ CONFIGURE_ARGS+= --disable-samba
|
|||
PLIST_SUB+= SMB="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_CDDA)
|
||||
.if defined(WITH_CDDA) && !defined(WITHOUT_HAL)
|
||||
LIB_DEPENDS+= cdio_paranoia.0:${PORTSDIR}/sysutils/libcdio
|
||||
PLIST_SUB+= CDDA=""
|
||||
.else
|
||||
|
@ -64,7 +63,7 @@ CONFIGURE_ARGS+= --disable-cdda
|
|||
PLIST_SUB+= CDDA="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_GPHOTO2)
|
||||
.if defined(WITH_GPHOTO2) && !defined(WITHOUT_HAL)
|
||||
LIB_DEPENDS+= gphoto2.2:${PORTSDIR}/graphics/libgphoto2
|
||||
PLIST_SUB+= GPHOTO2=""
|
||||
.else
|
||||
|
@ -80,4 +79,13 @@ CONFIGURE_ARGS+=--disable-avahi
|
|||
PLIST_SUB+= AVAHI="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_HAL)
|
||||
LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
|
||||
RUN_DEPENDS+= gnome-mount:${PORTSDIR}/sysutils/gnome-mount
|
||||
PLIST_SUB+= HAL=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-hal
|
||||
PLIST_SUB+= HAL="@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -32,7 +32,7 @@ lib/libgvfscommon.so
|
|||
lib/libgvfscommon.so.0
|
||||
%%FUSE%%libexec/gvfs-fuse-daemon
|
||||
%%GPHOTO2%%libexec/gvfs-gphoto2-volume-monitor
|
||||
libexec/gvfs-hal-volume-monitor
|
||||
%%HAL%%libexec/gvfs-hal-volume-monitor
|
||||
libexec/gvfsd
|
||||
libexec/gvfsd-archive
|
||||
libexec/gvfsd-burn
|
||||
|
@ -53,7 +53,7 @@ libexec/gvfsd-trash
|
|||
share/dbus-1/services/gvfs-daemon.service
|
||||
share/dbus-1/services/gvfs-metadata.service
|
||||
%%GPHOTO2%%share/dbus-1/services/org.gtk.Private.GPhoto2VolumeMonitor.service
|
||||
share/dbus-1/services/org.gtk.Private.HalVolumeMonitor.service
|
||||
%%HAL%%share/dbus-1/services/org.gtk.Private.HalVolumeMonitor.service
|
||||
share/gvfs/mounts/archive.mount
|
||||
share/gvfs/mounts/burn.mount
|
||||
%%CDDA%%share/gvfs/mounts/cdda.mount
|
||||
|
@ -71,7 +71,7 @@ share/gvfs/mounts/sftp.mount
|
|||
%%SMB%%share/gvfs/mounts/smb.mount
|
||||
share/gvfs/mounts/trash.mount
|
||||
%%GPHOTO2%%share/gvfs/remote-volume-monitors/gphoto2.monitor
|
||||
share/gvfs/remote-volume-monitors/hal.monitor
|
||||
%%HAL%%share/gvfs/remote-volume-monitors/hal.monitor
|
||||
share/locale/af/LC_MESSAGES/gvfs.mo
|
||||
share/locale/ar/LC_MESSAGES/gvfs.mo
|
||||
share/locale/as/LC_MESSAGES/gvfs.mo
|
||||
|
|
Loading…
Add table
Reference in a new issue