# Created by: Koop Mast # $FreeBSD$ # $MCom: ports/trunk/sysutils/gnome-settings-daemon3/Makefile 17268 2013-04-01 05:13:11Z marcus $ PORTNAME= gnome-settings-daemon PORTVERSION= 3.4.2 CATEGORIES= sysutils gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME 3 settings daemon BUILD_DEPENDS= gnome-session>=2.91.0:${PORTSDIR}/x11/gnome-session3 \ ${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas LIB_DEPENDS= canberra-gtk3:${PORTSDIR}/audio/libcanberra-gtk3 \ polkit-gobject-1:${PORTSDIR}/sysutils/polkit \ colord:${PORTSDIR}/graphics/colord \ pulse:${PORTSDIR}/audio/pulseaudio \ gdbm:${PORTSDIR}/databases/gdbm \ notify:${PORTSDIR}/devel/libnotify RUN_DEPENDS= gnome-session>=2.91.0:${PORTSDIR}/x11/gnome-session3 \ ${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas CONFLICTS= gnome-settings-daemon-2.[0-9]* LATEST_LINK= gnome-settings-daemon3 USE_XORG= xxf86misc USE_XZ= yes USE_GMAKE= yes USE_GNOME= gnomeprefix intlhack gnomedesktop3 libgnomekbd3 gnomehier USES= gettext pathfix pkgconfig GNU_CONFIGURE= yes INSTALLS_ICONS= yes CONFIGURE_ARGS= --disable-gudev \ --disable-systemd \ --disable-packagekit #--with-pnpids=${LOCALBASE}/share/libgnome-desktop-3.0/pnp.ids CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS= CUPS "Enable cups (printing) support" On \ SMARTCARD "Enable smartcard support" On GLIB_SCHEMAS= org.gnome.settings-daemon.enums.xml \ org.gnome.settings-daemon.peripherals.gschema.xml \ org.gnome.settings-daemon.plugins.color.gschema.xml \ org.gnome.settings-daemon.plugins.gschema.xml \ org.gnome.settings-daemon.plugins.housekeeping.gschema.xml \ org.gnome.settings-daemon.plugins.keyboard.gschema.xml \ org.gnome.settings-daemon.plugins.media-keys.gschema.xml \ org.gnome.settings-daemon.plugins.power.gschema.xml \ org.gnome.settings-daemon.plugins.print-notifications.gschema.xml \ org.gnome.settings-daemon.plugins.xrandr.gschema.xml \ org.gnome.settings-daemon.plugins.xsettings.gschema.xml MAN1= gnome-settings-daemon.1 .include .if defined(WITH_CUPS) LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-client PLIST_SUB+= CUPS="" .else PLIST_SUB+= CUPS="@comment " CONFIGURE_ARGS+=--disable-cups .endif .if defined(WITHOUT_SMARTCARD) CONFIGURE_ARGS+=--disable-smartcard-support PLIST_SUB+= SMARTCARD="@comment " .else LIB_DEPENDS+= nss3.1:${PORTSDIR}/security/nss CONFIGURE_ARGS+=--enable-smartcard-support PLIST_SUB+= SMARTCARD="" .endif post-patch: @${REINPLACE_CMD} -e 's|/etc/gnome|${PREFIX}/etc/gnome|g' \ ${WRKSRC}/data/org.gnome.settings-daemon.plugins.xrandr.gschema.xml.in.in .include