wok-next rev 21466
webkitgtk: modified GNUmakefile
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 12 15:43:16 2020 +0100 (2020-05-12) |
parents | 2d6e331ef0e0 |
children | 5adf2470beeb |
files | webkitgtk/receipt |
line diff
1.1 --- a/webkitgtk/receipt Tue May 12 09:08:36 2020 +0100 1.2 +++ b/webkitgtk/receipt Tue May 12 15:43:16 2020 +0100 1.3 @@ -16,15 +16,16 @@ 1.4 harfbuzz-icu-dev libjpeg-turbo-dev libsoup-dev libxslt-dev libsecret-dev \ 1.5 libwebp-dev mesa-dev gtk2-dev enchant-dev gst1-plugins-base-dev \ 1.6 libnotify-dev gettext-dev" 1.7 + 1.8 +BUILD_DEPENDS="autoconf automake enchant-dev gettext-dev glib-dev 1.9 + gobject-introspection-dev gperf gst1-plugins-base-dev gtk2-dev 1.10 + harfbuzz-icu-dev icu-dev libjpeg-turbo-dev libpng-dev libsecret-dev 1.11 + libsoup-dev libtool libwebp-dev libxml2-dev libxslt-dev 1.12 + pango-dev perl python ruby-dev sqlite3-dev xorg-libXt-dev" 1.13 SPLIT="$PACKAGE-dev" 1.14 1.15 -BUILD_DEPENDS="perl python ruby-dev gperf libjpeg-turbo-dev libpng-dev \ 1.16 -libwebp-dev glib-dev icu-dev libxml2-dev pango-dev enchant-dev gtk2-dev \ 1.17 -libxt-dev gobject-introspection-dev libsoup-dev libsecret-dev \ 1.18 -harfbuzz-icu-dev libxslt-dev gst1-plugins-base-dev gettext-dev \ 1.19 -autoconf automake libtool" 1.20 - 1.21 -compile_rules() { 1.22 +compile_rules() 1.23 +{ 1.24 fix math 1.25 CXXFLAGS="$CXXFLAGS -fno-delete-null-pointer-checks" 1.26 CFLAGS="$CFLAGS -fno-delete-null-pointer-checks" 1.27 @@ -32,32 +33,38 @@ 1.28 mkdir build 1.29 cd build 1.30 1.31 - ../configure \ 1.32 - --enable-introspection \ 1.33 - --disable-webkit2 \ 1.34 - --disable-gtk-doc \ 1.35 - --with-gtk=2.0 \ 1.36 - --disable-geolocation \ 1.37 - --enable-silent-rules \ 1.38 + ../configure \ 1.39 + --enable-introspection \ 1.40 + --disable-webkit2 \ 1.41 + --disable-gtk-doc \ 1.42 + --with-gtk=2.0 \ 1.43 + --disable-geolocation \ 1.44 + --enable-silent-rules \ 1.45 $CONFIGURE_ARGS && 1.46 + 1.47 + sed -i 's|aclocal-1.15|aclocal|; s|automake-1.15|automake|' \ 1.48 + GNUmakefile && 1.49 + 1.50 # https://bugzilla.gnome.org/show_bug.cgi?id=655517 1.51 sed -i 's| -shared | -Wl,-O1,--as-needed\0|g' libtool && 1.52 make all stamp-po && 1.53 make -j1 install 1.54 } 1.55 1.56 -genpkg_rules() { 1.57 +genpkg_rules() 1.58 +{ 1.59 case $PACKAGE in 1.60 webkitgtk) 1.61 copy @std 1.62 - DEPENDS="atk libcairo enchant fontconfig freetype gdk-pixbuf glib \ 1.63 - gst1-plugins-base gstreamer1 gtk2 icu libharfbuzz libharfbuzz-icu \ 1.64 - libicu libjpeg-turbo libpng libsecret libsoup libsqlite3 libwebp \ 1.65 - libxml2 libxslt pango libx11 libxrender libxt zlib" 1.66 + DEPENDS="atk enchant fontconfig freetype gdk-pixbuf glib 1.67 + gst1-plugins-base gstreamer1 gtk2 icu libcairo 1.68 + libharfbuzz libharfbuzz-icu libicu libjpeg-turbo 1.69 + libpng libsecret libsoup libsqlite3 libwebp 1.70 + libx11 libxml2 libxslt libxrender libxt pango zlib" 1.71 ;; 1.72 *-dev) 1.73 copy @dev 1.74 - DEPENDS="webkitgtk glib-dev gtk2-dev libsoup-dev" 1.75 + DEPENDS="glib-dev gtk2-dev libsoup-dev webkitgtk" 1.76 ;; 1.77 esac 1.78 }