Skip to content

Commit

Permalink
Add wpewebkit 2.42.2
Browse files Browse the repository at this point in the history
  • Loading branch information
woutervanh committed Dec 12, 2023
1 parent 799628c commit c92095d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions recipes-browser/wpewebkit/wpewebkit_2.42.2.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
require wpewebkit.inc
require conf/include/devupstream.inc

FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz;name=tarball \
file://0001-FELightningNEON.cpp-fails-to-build-NEON-fast-path-se.patch \
"

SRC_URI[tarball.sha256sum] = "df99bbc7007df60d77821e4c169312464f145c8aa6e34398a43da36a857285e8"

DEPENDS += " libwpe"
RCONFLICTS:${PN} = "libwpe (< 1.12)"

# documentation: Needed from 2.38
PACKAGECONFIG[documentation] = "-DENABLE_DOCUMENTATION=ON,-DENABLE_DOCUMENTATION=OFF, gi-docgen-native gi-docgen"

# introspection: Needed from 2.38
PACKAGECONFIG[introspection] = "-DENABLE_INTROSPECTION=ON,-DENABLE_INTROSPECTION=OFF, gobject-introspection-native"

# webgl2: Activated by default from >2.38
PACKAGECONFIG:append = " webgl2"

# TODO: documentation and introspection are disabled by default because the are
# causing cross-compiling build errors
# PACKAGECONFIG:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'documentation', '' ,d)} introspection"

# Layer-Based SVG Engine
PACKAGECONFIG[lbse] = "-DENABLE_LAYER_BASED_SVG_ENGINE=ON,-DENABLE_LAYER_BASED_SVG_ENGINE=OFF, "

# unifdef-native: Needed since >2.38.
DEPENDS:append = " unifdef-native"

#jpegxl
DEPENDS:append = " libjxl"

0 comments on commit c92095d

Please sign in to comment.