system/gtk-vnc: Updated for version 0.5.3.
Enforce single make job, build gtk2 version first Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
739a284c63
commit
a1fda691ea
|
@ -2,11 +2,11 @@
|
|||
|
||||
# Slackware build script for gtk-vnc
|
||||
|
||||
# Written by Ash Wiren ash@spooksoftware.com
|
||||
# Written by Ash Wiren <ash@spooksoftware.com>
|
||||
|
||||
PRGNAM=gtk-vnc
|
||||
VERSION=${VERSION:-0.5.1}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-0.5.3}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
|
@ -60,34 +60,7 @@ find $PRGNAM-$VERSION \
|
|||
# Cut away jobs number from the MAKEFLAGS
|
||||
MAKEFLAGS=$(echo "$MAKEFLAGS" | sed "s/-j[0-999]//g")
|
||||
|
||||
# We will build both the gtk+3 and gtk+2 libs with -j1 to avoid surprises
|
||||
# To avoid building the gtk3 version, pass GTK3=no to the script
|
||||
if [ "${GTK3:-yes}" = "yes" ]; then
|
||||
(
|
||||
cp -a $PRGNAM-$VERSION{,-3}
|
||||
cd $PRGNAM-$VERSION-3
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--with-examples \
|
||||
--with-libview \
|
||||
--with-python \
|
||||
--with-gtk=3.0 \
|
||||
--enable-vala \
|
||||
--enable-introspection \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make -j1
|
||||
make install DESTDIR=$PKG
|
||||
)
|
||||
fi
|
||||
cp -a $PRGNAM-$VERSION $PRGNAM-$VERSION-3
|
||||
|
||||
cd $PRGNAM-$VERSION
|
||||
|
||||
|
@ -111,6 +84,36 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
make -j1
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
cd ..
|
||||
|
||||
# We will build both the gtk+3 and gtk+2 libs with -j1 to avoid surprises
|
||||
# To avoid building the gtk3 version, pass GTK3=no to the script
|
||||
if [ "${GTK3:-yes}" = "yes" ]; then
|
||||
|
||||
cd $PRGNAM-$VERSION-3
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--with-examples \
|
||||
--with-libview \
|
||||
--with-python \
|
||||
--with-gtk=3.0 \
|
||||
--enable-vala \
|
||||
--enable-introspection \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make -j1
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
fi
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="gtk-vnc"
|
||||
VERSION="0.5.1"
|
||||
VERSION="0.5.3"
|
||||
HOMEPAGE="http://live.gnome.org/gtk-vnc/"
|
||||
DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/gtk-vnc/0.5/gtk-vnc-0.5.1.tar.xz"
|
||||
MD5SUM="626f919138b8362ba82faa969fa371f3"
|
||||
DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/gtk-vnc/0.5/gtk-vnc-0.5.3.tar.xz"
|
||||
MD5SUM="1dccd918a4d633020e4afaf6c9352cde"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="vala"
|
||||
|
|
Loading…
Reference in New Issue