2012-11-20 11:59:59 +08:00
|
|
|
pkgbase=digikam
|
2015-06-17 20:20:09 +08:00
|
|
|
pkgname=('digikam' 'kipi-plugins')
|
2015-09-10 17:14:22 +08:00
|
|
|
pkgver=4.13.0
|
2015-09-13 18:35:46 +08:00
|
|
|
pkgrel=2
|
2012-11-20 11:59:59 +08:00
|
|
|
url="http://digikam.sourceforge.net"
|
|
|
|
arch=('x86_64')
|
|
|
|
license=('GPL')
|
|
|
|
screenshot=('http://i.imgur.com/6YnUM.png')
|
2015-09-10 17:14:22 +08:00
|
|
|
makedepends=('kde-runtime' 'kdegraphics-kgamma' 'kdepimlibs4' 'lensfun' 'libmarble4'
|
2015-06-17 20:20:09 +08:00
|
|
|
'liblqr' 'opencv' 'lapack' 'libgpod' 'libkvkontakte' 'pkgconfig' 'cmake' 'automoc4'
|
2012-11-20 11:59:59 +08:00
|
|
|
'doxygen' 'docbook-xsl' 'qjson' 'kdegraphics-libkexiv2' 'kdegraphics-libkdcraw'
|
2015-06-17 20:20:09 +08:00
|
|
|
'kdegraphics-libksane' 'mariadb' 'qt-gstreamer' 'boost' 'hugin-tools' 'eigen3'
|
2015-09-13 18:35:46 +08:00
|
|
|
'libbluray' 'libpgf' 'libkface' 'libkgeomap' 'kfilemetadata')
|
2015-02-25 06:34:35 +08:00
|
|
|
source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
|
2014-03-29 03:59:17 +08:00
|
|
|
options=("debug")
|
2015-09-10 17:14:22 +08:00
|
|
|
md5sums=('930b9a89244afd1f28490d0acabbecc5')
|
2012-11-20 11:59:59 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}
|
|
|
|
|
2015-06-17 20:20:09 +08:00
|
|
|
mkdir -p build && cd build
|
|
|
|
|
2013-02-09 01:22:14 +08:00
|
|
|
cmake ../${pkgname}-${pkgver} \
|
2014-03-29 03:59:17 +08:00
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
2012-11-20 11:59:59 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2015-09-13 18:35:46 +08:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
2014-12-31 06:46:05 +08:00
|
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
|
|
-DBUILD_tests=OFF \
|
|
|
|
-DDIGIKAMSC_COMPILE_LIBMEDIAWIKI=ON \
|
|
|
|
-DENABLE_KDEPIMLIBSSUPPORT=ON \
|
|
|
|
-DENABLE_MYSQLSUPPORT=ON
|
|
|
|
|
2012-11-20 11:59:59 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package_digikam() {
|
|
|
|
pkgdesc="Digital photo management application for kde"
|
2015-04-13 07:53:39 +08:00
|
|
|
depends=('kde-runtime' 'kdegraphics-kgamma' 'kdepimlibs' 'lensfun' 'kdeedu-marble' 'liblqr'
|
2015-09-13 18:35:46 +08:00
|
|
|
'mariadb' 'opencv' 'kipi-plugins' 'lapack' 'libgpod' 'libpgf' 'libkface' 'libkgeomap')
|
2012-11-20 11:59:59 +08:00
|
|
|
install=digikam.install
|
|
|
|
replaces=('digikamimageplugins')
|
|
|
|
categories=('graphics')
|
|
|
|
screenshot=('http://farm4.staticflickr.com/3197/2606712653_e9b9dc6ca1_o.png')
|
|
|
|
|
|
|
|
splitdirs="core doc po"
|
|
|
|
for i in ${splitdirs} ; do
|
|
|
|
cd ${srcdir}/build/${i}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
done
|
|
|
|
rm -rf "${pkgdir}/usr/share/icons/oxygen"
|
2015-04-07 20:53:20 +08:00
|
|
|
rm "${pkgdir}"/usr/share/locale/kde4/*/LC_MESSAGES/libkipi.mo
|
2012-11-20 11:59:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_kipi-plugins() {
|
|
|
|
pkgdesc="Kipi plugins and additional libs for digikam and kde apps"
|
|
|
|
depends=('kdegraphics-kgamma' 'kdepimlibs' 'opencv' 'libgpod' 'sane' 'hugin-tools'
|
|
|
|
'libgphoto2-nolimit' 'libkvkontakte' 'kdegraphics-libkexiv2' 'kdegraphics-libkdcraw'
|
2015-09-13 18:35:46 +08:00
|
|
|
'kdegraphics-libksane' 'qt-gstreamer' 'kfilemetadata')
|
2012-11-20 11:59:59 +08:00
|
|
|
optdepends=('imagemagick: for picture manipulation'
|
2015-04-13 07:53:39 +08:00
|
|
|
'qca: for shwup webservice support'
|
|
|
|
'libkgeomap: Geolocalize tool')
|
2012-11-20 11:59:59 +08:00
|
|
|
install=kipi-plugins.install
|
2015-04-13 07:53:39 +08:00
|
|
|
provides=('libmediawiki')
|
|
|
|
replaces=('libmediawiki')
|
|
|
|
conflicts=('libmediawiki')
|
2012-11-20 11:59:59 +08:00
|
|
|
categories=('graphics')
|
|
|
|
|
2015-04-13 07:53:39 +08:00
|
|
|
splitdirs="libmediawiki kipi-plugins"
|
2012-11-20 11:59:59 +08:00
|
|
|
for i in ${splitdirs} ; do
|
2014-11-25 01:43:44 +08:00
|
|
|
cd ${srcdir}/build/extra/${i}
|
2014-11-25 01:25:34 +08:00
|
|
|
|
2012-11-20 11:59:59 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
done
|
|
|
|
}
|