mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
graphics/digikam: Cleanup + added additional optional deps.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
c9c07db642
commit
361d205921
3 changed files with 10 additions and 10 deletions
|
@ -5,7 +5,7 @@ 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.
|
||||
|
||||
liblqr, libpgf and libdc1394 are optional dependencies.
|
||||
lensfun would be one too, but building against it it's broken ATM.
|
||||
eigen3, lensfun, liblqr, libpgf, libdc1394, and opencv are optional
|
||||
dependencies.
|
||||
|
||||
NOTE: digikam now ships with its own internal version of kipi-plugins.
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# Slackware build script for digiKam
|
||||
|
||||
# Copyright 2007-2011 Frank Caraballo <fecaraballo{at}gmail{dot}com>
|
||||
# Copyright 2013 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,7 +24,6 @@
|
|||
# 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:-3.5.0}
|
||||
|
@ -59,14 +59,14 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
@ -83,7 +83,7 @@ cd build
|
|||
make install DESTDIR=$PKG
|
||||
cd ..
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
find $PKG -print0 | xargs -0 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 {} \;
|
||||
|
|
|
@ -5,6 +5,6 @@ DOWNLOAD="http://download.kde.org/stable/digikam/digikam-3.5.0.tar.bz2"
|
|||
MD5SUM="16d570269883652487516a77c9d7d6f8"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="ffmpeg opencv"
|
||||
REQUIRES="%README% ffmpeg opencv"
|
||||
MAINTAINER="Willy Sudiarto Raharjo"
|
||||
EMAIL="willysr@slackbuilds.org"
|
||||
|
|
Loading…
Reference in a new issue