graphics/digikam: Updated for version 1.9.0.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Frank Caraballo 2011-05-07 15:04:35 -05:00 committed by Robby Workman
parent f7e7b6d4a3
commit 907290a379
3 changed files with 22 additions and 24 deletions

View file

@ -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.

View file

@ -2,7 +2,7 @@
# Slackware build script for digiKam
# Copyright 2007-2009 Frank Caraballo <fecaraballo{at}gmail{dot}com>
# Copyright 2007-2011 Frank Caraballo <fecaraballo{at}gmail{dot}com>
# 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 \

View file

@ -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"