From 40110b34f7000a5c763f33677892acdaf3d37e91 Mon Sep 17 00:00:00 2001 From: Grissiom Date: Mon, 8 Aug 2011 17:03:03 -0300 Subject: development/shiboken: Updated for version 1.0.5. Signed-off-by: Niels Horn --- development/shiboken/README | 6 +++--- development/shiboken/shiboken.SlackBuild | 12 ++++++++---- development/shiboken/shiboken.info | 8 ++++---- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/development/shiboken/README b/development/shiboken/README index 4795048ef1..974693ac91 100644 --- a/development/shiboken/README +++ b/development/shiboken/README @@ -1,5 +1,5 @@ -The Shiboken Generator (A.K.A. shiboken) is the plugin that creates the PySide -bindings source files from Qt headers and auxiliary files (typesystems, -global.h and glue files). +The Shiboken Generator (A.K.A. shiboken) is the plugin that creates +the PySide bindings source files from Qt headers and auxiliary files +(typesystems, global.h and glue files). This requires apiextractor and generatorrunner. diff --git a/development/shiboken/shiboken.SlackBuild b/development/shiboken/shiboken.SlackBuild index 59fe1ac396..7c582bb7a5 100644 --- a/development/shiboken/shiboken.SlackBuild +++ b/development/shiboken/shiboken.SlackBuild @@ -5,16 +5,14 @@ # Written by Grissiom PRGNAM=shiboken -VERSION=${VERSION:-0.5.0} +VERSION=${VERSION:-1.0.5} BUILD=${BUILD:-1} 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 @@ -59,8 +57,8 @@ cd build -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DMAN_INSTALL_DIR=/usr/man \ -DBUILD_TESTS:BOOL=OFF \ -DENABLE_GCC_OPTIMIZATION:BOOL=ON \ -DCMAKE_BUILD_TYPE=Release \ @@ -72,6 +70,12 @@ cd .. find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +mv $PKG/usr/share/man $PKG/usr +rmdir $PKG/usr/share + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ChangeLog COPYING* \ $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/development/shiboken/shiboken.info b/development/shiboken/shiboken.info index 2abdcf523a..3ecb0712a2 100644 --- a/development/shiboken/shiboken.info +++ b/development/shiboken/shiboken.info @@ -1,10 +1,10 @@ PRGNAM="shiboken" -VERSION="0.5.0" +VERSION="1.0.5" HOMEPAGE="http://www.pyside.org/home-binding/binding-generator/" -DOWNLOAD="http://www.pyside.org/files/shiboken-0.5.0.tar.bz2" -MD5SUM="ca377b865b09aff2f2a035fc5eb950e8" +DOWNLOAD="http://www.pyside.org/files/shiboken-1.0.5.tar.bz2" +MD5SUM="e9249ab88a5ba67183a165d11143c894" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Grissiom" EMAIL="chaos.proton@gmail.com" -APPROVED="pprkut" +APPROVED="pprkut,Niels Horn" -- cgit v1.2.3