freebsd-ports/graphics/clutter/Makefile
Koop Mast a5f590e51d The FreeBSD GNOME team presents a Glib and Gtk+ 3 update.
This update updates Glib20 to 2.36 and Gtk+ 3.8

* The gio-fam-backend port that used gamin for the GFileMonitor API is gone.
  It is replaced by a GIO kqueue implementation developed as part of a NetBSD
  GSoC 2011 project by Dimitry Matveev.
* Fix a bug in the glib20 Makefile so it includes -lintl in the glib-2.0
  pkgconfig file [1]. This broke static linking and newer binutils.
* Add introspection USE_GNOME component which sets GI_SCANNER_DISABLE_CACHE to
  prevent creation of /  root/.cache dir. Defaults to build & run depend,
  but :build and :run switches available.
* New x11-toolkits/pangox-compat port and companion USE_GNOME component for
  pangox support which was removed from the pango port. Add it to ports still
  using pangox API.

Exp-run by:	bapt@
PR:		ports/178958 [1]
Submitted by:	emaste@ [1]
2013-07-31 11:57:45 +00:00

43 lines
1.2 KiB
Makefile

# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/graphics/clutter/Makefile,v 1.34 2010/09/24 16:35:42 kwm Exp $
PORTNAME= clutter
PORTVERSION= 1.4.0
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= GNOME \
http://source.clutter-project.org/sources/${PORTNAME}/${PORTVERSION:R}/
MAINTAINER= gnome@FreeBSD.org
COMMENT= OpenGL based interactive canvas library
LIB_DEPENDS= json-glib-1.0:${PORTSDIR}/devel/json-glib
LICENSE= LGPL21
USES= pkgconfig gettext
USE_GMAKE= yes
USE_BZIP2= yes
USE_AUTOTOOLS= libtool
USE_GNOME= gdkpixbuf2 gnomehack ltverhack gnomeprefix atk pango
USE_GL= gl
USE_XORG= glproto x11 xfixes xdamage xcomposite xi
USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-x --enable-conformance=no
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
post-patch:
@${REINPLACE_CMD} -e 's|G_CONST_RETURN|const|g' \
${WRKSRC}/clutter/cally/*.c \
${WRKSRC}/clutter/*.[ch] \
${WRKSRC}/clutter/glx/*.c \
${WRKSRC}/clutter/x11/*.h \
${WRKSRC}/clutter/cogl/cogl/*.h \
${WRKSRC}/clutter/json/*.c
@${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
${WRKSRC}/clutter/Makefile.in
.include <bsd.port.mk>