aboutsummaryrefslogtreecommitdiff
path: root/graphics/digikam/digikam.SlackBuild
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/digikam/digikam.SlackBuild
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/digikam/digikam.SlackBuild')
-rw-r--r--graphics/digikam/digikam.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/graphics/digikam/digikam.SlackBuild b/graphics/digikam/digikam.SlackBuild
index fae4f0aabc1cb..de0373223f2cb 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