update: webkitgtk and libwpe

This commit is contained in:
ngn 2024-08-23 14:57:25 +03:00
parent 5b3c74344e
commit 1fedbf510f
4 changed files with 46 additions and 27 deletions

View File

@ -1,2 +1,5 @@
# 1.14.2
Updated to the latest upstream release
# 1.14.1 # 1.14.1
First version First version

View File

@ -1,19 +1,24 @@
NAME="libwpe" NAME="libwpe"
DESC="General purpose library for WPE WebKit and the WPE Renderer" DESC="General purpose library for WPE WebKit and the WPE Renderer"
VERSION="1.14.1" VERSION="1.14.2"
FILES=("https://wpewebkit.org/releases/libwpe-$VERSION.tar.xz")
HASHES=("d834d70a6b3afb24a05ec188df248e52") FILES=("https://wpewebkit.org/releases/libwpe-${VERSION}.tar.xz")
DEPENDS=("libxkbcommon" "gcc-libs") HASHES=("61840e24ba0a0f5828194dff28db92ee")
DEPENDS=("libxkbcommon" "gcc-libs" "libglvnd")
BUILD=("mesa" "meson")
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.xz tar xf "${NAME}-${VERSION}.tar.xz"
cd $NAME-$VERSION cd "${NAME}-${VERSION}"
mkdir build mkdir build
cd build cd build
meson setup --prefix="$ROOTDIR/usr" --buildtype=release .. meson setup --prefix=/usr \
ninja && ninja install --buildtype=release ..
ninja
DESTDIR="${ROOTDIR}" ninja install
cd ../.. && rm -r $NAME-$VERSION cd ../.. && rm -r "${NAME}-${VERSION}"
} }

View File

@ -1,2 +1,5 @@
# 2.42.5
Updated to a newer upstream release
# 2.41.91 # 2.41.91
First version First version

View File

@ -1,23 +1,29 @@
NAME="webkitgtk" NAME="webkitgtk"
DESC="Port of the portable web rendering engine WebKit to the GTK3 and GTK4 platforms" DESC="Port of the portable web rendering engine WebKit to the GTK3 and GTK4 platforms"
VERSION="2.41.91" VERSION="2.42.5"
FILES=("https://webkitgtk.org/releases/webkitgtk-$VERSION.tar.xz")
HASHES=("1140f86d9044fb76be974b65f71737d7") FILES=("https://webkitgtk.org/releases/webkitgtk-${VERSION}.tar.xz")
HASHES=("9cf27d88b55e5b8168f4835b17ea6fd0")
DEPENDS=( DEPENDS=(
"cairo" "gst-plugins-base" "gst-plugins-bad" "cairo" "gst-plugins-base" "gst-plugins-bad"
"gtk4" "gtk3" "icu" "lcms2" "libgudev" "libsecret" "gtk4" "gtk3" "icu" "lcms2" "libgudev" "libsecret"
"libsoup" "libtasn1" "mesa" "openjpeg" "ruby" "libsoup" "libtasn1" "mesa" "openjpeg"
"sqlite" "unifdef" "which" "wpebackend-fdo" "sqlite" "unifdef" "which" "wpebackend-fdo"
"bubblewrap" "enchant" "geoclue" "libwebp" "bubblewrap" "enchant" "geoclue" "libwebp"
"hicolor-icon-theme" "libavif" "xdg-dbus-proxy" "hicolor-icon-theme" "libavif" "xdg-dbus-proxy"
"wayland" "harfbuzz" "woff2" "harfbuzz" "woff2" "libwpe" "gtk4"
)
BUILD=(
"cmake" "gobject-introspection" "glib"
"ninja" "python3" "ruby" "systemd"
) )
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.xz tar xf "${NAME}-${VERSION}.tar.xz"
cd $NAME-$VERSION cd "${NAME}-${VERSION}"
mkdir -vp build mkdir -pv build
cd build cd build
cmake -DCMAKE_BUILD_TYPE=Release \ cmake -DCMAKE_BUILD_TYPE=Release \
@ -29,21 +35,23 @@ PACKAGE() {
-DENABLE_GAMEPAD=OFF \ -DENABLE_GAMEPAD=OFF \
-DENABLE_MINIBROWSER=ON \ -DENABLE_MINIBROWSER=ON \
-DENABLE_DOCUMENTATION=OFF \ -DENABLE_DOCUMENTATION=OFF \
-DUSE_WOFF2=ON \ -DUSE_WOFF2=OFF \
-DUSE_GTK4=ON \ -DUSE_GTK4=ON \
-DUSE_JPEGXL=OFF \
-DUSE_WPE_RENDERER=ON \ -DUSE_WPE_RENDERER=ON \
-DUSE_JPEGXL=OFF \
-DENABLE_BUBBLEWRAP_SANDBOX=ON \ -DENABLE_BUBBLEWRAP_SANDBOX=ON \
-Wno-dev -G Ninja .. -Wno-dev -G Ninja ..
ninja $MAKEFLAGS && DESTDIR="$ROOTDIR" ninja install
install -vdm755 "$ROOTDIR"/usr/share/gtk-doc/html/{jsc-glib,webkit2gtk{,-web-extension}}-4.1 ninja
DESTDIR="${ROOTDIR}" ninja install
install -vdm755 "${ROOTDIR}/usr/share/gtk-doc/html/"{jsc-glib,webkit2gtk{,-web-extension}}-4.1
install -vm644 ../Documentation/jsc-glib-4.1/* \ install -vm644 ../Documentation/jsc-glib-4.1/* \
"$ROOTDIR"/usr/share/gtk-doc/html/jsc-glib-4.1 "${ROOTDIR}/usr/share/gtk-doc/html/jsc-glib-4.1"
install -vm644 ../Documentation/webkit2gtk-4.1/* \ install -vm644 ../Documentation/webkit2gtk-4.1/* \
"$ROOTDIR"/usr/share/gtk-doc/html/webkit2gtk-4.1 "${ROOTDIR}/usr/share/gtk-doc/html/webkit2gtk-4.1"
install -vm644 ../Documentation/webkit2gtk-web-extension-4.1/* \ install -vm644 ../Documentation/webkit2gtk-web-extension-4.1/* \
"$ROOTDIR"/usr/share/gtk-doc/html/webkit2gtk-web-extension-4.1 "${ROOTDIR}/usr/share/gtk-doc/html/webkit2gtk-web-extension-4.1"
cd ../.. && rm -r $NAME-$VERSION cd ../.. && rm -r "${NAME}-${VERSION}"
} }