diff options
Diffstat (limited to 'digikam/Pkgfile')
-rwxr-xr-x | digikam/Pkgfile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/digikam/Pkgfile b/digikam/Pkgfile new file mode 100755 index 000000000..2007702e5 --- /dev/null +++ b/digikam/Pkgfile @@ -0,0 +1,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 + + +name=digikam +version=2.6.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 +} + |