aboutsummaryrefslogtreecommitdiff
path: root/desktop/gtk-engines/gtk-engines.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/gtk-engines/gtk-engines.SlackBuild')
-rw-r--r--desktop/gtk-engines/gtk-engines.SlackBuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/desktop/gtk-engines/gtk-engines.SlackBuild b/desktop/gtk-engines/gtk-engines.SlackBuild
index 163ab8d779ac0..cb6a0eb2b6583 100644
--- a/desktop/gtk-engines/gtk-engines.SlackBuild
+++ b/desktop/gtk-engines/gtk-engines.SlackBuild
@@ -1,7 +1,8 @@
#!/bin/sh
# Slackware build script for gtk-engines
-# Copyright 2007-2010 Grigorios Bouzakis <grbzks@xsmail.com>
+# Copyright 2007-2010 Grigorios Bouzakis <grbzks@xsmail.com>
+# Copyright 2014 Ryan P.C. McQuen, WA, ryan.q@linux.com
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -21,7 +22,7 @@
PRGNAM=gtk-engines
VERSION=${VERSION:-2.20.2}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -60,14 +61,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Starting with glib 2.32 it is now mandatory to
-# include glib.h instead of individual headers.
-patch -p1 -i $CWD/glib-single-include.patch
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -79,6 +76,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-animation \
+ --disable-static \
--build=$ARCH-slackware-linux
make