openbsd-ports/x11/gnome/desktop/Makefile
2011-09-12 12:04:16 +00:00

48 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.73 2011/09/12 12:04:16 jasper Exp $
SHARED_ONLY= Yes
COMMENT= components for the GNOME desktop
GNOME_PROJECT= gnome-desktop
GNOME_VERSION= 3.0.2
SHARED_LIBS += gnome-desktop-3 0.0 # 0.9
CATEGORIES= x11
# LGPLv2/GFDLv1.1/GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
EXTRACT_SUFX= .tar.bz2
WANTLIB += GL ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0
WANTLIB += cairo cairo-gobject drm execinfo expat fontconfig freetype
WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gthread-2.0 gtk-3 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 png pthread-stubs startup-notification-1
WANTLIB += xcb xcb-atom xcb-aux xcb-event xcb-render xcb-shm z
MODULES= devel/gettext \
x11/gnome
BUILD_DEPENDS= devel/gobject-introspection \
devel/gsettings-desktop-schemas
RUN_DEPENDS= devel/gsettings-desktop-schemas
LIB_DEPENDS= devel/startup-notification \
x11/gtk+3
MODGNOME_HELP_FILES= Yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --with-gnome-distributor="OpenBSD Ports" \
--disable-gtk-doc \
--enable-introspection
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>