Browse Source

Revert "l/wxwidgets-gtk: Upgraded to wxwidgets-gtk-2.9.1."

This reverts commit 5b2b5958d1.
slackware-14.2
Damien Goutte-Gattat 11 years ago
parent
commit
61f1f9ab81
  1. 1
      l/wxwidgets-gtk/wxGTK-2.8.11.tar.gz.sha1
  2. 1
      l/wxwidgets-gtk/wxWidgets-2.9.1.tar.bz2.sha1
  3. 28
      l/wxwidgets-gtk/wxwidgets-gtk.SlackBuild

1
l/wxwidgets-gtk/wxGTK-2.8.11.tar.gz.sha1

@ -0,0 +1 @@
f5426533db98990a905d32e1c7928a7584dbd80e wxGTK-2.8.11.tar.gz

1
l/wxwidgets-gtk/wxWidgets-2.9.1.tar.bz2.sha1

@ -1 +0,0 @@
3ffe0614acce46448f5c14942176fb2daa6efd00 wxWidgets-2.9.1.tar.bz2

28
l/wxwidgets-gtk/wxwidgets-gtk.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008,2009,2010,2011 Damien Goutte-Gattat
# Copyright (C) 2008,2009,2010 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -25,17 +25,18 @@
# Note: To build only the `base' library (without the GUI components),
# use the following configure's options:
# --disable-gui --without-subdirs
# and do not build the contrib/ directory.
# Source package infos
NAMESRC=${NAMESRC:-wxWidgets}
VERSION=${VERSION:-2.9.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
NAMESRC=${NAMESRC:-wxGTK}
VERSION=${VERSION:-2.8.11}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://downloads.sourceforge.net/wxwindows/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-wxwidgets-gtk}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
ARCH=${ARCH:-$(uname -m | sed 's/^i?86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -89,13 +90,26 @@ CXXFLAGS=$CPUOPT \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--enable-plugins \
--enable-shared \
--enable-optimise \
--disable-profile \
--with-sdl \
--with-gstreamer \
--with-opengl \
--enable-ipv6
--enable-unicode \
--enable-mediactrl \
--enable-graphics_ctx \
--enable-controls \
--enable-tabdialog \
--disable-dataviewctrl # broken on x86_64 (type size issue), disabling
# until a better solution (fix) is found
make -j $JOBS
make install DESTDIR=$PKG
# Build contribs
make -j $JOBS -C contrib/src
make -C contrib/src install DESTDIR=$PKG
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null

Loading…
Cancel
Save