diff options
author | Matteo Bernardini | 2021-01-23 15:25:49 +0100 |
---|---|---|
committer | Matteo Bernardini | 2021-01-23 15:25:49 +0100 |
commit | 3cb96e6c6185822ea365995ec48b132d639e9d7a (patch) | |
tree | e111c4fe880466b93d41d199478acb204e49e9cd /libraries/webkit2gtk/webkit2gtk.SlackBuild | |
parent | 64559ed619a826677d814471caab2acad0f7cc37 (diff) | |
download | slackbuilds-current-20210123.1.tar.gz |
20210123.1 global branch merge.current-20210123.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/webkit2gtk/webkit2gtk.SlackBuild')
-rw-r--r-- | libraries/webkit2gtk/webkit2gtk.SlackBuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/libraries/webkit2gtk/webkit2gtk.SlackBuild b/libraries/webkit2gtk/webkit2gtk.SlackBuild index d54d9bfc36..d1da46bf36 100644 --- a/libraries/webkit2gtk/webkit2gtk.SlackBuild +++ b/libraries/webkit2gtk/webkit2gtk.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=webkit2gtk SRCNAM=webkitgtk -VERSION=${VERSION:-2.20.5} +VERSION=${VERSION:-2.30.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,16 +74,22 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# ensure backward compatibility with the latest version of icu: +# http://linuxfromscratch.org/blfs/view/svn/x/webkitgtk.html +echo 'add_compile_definitions("U_DEFINE_FALSE_AND_TRUE=1")' >> Source/WTF/wtf/CMakeLists.txt + mkdir -p build cd build cmake -DPORT=GTK \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \ + -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \ -DLIBEXEC_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX}/webkit2gtk-4.0 \ - -DENABLE_MEDIA_SOURCE=NO \ - -DUSE_GSTREAMER_GL=NO \ + -DENABLE_MINIBROWSER=ON \ + -DUSE_SYSTEMD=OFF \ .. make make install DESTDIR=$PKG |