summaryrefslogtreecommitdiff
path: root/network/midori/midori.SlackBuild
diff options
context:
space:
mode:
authorRoberto Neri <rneri@libero.it>2013-04-08 06:58:51 -0300
committerRobby Workman <rworkman@slackbuilds.org>2013-04-15 17:21:01 -0500
commit6fdb55bc60fbd7f701a5c0043d8b9887f8eeca7b (patch)
tree33a7b9ae6af28cc7ca3407d7e9a345fe447ae35e /network/midori/midori.SlackBuild
parentebd7fe5e236b6ad8168adb09c038d0e9bc0d6527 (diff)
downloadslackbuilds-6fdb55bc60fbd7f701a5c0043d8b9887f8eeca7b.tar.gz
network/midori: Updated for version 0.5.0.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/midori/midori.SlackBuild')
-rw-r--r--network/midori/midori.SlackBuild15
1 files changed, 12 insertions, 3 deletions
diff --git a/network/midori/midori.SlackBuild b/network/midori/midori.SlackBuild
index 6fe6ce0899..cf019455cd 100644
--- a/network/midori/midori.SlackBuild
+++ b/network/midori/midori.SlackBuild
@@ -26,7 +26,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=midori
-VERSION=${VERSION:-0.4.8}
+VERSION=${VERSION:-0.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,6 +60,14 @@ else
LIBDIRSUFFIX=""
fi
+# GTK3 support is disabled by default but can be enabled
+# by passing GTK3=yes to the script
+if [ "${GTK3:-no}" = "yes" ]; then
+ ENABLE_GTK3="enable"
+else
+ ENABLE_GTK3="disable"
+fi
+
set -eu
rm -rf $PKG
@@ -87,8 +95,7 @@ export CXXFLAGS="$SLKCFLAGS"
--localstatedir=/var \
--datarootdir=/usr/share/ \
--mandir=/usr/man \
- --enable-unique \
- --enable-addons \
+ --$ENABLE_GTK3-gtk3 \
--disable-zeitgeist
./waf build
@@ -98,6 +105,8 @@ export CXXFLAGS="$SLKCFLAGS"
mv $PKG/etc/xdg/midori/search $PKG/etc/xdg/midori/search.new
mv $PKG/etc/xdg/midori/extensions/adblock/config $PKG/etc/xdg/midori/extensions/adblock/config.new
+# The other doc files have already been copied into /usr/doc/$PRGNAM-$VERSION
+# by "./waf install"
cp -a HACKING INSTALL TODO TRANSLATE \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild