summaryrefslogtreecommitdiffstats
path: root/extra/kipi-plugins/Pkgfile
blob: dd2f0e9f7ffaee06a37d426b2ab5926fef043000 (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: NuTyX packager team
# 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


name=kipi-plugins
version=2.3.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
}