openbsd-ports/x11/gtk+3/Makefile
ajacoutot ae1e1d4299 Update to gtk+3-3.0.4.
* New style classes for 'inline' toolbars and sidebars
  have been added

* Theming fixes and enhancement in many widgets, including
  GtkRange, GtkFileChooser, GtkNotebook, GtkTreeview and
  GtkRadioButton

* Bugs fixed:
 640692 GtkNotebook has wrong background colour when border and tabs...
 642712 improve the file chooser design
 644836 gdk_keyval_to_unicode returns incorrect value for keyval = Return
 644975 styleproperties: make sure to merge the font descriptions right
 644976 Fix "backspace", "enter", "escape" input.
 645057 ./configure fails on gtk+3.0 git head
 645134 switch: fix boundaries for the switch motion
 645172 radiobutton: don't forget to set the insensitive state when...
 645234 Leaky calls to gdk_device_manager_list_devices()
 645235 Free the motion hint infos in GdkDisplay
 645405 themingengine: don't hardcode white to draw insensitive...
 635254 Check whether a resolution is set in GtkPrintSettings before...

* Translation updates
2011-03-21 18:41:00 +00:00

97 lines
2.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.4 2011/03/21 18:41:00 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT-main= multi-platform graphical toolkit
COMMENT-docs= gtk+3 documentation
COMMENT-cups= gtk+3 CUPS print backend
V= 3.0.4
DISTNAME= gtk+-${V}
PKGNAME-main= gtk+3-${V}
PKGNAME-docs= gtk+3-docs-${V}
PKGNAME-cups= gtk+3-cups-${V}
CATEGORIES= x11 devel
SHARED_LIBS += gdk-3 0.0 # 0.4
SHARED_LIBS += gtk-3 0.0 # 0.4
SHARED_LIBS += gailutil-3 0.0 # 0.0
HOMEPAGE= http://www.gtk.org/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes Xi
WANTLIB += Xinerama Xrandr Xrender cairo expat fontconfig freetype
WANTLIB += gthread-2.0 m pcre pixman-1 pthread-stubs xcb gio-2.0
WANTLIB += xcb-render z gdk_pixbuf-2.0 GL Xxf86vm drm xcb-shm png
WANTLIB += gmodule-2.0 gobject-2.0 atk-1.0 cairo-gobject glib-2.0
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk+/${V:C/^([0-9]+\.[0-9]+).*/\1/}/}
EXTRACT_SUFX= .tar.bz2
MULTI_PACKAGES= -main -docs -cups
MODULES= devel/gettext
RUN_DEPENDS-main= ${RUN_DEPENDS} \
x11/hicolor-icon-theme \
misc/shared-mime-info
LIB_DEPENDS-main= ${LIB_DEPENDS} \
devel/glib2>=2.28.0 \
devel/pango \
devel/atk \
graphics/gdk-pixbuf2
WANTLIB-main += ${WANTLIB}
WANTLIB-main += c pthread
LIB_DEPENDS-docs=
RUN_DEPENDS-docs=
WANTLIB-docs +=
PKG_ARCH-docs= *
LIB_DEPENDS-cups= ${LIB_DEPENDS} \
print/cups \
STEM->=${V}:${BASE_PKGPATH},-main
WANTLIB-cups += ${WANTLIB}
WANTLIB-cups += asn1 crypto cups gdk-3 gssapi gtk-3 krb5 ssl
USE_GMAKE= Yes
USE_LIBTOOL= Yes
REGRESS_IS_INTERACTIVE= x11
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include/freetype2/ \
-I${LOCALBASE}/include \
-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-gtk-doc \
--disable-introspection \
--disable-silent-rules \
--disable-man \
--disable-papi \
--disable-packagekit \
--without-xml-catalog
# Do not build gtk-update-icon-cache and other shared tools.
CONFIGURE_ARGS += --enable-gtk2-dependency
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS += x11/gtk+2
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/gtk+3
.include <bsd.port.mk>