graphics/digikam: Updated for version 2.9.0.

Removed kipi-plugins dep (now included)
and added new ones, optional and mandatory.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2012-09-12 08:58:29 +02:00 committed by Matteo Bernardini
parent 3bbb946318
commit e12068a634
3 changed files with 14 additions and 13 deletions

View file

@ -5,4 +5,6 @@ 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, liblqr, and kipi-plugins are optional build time dependencies.
lensfun, liblqr, libpgf and libdc1394 are optional dependencies.
NOTE: digikam now ships with its own internal version of kipi-plugins.

View file

@ -23,9 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by Niklas 'Nille' Åkerström for slackware64 and to use cmake.
# Updated by Willy Sudiarto Raharjo <willysr@slackware-id.org>
PRGNAM=digikam
VERSION=${VERSION:-1.9.0}
VERSION=${VERSION:-2.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -69,15 +70,15 @@ find . \
mkdir -p build
cd build
cmake .. \
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"
-DCMAKE_VERBOSE_MAKEFILE:BOOL="TRUE" \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
cd ..
@ -86,12 +87,10 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
find $PKG -type d -depth -exec rmdir {} \; 2>/dev/null || true
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 \
AUTHORS ChangeLog COPYING* DESIGN HACKING INSTALL NEWS README tips TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING* NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,10 +1,10 @@
PRGNAM="digikam"
VERSION="1.9.0"
VERSION="2.9.0"
HOMEPAGE="http://www.digikam.org/"
DOWNLOAD="http://downloads.sourceforge.net/digikam/digikam-1.9.0.tar.bz2"
MD5SUM="08934e97b63e8b1981f4087ec1a3372e"
DOWNLOAD="http://downloads.sourceforge.net/digikam/digikam-2.9.0.tar.bz2"
MD5SUM="eb2971c98cadb31a2d63c4189d26ccab"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
REQUIRES="ffmpeg opencv qjson"
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo{at}gmail{dot}com"