mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-17 07:45:47 +01:00
surf: Add soup3 patch conditionally
This patch is only needed when webkit is compiled with soup3 support Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Joshua Watt <JPEWhacker@gmail.com>
This commit is contained in:
parent
abea11781a
commit
e89b06a05a
|
|
@ -9,16 +9,20 @@ DEPENDS = "webkitgtk gtk+3 glib-2.0 gcr"
|
||||||
|
|
||||||
REQUIRED_DISTRO_FEATURES = "x11 opengl"
|
REQUIRED_DISTRO_FEATURES = "x11 opengl"
|
||||||
|
|
||||||
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"
|
SRCREV = "bcd7d74e613fb8af11b40c351f0a6c1a771b2d2b"
|
||||||
|
SRC_URI = "git://git.suckless.org/surf;branch=surf-webkit2 \
|
||||||
|
"
|
||||||
|
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"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
inherit pkgconfig features_check
|
inherit pkgconfig features_check
|
||||||
|
|
||||||
|
PACKAGECONFIG ?= ""
|
||||||
|
|
||||||
|
# Enable if soup3 is enabled in webkit recipe
|
||||||
|
PACKAGECONFIG[soup3] = ",,,"
|
||||||
|
|
||||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user