From 6fca196d949ff6741f0d7a003fbb8b4dbbc2de28 Mon Sep 17 00:00:00 2001 From: orchidman Date: Sat, 23 Jun 2012 07:46:00 +0200 Subject: digikam 2.6.0-1 maj (cherry picked from commit 9c8546aa3e747984dd1a834c64adbb394f39b83b) --- digikam/Pkgfile | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 digikam/Pkgfile (limited to 'digikam/Pkgfile') 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 +} + -- cgit v1.2.3-70-g09d2