84 lines
2.5 KiB
Makefile
Executable File
84 lines
2.5 KiB
Makefile
Executable File
# $OpenBSD: Makefile,v 1.103 2013/04/16 11:40:58 ajacoutot Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= GNOME settings daemon
|
|
|
|
GNOME_PROJECT= gnome-settings-daemon
|
|
GNOME_VERSION= 3.8.1
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
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
|
|
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 \
|
|
x11/gnome
|
|
|
|
LIB_DEPENDS= devel/libnotify \
|
|
x11/gnome/desktop \
|
|
print/cups,-libs \
|
|
audio/pulseaudio \
|
|
audio/libcanberra,-gtk3 \
|
|
sysutils/upower \
|
|
graphics/colord \
|
|
inputmethods/ibus
|
|
|
|
BUILD_DEPENDS= devel/gsettings-desktop-schemas
|
|
RUN_DEPENDS= devel/gsettings-desktop-schemas
|
|
|
|
# man pages
|
|
BUILD_DEPENDS += textproc/docbook-xsl
|
|
|
|
# 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
|
|
MODGNOME_ICON_CACHE= Yes
|
|
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
|
|
|
MODGNOME_CPPFLAGS= -I${X11BASE}/include
|
|
MODGNOME_LDFLAGS= -L${X11BASE}/lib
|
|
|
|
CONFIGURE_ARGS= --disable-static \
|
|
--disable-gudev
|
|
|
|
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
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${FILESDIR}/*.gschema.override \
|
|
${PREFIX}/share/glib-2.0/schemas
|
|
rm ${PREFIX}/lib/gnome-settings-daemon-3.0/*.la
|
|
|
|
.include <bsd.port.mk>
|