diff options
author | Daniil Bratashov <dn2010@gmail.com> | 2010-12-20 17:26:50 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-12-20 17:29:12 -0600 |
commit | e7f1bae337eb692042f5488c4d5977884cd5862c (patch) | |
tree | 0c8004696225953b4e948e94cf15d328f2a94b43 /libraries/gtkglext/gtkglext.SlackBuild | |
parent | 3ad5434a883fe624931a3507ceb00a7d3f6dc24a (diff) | |
download | slackbuilds-e7f1bae337eb692042f5488c4d5977884cd5862c.tar.gz |
libraries/gtkglext: Patched to re-enable deprecated features
This is needed for newer GTK and GDK support.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/gtkglext/gtkglext.SlackBuild')
-rw-r--r-- | libraries/gtkglext/gtkglext.SlackBuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libraries/gtkglext/gtkglext.SlackBuild b/libraries/gtkglext/gtkglext.SlackBuild index ae4acc6580..4478018e96 100644 --- a/libraries/gtkglext/gtkglext.SlackBuild +++ b/libraries/gtkglext/gtkglext.SlackBuild @@ -24,15 +24,13 @@ PRGNAM=gtkglext VERSION=1.2.0 -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -72,6 +70,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Don't disable deprecated stuff +patch -p1 < $CWD/gtkglext-no-deprecated-flags.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -92,9 +93,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING* ChangeLog NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -( cd $PKG/usr/doc/$PRGNAM-$VERSION - ln -s /usr/share/gtk-doc/html/gtkglext html -) +(cd $PKG/usr/doc/$PRGNAM-$VERSION; ln -s /usr/share/gtk-doc/html/gtkglext html) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |