openbsd-ports/x11/xfce4/xfce4-session/Makefile
landry 6d36d1f5a1 Fix https://bugzilla.xfce.org/show_bug.cgi?id=8857, session wasn't
always properly saved when rebooting or shutting down from the
xfce4-session-logout dialog or the actions panel plugin.
2012-08-06 13:28:15 +00:00

47 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.60 2012/08/06 13:28:15 landry Exp $
COMMENT= Xfce4 session manager
XFCE_PROJECT= xfce4-session
REVISION= 2
SHARED_LIBS += xfsm-4.6 1.0 # .0.0
# GPLv2
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
MODULES= x11/xfce4
MODXFCE_DESKTOP_FILE= Yes
MODXFCE_ICON_CACHE= Yes
CONFIGURE_ENV= ac_cv_header_sys_user_h=yes
CONFIGURE_ARGS= --disable-linker-opts \
--with-xsession-prefix=${PREFIX}
#CONFIGURE_ARGS+= --enable-session-screenshots
#XXX session-screenshots broken?
# http://bugzilla.xfce.org/show_bug.cgi?id=6885
LIB_DEPENDS= x11/xfce4/libxfce4ui>=4.9.0\
x11/xfce4/xfconf>=4.9.0 \
devel/libwnck
WANTLIB += GL ICE SM X11 X11-xcb XRes Xau Xcomposite Xcursor Xdamage
WANTLIB += Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm
WANTLIB += atk-1.0 c cairo dbus-1 dbus-glib-1 drm expat ffi fontconfig
WANTLIB += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += gmodule-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0 m pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread
WANTLIB += pthread-stubs startup-notification-1 wnck-1 xcb xcb-aux
WANTLIB += xcb-render xcb-shm stdc++ xfce4ui-1 xfce4util xfconf-0 z
FAKE_FLAGS= settingsdir=${PREFIX}/share/examples/xfce4-session \
conffilesdir=${PREFIX}/share/examples/xfce4-session \
autostartdir=${PREFIX}/share/examples/xfce4-session
post-install:
${SUBST_CMD} ${PREFIX}/bin/xflock4
.include <bsd.port.mk>