openbsd-ports/x11/gnome/session/Makefile
2010-11-22 08:36:47 +00:00

66 lines
2.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.133 2010/11/22 08:36:58 espie Exp $
COMMENT= GNOME session
GNOME_PROJECT= gnome-session
GNOME_VERSION= 2.32.1
REVISION= 0
CATEGORIES= x11
# XXX when bug-buddy is installed, all debug messages are print in
# .xsession, we do not want that
MASTER_SITES0= http://www.bsdfrog.org/OpenBSD/distfiles/
PATCHFILES= gs-bug-buddy-debug.diff:0
PATCH_DIST_STRIP= -p1
# GPLv2/LGPLv2/GFDLv1.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender Xtst atk-1.0
WANTLIB += c cairo dbus-1 dbus-glib-1 expat fontconfig freetype
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs
WANTLIB += z xcb-render execinfo xcb GL Xxf86vm drm xcb-shm
MODULES= devel/gettext \
x11/gnome \
devel/gconf2
BUILD_DEPENDS= textproc/rarian \
textproc/xmlto \
x11/gnome/settings-daemon
LIB_DEPENDS= devel/libexecinfo
RUN_DEPENDS= x11/gnome/settings-daemon \
sysutils/consolekit
# polkit-gnome isn't really *required* but then we will loose the polkit
# auth. dialog ; same for gconf2-polkit, gconf2 and polkit are already
# dependencies and we want to be able to handle system-wide gconf entries.
# This should really be a dep. of a "gnome" metapackage.
RUN_DEPENDS+= x11/polkit-gnome
RUN_DEPENDS+= devel/gconf2,-polkit
DESKTOP_FILES= Yes
MODGCONF2_SCHEMAS_DIR= gnome-session
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-rebuilds
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lexecinfo"
USE_GROFF = Yes
# XXX gconf2 MODULE changes this value but gsm-gconf.c uses this to
# find the right path for gconftool-2
CONFIGURE_ENV+= GCONFTOOL=${LOCALBASE}/bin/gconftool-2
MAKE_FLAGS= XSLTPROC="${LOCALBASE}/bin/xsltproc -nonet"
.include <bsd.port.mk>