2014-05-09 09:36:53 +02:00
|
|
|
# $NetBSD: Makefile.common,v 1.32 2014/05/09 07:37:26 wiz Exp $
|
2011-08-21 15:26:41 +02:00
|
|
|
# used by www/webkit-gtk/Makefile
|
|
|
|
# used by www/webkit-gtk3/Makefile
|
|
|
|
|
2013-04-10 13:16:39 +02:00
|
|
|
DISTNAME= webkitgtk-1.10.2
|
2011-08-21 15:26:41 +02:00
|
|
|
CATEGORIES= www
|
2012-04-28 16:12:16 +02:00
|
|
|
MASTER_SITES= http://www.webkitgtk.org/releases/
|
2012-02-04 14:24:35 +01:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
2011-08-21 15:26:41 +02:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.webkitgtk.org/
|
|
|
|
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../www/webkit-gtk/distinfo
|
|
|
|
PATCHDIR= ${.CURDIR}/../../www/webkit-gtk/patches
|
|
|
|
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_LIBTOOL= yes
|
2011-12-28 23:35:28 +01:00
|
|
|
USE_TOOLS+= bison gmake perl:build pkg-config msgfmt
|
2011-08-21 15:26:41 +02:00
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE= Source/WebKit/gtk/webkit.pc.in
|
|
|
|
|
|
|
|
MAKE_FILE= GNUmakefile
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-target=x11 \
|
|
|
|
--with-font-backend=freetype
|
2012-04-28 16:12:16 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-geolocation
|
2011-10-07 14:17:25 +02:00
|
|
|
|
2011-08-21 15:26:41 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
REPLACE_PERL+= Source/JavaScriptCore/create_hash_table \
|
|
|
|
Source/WebCore/bindings/scripts/generate-bindings.pl \
|
|
|
|
Source/WebCore/bindings/scripts/InFilesParser.pm \
|
|
|
|
Source/WebCore/platform/text/mac/make-charset-table.pl \
|
|
|
|
Source/WebCore/css/*.pl \
|
|
|
|
Source/WebCore/dom/*.pl \
|
|
|
|
Source/WebCore/inspector/xxd.pl \
|
|
|
|
Source/WebCore/make-hash-tools.pl \
|
|
|
|
Source/WebCore/platform/text/mac/*.pl
|
|
|
|
|
2012-12-19 09:14:42 +01:00
|
|
|
.include "../../lang/ruby/rubyversion.mk"
|
2014-03-13 18:06:42 +01:00
|
|
|
BUILD_DEPENDS+= ${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR}
|
2012-12-19 09:14:42 +01:00
|
|
|
CONFIGURE_ENV+= RUBY=${RUBY}
|
2012-10-30 13:46:30 +01:00
|
|
|
|
2012-01-27 07:36:57 +01:00
|
|
|
PYTHON_FOR_BUILD_ONLY= yes
|
2014-05-09 09:36:53 +02:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 1.10.2
|
2011-08-21 15:26:41 +02:00
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
CONFIGURE_ENV+= PYTHON=${PYTHONBIN}
|
|
|
|
|
2013-02-23 10:27:09 +01:00
|
|
|
CXXFLAGS.SunOS+= -fpermissive
|
|
|
|
|
2013-05-09 16:04:42 +02:00
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if !empty(PKGSRC_COMPILER:Mclang)
|
|
|
|
CXXFLAGS+= -std=c++11 -Wno-c++11-narrowing
|
|
|
|
.endif
|
|
|
|
|
2014-01-22 16:21:23 +01:00
|
|
|
.if !empty(MACHINE_PLATFORM:MSunOS-*-x86_64)
|
|
|
|
CONFIGURE_ARGS+= --disable-fast-malloc
|
|
|
|
.endif
|
|
|
|
|
2012-04-30 15:57:02 +02:00
|
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.32.1
|
2012-08-27 16:11:13 +02:00
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
2013-06-09 15:22:55 +02:00
|
|
|
BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=0.9.5
|
|
|
|
BUILDLINK_DEPMETHOD.gobject-introspection+= build
|
|
|
|
.include "../../devel/gobject-introspection/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --enable-introspection
|
2011-10-07 14:17:25 +02:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2011-08-21 15:26:41 +02:00
|
|
|
.include "../../databases/sqlite3/buildlink3.mk"
|
|
|
|
.include "../../devel/flex/buildlink3.mk"
|
|
|
|
.include "../../devel/gperf/buildlink3.mk"
|
|
|
|
# This is optional, but needs testing.
|
|
|
|
#.include "../../devel/pango/buildlink3.mk"
|
|
|
|
# A correct Webkit build requires flex 2.5.33
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
|
|
BUILDLINK_API_DEPENDS.png+= png>=1.5.1beta08
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../multimedia/gstreamer0.10/buildlink3.mk"
|
2012-01-19 16:00:35 +01:00
|
|
|
BUILDLINK_API_DEPENDS.gst-plugins0.10-base+= gst-plugins0.10-base>=0.10.30
|
2011-08-21 15:26:41 +02:00
|
|
|
.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
|
2013-06-10 10:38:52 +02:00
|
|
|
BUILDLINK_API_DEPENDS.libsoup24+= libsoup24>=2.42.2nb3
|
2011-08-21 15:26:41 +02:00
|
|
|
.include "../../net/libsoup24/buildlink3.mk"
|
|
|
|
.include "../../textproc/enchant/buildlink3.mk"
|
|
|
|
.include "../../textproc/icu/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxslt/buildlink3.mk"
|
2012-12-31 01:34:37 +01:00
|
|
|
.include "../../x11/libXdamage/buildlink3.mk"
|
2011-08-21 15:26:41 +02:00
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|