aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2012-09-12 08:58:29 +0200
committerMatteo Bernardini <ponce@slackbuilds.org>2012-09-12 10:06:11 +0200
commite12068a6341ade4a522ce21872613041b2c9a265 (patch)
tree997393247ebdddfa49d784b3c1c748e364826f34 /graphics
parent3bbb9463184135e36f2d1cb2f8038cd2be11a83b (diff)
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>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/digikam/README4
-rw-r--r--graphics/digikam/digikam.SlackBuild15
-rw-r--r--graphics/digikam/digikam.info8
3 files changed, 14 insertions, 13 deletions
diff --git a/graphics/digikam/README b/graphics/digikam/README
index bcf96bb952aa..81fc1c6b5844 100644
--- a/graphics/digikam/README
+++ b/graphics/digikam/README
@@ -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.
diff --git a/graphics/digikam/digikam.SlackBuild b/graphics/digikam/digikam.SlackBuild
index fae4f0aabc1c..de0373223f2c 100644
--- a/graphics/digikam/digikam.SlackBuild
+++ b/graphics/digikam/digikam.SlackBuild
@@ -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
diff --git a/graphics/digikam/digikam.info b/graphics/digikam/digikam.info
index fef44b0f9ec1..fcd9a21a7209 100644
--- a/graphics/digikam/digikam.info
+++ b/graphics/digikam/digikam.info
@@ -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"