summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2008-07-28 04:08:13 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2008-07-28 04:08:13 +0800
commitd12daa6236579c43a212b032f4a994ff19f1e5fb (patch)
tree485c8aa09d2b6ff478dcc03e2d39d4d612192789
parent0124c6ca59ebe94e5810371dd84ba231ca945608 (diff)
downloadmarcuscom-ports-d12daa6236579c43a212b032f4a994ff19f1e5fb.tar
marcuscom-ports-d12daa6236579c43a212b032f4a994ff19f1e5fb.tar.gz
marcuscom-ports-d12daa6236579c43a212b032f4a994ff19f1e5fb.tar.bz2
marcuscom-ports-d12daa6236579c43a212b032f4a994ff19f1e5fb.tar.lz
marcuscom-ports-d12daa6236579c43a212b032f4a994ff19f1e5fb.tar.xz
marcuscom-ports-d12daa6236579c43a212b032f4a994ff19f1e5fb.tar.zst
marcuscom-ports-d12daa6236579c43a212b032f4a994ff19f1e5fb.zip
Make video optional to cut down on gnome-depends
PR: ports/124302 Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11191 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--www/webkit-gtk2/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/www/webkit-gtk2/Makefile b/www/webkit-gtk2/Makefile
index 73ad99b9d..79dc70408 100644
--- a/www/webkit-gtk2/Makefile
+++ b/www/webkit-gtk2/Makefile
@@ -3,12 +3,12 @@
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD: ports/www/webkit-gtk2/Makefile,v 1.2 2008/03/31 10:33:05 ahze Exp $
-# $MCom: ports/www/webkit-gtk2/Makefile,v 1.16 2008/07/22 18:34:39 marcus Exp $
+# $MCom: ports/www/webkit-gtk2/Makefile,v 1.17 2008/07/23 01:14:28 marcus Exp $
#
PORTNAME= webkit
PORTVERSION= 1.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://people.freedesktop.org/~alp/webkit/gtk/
PKGNAMESUFFIX= -gtk2
@@ -20,18 +20,18 @@ LIB_DEPENDS= icutu.38:${PORTSDIR}/devel/icu \
curl.4:${PORTSDIR}/ftp/curl \
sqlite3.8:${PORTSDIR}/databases/sqlite3
+OPTIONS= VIDEO "Enable video support" on
+WANT_GSTREAMER= yes
USE_BISON= build
USE_GMAKE= yes
USE_GNOME= gnometarget gtk20 libxslt
USE_PERL5= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= autoconf:261 automake:110 libtool:15
-USE_GSTREAMER= gnomevfs
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-webkit-target=x11 \
--enable-icon-database \
- --enable-video \
--enable-svg \
--enable-svg-fonts \
--enable-svg-experimental
@@ -42,6 +42,11 @@ BROWSER_PLUGINS_DIR?= ${LOCALBASE}/lib/browser_plugins
.include <bsd.port.pre.mk>
+.if defined(WITH_VIDEO)
+USE_GSTREAMER+= gnomevfs
+CONFIGURE_ARGS+=--enable-video
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|%%BROWSER_PLUGINS_DIR%%|${BROWSER_PLUGINS_DIR}|' \
${WRKSRC}/WebCore/plugins/PluginDatabase.cpp