From 907290a3793974f5ee4e83334a8dfd5212782693 Mon Sep 17 00:00:00 2001 From: Frank Caraballo Date: Sat, 7 May 2011 15:04:35 -0500 Subject: [PATCH] graphics/digikam: Updated for version 1.9.0. Signed-off-by: Robby Workman --- graphics/digikam/README | 13 +++++++------ graphics/digikam/digikam.SlackBuild | 23 ++++++++++------------- graphics/digikam/digikam.info | 10 +++++----- 3 files changed, 22 insertions(+), 24 deletions(-) diff --git a/graphics/digikam/README b/graphics/digikam/README index b28e6e19d7..bcf96bb952 100644 --- a/graphics/digikam/README +++ b/graphics/digikam/README @@ -1,7 +1,8 @@ -digiKam is a simple digital photo management application for KDE, which makes -importing and organizing digital photos a "snap". The photos can be organized -in albums which can be sorted chronologically by directory layout or by custom -collections. An easy to use interface is provided that enables you to connect -to your camera and preview, download and/or delete your images. +digiKam is a simple digital photo management application for KDE, +which makes importing and organizing digital photos a "snap". The +photos can be organized in albums which can be sorted chronologically, +by directory layout or by custom collections. An easy to use interface +is provided that enables you to connect to your camera and preview, +download and/or delete your images. -lensfun and kipi-plugins are optional dependencies. +lensfun, liblqr, and kipi-plugins are optional build time dependencies. diff --git a/graphics/digikam/digikam.SlackBuild b/graphics/digikam/digikam.SlackBuild index 4379542111..fae4f0aabc 100644 --- a/graphics/digikam/digikam.SlackBuild +++ b/graphics/digikam/digikam.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for digiKam -# Copyright 2007-2009 Frank Caraballo +# Copyright 2007-2011 Frank Caraballo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,19 +21,18 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + # Modified by Niklas 'Nille' Åkerström for slackware64 and to use cmake. PRGNAM=digikam -VERSION=${VERSION:-1.2.0} +VERSION=${VERSION:-1.9.0} 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 @@ -68,19 +67,17 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -KDEPREF=kde4-config - mkdir -p build cd build - cmake ..\ - -DCMAKE_C_FLAGS:STRING="${SLKCFLAGS}" \ - -DCMAKE_CXX_FLAGS:STRING="${SLKCFLAGS}" \ - -DCMAKE_INSTALL_PREFIX=$($KDEPREF --prefix) \ - -DLIB_SUFFIX=/usr/lib$($KDEPREF --libsuffix) \ + cmake .. \ + -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=$(kde4-config --libsuffix) \ -DMAN_INSTALL_DIR=/usr/man \ + -DSYSCONF_INSTALL_DIR=/etc/kde \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_VERBOSE_MAKEFILE:BOOL="TRUE" - make make install DESTDIR=$PKG cd .. @@ -90,7 +87,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG/usr/man -type f -exec gzip -9 {} \; find $PKG -type d -depth -exec rmdir {} \; 2>/dev/null || true - + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS ChangeLog COPYING* DESIGN HACKING INSTALL NEWS README tips TODO \ diff --git a/graphics/digikam/digikam.info b/graphics/digikam/digikam.info index 8e736c84c1..0ebe5a4a89 100644 --- a/graphics/digikam/digikam.info +++ b/graphics/digikam/digikam.info @@ -1,10 +1,10 @@ PRGNAM="digikam" -VERSION="1.2.0" +VERSION="1.9.0" HOMEPAGE="http://www.digikam.org/" -DOWNLOAD="http://downloads.sourceforge.net/digikam/digikam-1.2.0.tar.bz2" -MD5SUM="8f68022008cf1650924cc8688f176572" +DOWNLOAD="http://downloads.sourceforge.net/digikam/digikam-1.9.0.tar.bz2" +MD5SUM="08934e97b63e8b1981f4087ec1a3372e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -MAINTAINER="Niklas 'Nille' Åkerström" -EMAIL="Nille dot kungen[AT]gmail dot com" +MAINTAINER="Frank Caraballo" +EMAIL="fecaraballo{at}gmail{dot}com" APPROVED="rworkman"