From d9f92703777ba486ce11fca640b83377c6f6751a Mon Sep 17 00:00:00 2001 From: Paul Wisehart Date: Thu, 13 May 2010 00:29:47 +0200 Subject: [PATCH] libraries/gtkmm: Updated for version 2.14.3 --- libraries/gtkmm/README | 3 +-- libraries/gtkmm/gtkmm.SlackBuild | 8 ++++++-- libraries/gtkmm/gtkmm.info | 8 +++++--- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/libraries/gtkmm/README b/libraries/gtkmm/README index 4c20418608..c6973d87d9 100644 --- a/libraries/gtkmm/README +++ b/libraries/gtkmm/README @@ -5,5 +5,4 @@ user interfaces either in code or with the Glade User Interface designer, using libglademm. There's extensive documentation, including API reference and a tutorial. -This package requires cairomm, which is also available from the -SlackBuilds.org project. +This requires cairomm and pangomm. diff --git a/libraries/gtkmm/gtkmm.SlackBuild b/libraries/gtkmm/gtkmm.SlackBuild index 898b9fa4ae..5a4c8706a3 100644 --- a/libraries/gtkmm/gtkmm.SlackBuild +++ b/libraries/gtkmm/gtkmm.SlackBuild @@ -25,7 +25,7 @@ # Modified by Robby Workman PRGNAM=gtkmm -VERSION=${VERSION:-2.12.7} +VERSION=${VERSION:-2.14.3} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -37,10 +37,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -58,6 +61,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --docdir=/usr/doc/$PRGNAM-$VERSION \ @@ -83,4 +87,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/gtkmm/gtkmm.info b/libraries/gtkmm/gtkmm.info index 8ab8b43f2b..1afcdbf1da 100644 --- a/libraries/gtkmm/gtkmm.info +++ b/libraries/gtkmm/gtkmm.info @@ -1,8 +1,10 @@ PRGNAM="gtkmm" -VERSION="2.12.7" +VERSION="2.14.3" HOMEPAGE="http://www.gtkmm.org/" -DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.12/gtkmm-2.12.7.tar.bz2" -MD5SUM="ad199f4a392799134c128deab48fee30" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.14/gtkmm-2.14.3.tar.bz2" +DOWNLOAD_x86_64="" +MD5SUM="10039f35d7f815d47f926a13cefe65d6" +MD5SUM_x86_64="" MAINTAINER="paul wisehart" EMAIL="wise@lupulin.net" APPROVED="rworkman"