1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Description: Application de gestion de photos digitales pour KDE
# URL: http://www.digikam.org/
# Maintainer: Caulier Gilles caulier dot gilles at gmail dot com
# Packager: lesibel at free dot fri
# Depends on: cmake,automoc4,doxygen,kde-runtime,kdepimlibs,libkdcraw,libkipi,libksane,opencv,qjson,libkexiv2,mysql,marble,kipi-plugins
# Run on: kde-runtime,kdepimlibs,libkdcraw,libkipi,libksane,opencv,qjson,libkexiv2,kipi-plugins,xorg-libxtst,marble
name=digikam
version=2.8.0
release=1
source=( http://downloads.sourceforge.net/digikam/digikam-$version.tar.bz2)
build() {
cd $SRC/digikam*
mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_DEFAULT_HOME=.kde \
-DSYSCONF_INSTALL_DIR=/etc \
-DCMAKE_SKIP_RPATH=ON \
-DLENSFUN_LIBRARY="" \
-DLENSFUN_INCLUDE_DIR="" \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
-Wno-dev
make
for i in core doc po
do
cd $SRC/digikam*/build/$i
make DESTDIR=$PKG install
done
for i in libkface libkgeomap libkvkontakte libmediawiki
do
cd $SRC/digikam*/build/extra/$i
make DESTDIR=$PKG install
done
}
|