openbsd-ports/x11/gnome/settings-daemon/Makefile

84 lines
2.5 KiB
Makefile
Raw Normal View History

2013-04-16 07:40:58 -04:00
# $OpenBSD: Makefile,v 1.103 2013/04/16 11:40:58 ajacoutot Exp $
2010-10-26 10:34:36 -04:00
SHARED_ONLY= Yes
COMMENT= GNOME settings daemon
GNOME_PROJECT= gnome-settings-daemon
2013-04-16 07:40:58 -04:00
GNOME_VERSION= 3.8.1
2011-04-06 15:04:50 -04:00
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
2013-03-08 02:01:51 -05:00
WANTLIB += FLAC ICE SM X11 X11-xcb Xcomposite Xcursor Xdamage
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender Xtst asn1 atk-1.0
WANTLIB += atk-bridge-2.0 atspi avahi-client avahi-common c cairo
WANTLIB += cairo-gobject canberra canberra-gtk3 colord colordprivate
WANTLIB += crypto cups dbus-1 dbus-glib-1 execinfo expat ffi fontconfig
WANTLIB += freetype gdbm gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0
2013-03-29 10:17:25 -04:00
WANTLIB += gmodule-2.0 gnome-desktop-3 gobject-2.0 graphite2 gssapi
WANTLIB += gthread-2.0 gtk-3 harfbuzz ibus-1.0 icudata icule icuuc
WANTLIB += json krb5 lcms2 ltdl m notify ogg pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs
WANTLIB += pulse pulse-mainloop-glib sndfile ssl upower-glib vorbis
WANTLIB += vorbisenc vorbisfile xcb xcb-render xcb-shm xkbfile
WANTLIB += z
MODULES= devel/gettext \
2011-09-12 03:28:52 -04:00
x11/gnome
2012-09-28 03:09:22 -04:00
LIB_DEPENDS= devel/libnotify \
2013-03-29 10:17:25 -04:00
x11/gnome/desktop \
2012-08-04 10:48:18 -04:00
print/cups,-libs \
2013-03-29 10:17:25 -04:00
audio/pulseaudio \
2011-09-27 05:35:06 -04:00
audio/libcanberra,-gtk3 \
2011-11-02 12:42:21 -04:00
sysutils/upower \
graphics/colord \
2013-03-29 10:17:25 -04:00
inputmethods/ibus
2013-03-29 10:17:25 -04:00
BUILD_DEPENDS= devel/gsettings-desktop-schemas
RUN_DEPENDS= devel/gsettings-desktop-schemas
2011-09-26 09:23:15 -04:00
# man pages
BUILD_DEPENDS += textproc/docbook-xsl
2012-03-29 02:47:51 -04:00
# share/polkit-1/actions/org.gnome.settings-daemon.plugins.power.policy
RUN_DEPENDS += sysutils/polkit
# polkit(8) almost always needs to know the "active" session
RUN_DEPENDS += sysutils/consolekit
# plugins/mouse/gsd-mouse-manager.c
RUN_DEPENDS += x11/gnome/mousetweaks
# plugins/power/gsd-power-manager.c; optional dependency
# cyclic dep: gnome-session -> gnome-settings-daemon -> gnome-session
#RUN_DEPENDS += x11/gnome/session
MODGNOME_DESKTOP_FILE= Yes
2011-12-03 17:17:15 -05:00
MODGNOME_ICON_CACHE= Yes
2011-09-12 03:28:52 -04:00
LIBTOOL_FLAGS= --tag=disable-static
MODGNOME_CPPFLAGS= -I${X11BASE}/include
2012-10-15 08:13:52 -04:00
MODGNOME_LDFLAGS= -L${X11BASE}/lib
2012-03-29 02:47:51 -04:00
CONFIGURE_ARGS= --disable-static \
2013-03-29 10:17:25 -04:00
--disable-gudev
2012-09-28 03:09:22 -04:00
FAKE_FLAGS= desktopdir=${PREFIX}/share/examples/gnome-settings-daemon/xdg/autostart \
sysconfdir=${PREFIX}/share/examples/gnome-settings-daemon \
DBUS_SYS_DIR=${PREFIX}/share/examples/gnome-settings-daemon/dbus-1/system.d
pre-configure:
perl -pi -e 's,/etc/xdg,${SYSCONFDIR}/xdg,g;' \
-e 's,/usr/share,${LOCALBASE}/share,g' \
${WRKSRC}/man/gnome-settings-daemon.xml
2012-09-28 04:28:02 -04:00
post-install:
${INSTALL_DATA} ${FILESDIR}/*.gschema.override \
${PREFIX}/share/glib-2.0/schemas
2012-09-28 04:28:02 -04:00
rm ${PREFIX}/lib/gnome-settings-daemon-3.0/*.la
.include <bsd.port.mk>