diff options
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-graphics/surf/surf_2.1.bb')
-rw-r--r-- | meta-openembedded/meta-oe/recipes-graphics/surf/surf_2.1.bb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/meta-openembedded/meta-oe/recipes-graphics/surf/surf_2.1.bb b/meta-openembedded/meta-oe/recipes-graphics/surf/surf_2.1.bb index 710ed9bce9..51c14624af 100644 --- a/meta-openembedded/meta-oe/recipes-graphics/surf/surf_2.1.bb +++ b/meta-openembedded/meta-oe/recipes-graphics/surf/surf_2.1.bb @@ -9,16 +9,20 @@ DEPENDS = "webkitgtk gtk+3 glib-2.0 gcr" REQUIRED_DISTRO_FEATURES = "x11 opengl" +SRCREV = "bcd7d74e613fb8af11b40c351f0a6c1a771b2d2b" SRC_URI = "git://git.suckless.org/surf;branch=surf-webkit2 \ - file://0001-config.mk-Fix-compiler-and-linker.patch \ - file://0001-config.ml-make-compatible-with-webkitgtk-2.34.0.patch \ " -SRCREV = "bcd7d74e613fb8af11b40c351f0a6c1a771b2d2b" +SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'soup3', 'file://0001-config.mk-Fix-compiler-and-linke,ig.ml-make-compatible-with-webkitgtk-2.34.0.patch', '', d)}" S = "${WORKDIR}/git" inherit pkgconfig features_check +PACKAGECONFIG ?= "" + +# Enable if soup3 is enabled in webkit recipe +PACKAGECONFIG[soup3] = ",,," + TARGET_CC_ARCH += "${LDFLAGS}" do_install () { |