83 lines
2.8 KiB
Text
83 lines
2.8 KiB
Text
# $NetBSD: Makefile.common,v 1.28 2013/12/11 07:56:26 wiz Exp $
|
|
# used by www/webkit-gtk/Makefile
|
|
# used by www/webkit-gtk3/Makefile
|
|
|
|
DISTNAME= webkitgtk-1.10.2
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.webkitgtk.org/releases/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
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
|
|
USE_TOOLS+= bison gmake perl:build pkg-config msgfmt
|
|
|
|
PKGCONFIG_OVERRIDE= Source/WebKit/gtk/webkit.pc.in
|
|
|
|
MAKE_FILE= GNUmakefile
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-target=x11 \
|
|
--with-font-backend=freetype
|
|
CONFIGURE_ARGS+= --disable-geolocation
|
|
|
|
.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
|
|
|
|
.include "../../lang/ruby/rubyversion.mk"
|
|
BUILD_DEPENDS+= ${RUBY_BASE}>=${RUBY_VERSION}:../../lang/${RUBY_BASE}
|
|
CONFIGURE_ENV+= RUBY=${RUBY}
|
|
|
|
PYTHON_FOR_BUILD_ONLY= yes
|
|
.include "../../lang/python/application.mk"
|
|
CONFIGURE_ENV+= PYTHON=${PYTHONBIN}
|
|
|
|
CXXFLAGS.SunOS+= -fpermissive
|
|
|
|
.include "../../mk/compiler.mk"
|
|
.if !empty(PKGSRC_COMPILER:Mclang)
|
|
CXXFLAGS+= -std=c++11 -Wno-c++11-narrowing
|
|
.endif
|
|
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.32.1
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
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
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.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"
|
|
BUILDLINK_API_DEPENDS.gst-plugins0.10-base+= gst-plugins0.10-base>=0.10.30
|
|
.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.libsoup24+= libsoup24>=2.42.2nb3
|
|
.include "../../net/libsoup24/buildlink3.mk"
|
|
.include "../../textproc/enchant/buildlink3.mk"
|
|
.include "../../textproc/icu/buildlink3.mk"
|
|
.include "../../textproc/libxslt/buildlink3.mk"
|
|
.include "../../x11/libXdamage/buildlink3.mk"
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|