summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/Pkgfile
blob: f46408c245386b429d4774b5439b5de1fadd0671 (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,digikam,xorg-libxrandr


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