Browse Source

l/webkit: Fix compilation with gtk-2.0.

slackware-14.2
Damien Goutte-Gattat 9 years ago
parent
commit
52b3555a04
  1. 11
      l/webkit/webkit.SlackBuild

11
l/webkit/webkit.SlackBuild

@ -94,7 +94,7 @@ CXXFLAGS=$CPUOPT \
--disable-geolocation \
--with-gnu-ld
make -j $JOBS
make install-strip DESTDIR=$PKG
make install DESTDIR=$PKG
# Compile GTK2 version
# (distclean is not enough)
@ -110,11 +110,14 @@ CXXFLAGS=$CPUOPT \
--enable-spellcheck \
--disable-geolocation \
--with-gnu-ld \
--with-gtk=2.0
--with-gtk=2.0 \
--disable-webkit2
make -j $JOBS
make install-strip DESTDIR=$PKG
make install DESTDIR=$PKG
rmdir $PKG/usr/libexec
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2>/dev/null
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION

Loading…
Cancel
Save