--- libproxy-0.4.7.ebuild 2012-04-18 22:15:58.000000000 +0200 +++ libproxy-0.4.7-r1.ebuild 2012-04-18 22:14:29.000000000 +0200 @@ -14,9 +14,8 @@ LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-linux" -IUSE="gnome kde mono networkmanager perl python test" +IUSE="gnome kde mono networkmanager perl python test webkit" -# FIXME: Disable webkit support due problems like bug #366791 # FIXME: Also disable xulrunner support due bug #360893, will be readded # in the future when only spidermonkey mozjs is provided. # NOTE: USE=xulrunner also causes problems like bug 373397, re-add carefully. @@ -25,10 +24,11 @@ kde? ( >=kde-base/kdelibs-4.4.5 ) mono? ( dev-lang/mono ) networkmanager? ( net-misc/networkmanager ) - perl? ( dev-lang/perl )" -# xulrunner? ( >=net-libs/xulrunner-1.9.1:1.9 ) -# webkit? ( net-libs/webkit-gtk:2 ) + perl? ( dev-lang/perl ) + webkit? ( || ( net-libs/webkit-gtk:3 + net-libs/webkit-gtk:2 ) )" # Since 0.4.7, webkit gtk3 support is also available +# xulrunner? ( >=net-libs/xulrunner-1.9.1:1.9 ) DEPEND="${RDEPEND} dev-util/pkgconfig" @@ -56,12 +56,11 @@ $(cmake-utils_use_with perl PERL) $(cmake-utils_use_with python PYTHON) -DWITH_VALA=ON - -DWITH_WEBKIT=OFF - -DWITH_WEBKIT3=OFF -DWITH_MOZJS=OFF + $(cmake-utils_use_with webkit WEBKIT) + $(cmake-utils_use_with webkit WEBKIT3) $(cmake-utils_use test BUILD_TESTING) ) - #$(cmake-utils_use_with webkit WEBKIT) #$(cmake-utils_use_with xulrunner MOZJS) cmake-utils_src_configure }