Hi,
here's a diff to enable video & audio support through gstreamer in
webkit. I didn't test it functionally yet (dunno if midori/kazehakase
support it), but it doesn't change their deps at least.
as a sidenote, i won't probably update webkit yet to 1.1.11, as it
depends on libsoup 2.27.4 - we'll probably wait for a 2.28.x branch
release for that.
comments on the diffs ? remarks, tests ?
Landry
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/webkit/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile 18 Jun 2009 20:09:20 -0000 1.15
+++ Makefile 5 Jul 2009 13:00:27 -0000
@@ -5,7 +5,7 @@
V = 1.1.10
DISTNAME = webkit-${V}
# XXX do not remove v0
-PKGNAME = webkit-${V}v0
+PKGNAME = webkit-${V}p0v0
CATEGORIES = www
HOMEPAGE = http://webkitgtk.org/
@@ -36,8 +36,6 @@
CONFIGURE_STYLE = gnu
-CONFIGURE_ARGS = --disable-video
-
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include/libpng
-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -lX11"
@@ -51,12 +49,17 @@
tasn1 z cairo pixman-1 png stdc++ xml2
LIB_DEPENDS =
gtk-x11-2.0,gdk-x11-2.0,gdk_pixbuf-2.0,gailutil::x11/gtk+2,-main \
+ gstreamer-0.10,gstbase-0.10::multimedia/gstreamer-0.10/core \
+ gstvideo-0.10::multimedia/gstreamer-0.10/plugins-base \
icudata,icui18n,icuuc::textproc/icu4c \
sqlite3::databases/sqlite3 \
xslt::textproc/libxslt \
enchant::textproc/enchant \
soup-2.4:libsoup->=2.26:devel/libsoup
+RUN_DEPENDS = ::multimedia/gstreamer-0.10/plugins-base,-ogg \
+ ::multimedia/gstreamer-0.10/plugins-base,-vorbis \
+ ::multimedia/gstreamer-0.10/plugins-base,-theora
BUILD_DEPENDS = ::devel/bison \
::devel/gperf