diff options
author | Danny Rawlins <contact@romster.me> | 2020-11-09 20:14:31 +1100 |
---|---|---|
committer | Danny Rawlins <contact@romster.me> | 2020-11-09 20:14:45 +1100 |
commit | 668a4103878637419c9280506bc1d129cc0e8d85 (patch) | |
tree | 97a061a3a01167eaca56feb168076cc2d9efa375 /webkitgtk | |
parent | 5bffad7f933ec7ee2b78c2a4d2b159ebbba18fa1 (diff) | |
download | opt-668a4103878637419c9280506bc1d129cc0e8d85.tar.gz opt-668a4103878637419c9280506bc1d129cc0e8d85.tar.xz |
webkitgtk: move xdg-dbus-proxy and bubblewrap to optional, cmake cleanup
Diffstat (limited to 'webkitgtk')
-rw-r--r-- | webkitgtk/.signature | 4 | ||||
-rw-r--r-- | webkitgtk/Pkgfile | 28 |
2 files changed, 18 insertions, 14 deletions
diff --git a/webkitgtk/.signature b/webkitgtk/.signature index 2d7ee9187..0374e94b0 100644 --- a/webkitgtk/.signature +++ b/webkitgtk/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/dqQfeeqNMU8FsXMeY7tR84VV2uY5+rmUFPUPMei2NDADAz3VNWoXIsWOU5Z/DTc0jBGuiYOGYb2IqMEEH3vrQk= -SHA256 (Pkgfile) = 920121cb86bce7180ce2782b5b4ff7a595978a7fc311f6cf8072853ecbc18b00 +RWSE3ohX2g5d/ZwkOlc/5KcsxlBA4Nb2Ukpvcg6B5gQugXXSwbyvZ1BqlYJOcK1RgWAR0iFNXVdrrzcBIG3TybF7yAeore10Ugc= +SHA256 (Pkgfile) = 709ae3935e8714017bd937fb2de6204faacc16ede4a3cd1f6193bc0d86b05565 SHA256 (.footprint) = e8689fde7df02e6c84c61abaa82f57f6b94fb30ae4901c7cf74087f81170d77a SHA256 (webkitgtk-2.30.2.tar.xz) = c467e0bc2bc610c2570928e3fd63cedaadc4719cbf9b04aa99f79dd71ad5682a diff --git a/webkitgtk/Pkgfile b/webkitgtk/Pkgfile index 52d98306c..39076b828 100644 --- a/webkitgtk/Pkgfile +++ b/webkitgtk/Pkgfile @@ -1,8 +1,8 @@ # Description: Small, efficient and fast rendering engine for Web Browsers. # URL: https://www.webkitgtk.org/ # Maintainer: Danny Rawlins, crux at romster dot me -# Depends on: bubblewrap gst-plugins-base gtk gtk3 harfbuzz-icu hyphen libseccomp libsecret libsoup libwebp libxslt ruby woff2 xdg-dbus-proxy xorg-libxt -# Optional: enchant libnotify geoclue openjpeg2 +# Depends on: gst-plugins-base gtk gtk3 harfbuzz-icu hyphen libseccomp libsecret libsoup libwebp libxslt ruby woff2 xorg-libxt +# Optional: enchant libnotify geoclue openjpeg2 xdg-dbus-proxy bubblewrap name=webkitgtk version=2.30.2 @@ -17,17 +17,21 @@ build() { prt-get isinst enchant || PKGMK_WEBKITGTK+=' -DENABLE_SPELLCHECK=OFF' prt-get isinst libnotify && PKGMK_WEBKITGTK+=' -DUSE_LIBNOTIFY=ON' || PKGMK_WEBKITGTK+=' -DUSE_LIBNOTIFY=OFF' prt-get isinst geoclue && PKGMK_WEBKITGTK+=' -DENABLE_GEOLOCATION=ON' || PKGMK_WEBKITGTK+=' -DENABLE_GEOLOCATION=OFF' + prt-get isinst bubblewrap && prt-get isinst xdg-dbus-proxy && PKGMK_WEBKITGTK+=' -DENABLE_BUBBLEWRAP_SANDBOX=ON' \ + || PKGMK_WEBKITGTK+=' -DENABLE_BUBBLEWRAP_SANDBOX=OFF' - cmake -S$name-$version -Bbuild -GNinja ${PKGMK_WEBKITGTK} \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ - -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/lib \ - -DCMAKE_SKIP_RPATH:BOOL=ON \ - -DPORT=GTK \ - -DENABLE_MINIBROWSER=ON \ - -DUSE_SYSTEM_MALLOC=ON \ - -DUSE_SYSTEMD=OFF \ + cmake -S $name-$version -B build -G Ninja ${PKGMK_WEBKITGTK} \ + -D CMAKE_INSTALL_PREFIX:PATH=/usr \ + -D CMAKE_INSTALL_LIBDIR:PATH=/usr/lib \ + -D CMAKE_INSTALL_LIBEXECDIR:PATH=/usr/lib \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \ + -D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \ + -D CMAKE_SKIP_RPATH:BOOL=ON \ + -D PORT=GTK \ + -D ENABLE_MINIBROWSER=ON \ + -D USE_SYSTEM_MALLOC=ON \ + -D USE_SYSTEMD=OFF \ -Wno-dev cmake --build build |