summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/Pkgfile
blob: a806fa67813520092ab0b4c64e035f6b4eb55cf9 (plain)
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
# Description: Plugins graphiques 
# URL: http://www.digikam.org/
# Maintainer: Caulier Gilles  caulier dot gilles at gmail dot com
# Packager: lesibel at free dot fr
# Depends on: cmake,automoc4,doxygen,kde-runtime,kdepimlibs,libkdcraw,libkipi,libksane,opencv,qjson,libkexiv2,mysql,marble
# Run on: kde-runtime,kdepimlibs,libkdcraw,libkipi,libksane,opencv,qjson,libkexiv2,xorg-libxtst,xorg-libxrandr


name=kipi-plugins
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 
	
        cd $SRC/digikam-$version/build/extra/kipi-plugins/
	make DESTDIR=$PKG install
}