2015-12-05 07:26:22 +08:00
|
|
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libkdcraw
|
|
|
|
# Include global configuration
|
|
|
|
source ../kdeapps.conf
|
|
|
|
|
|
|
|
pkgname=kamera
|
|
|
|
pkgver=${_kdever}
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="KDE integration for gphoto2 cameras"
|
|
|
|
url="http://kde.org/applications/graphics/kamera/"
|
|
|
|
arch=(x86_64)
|
|
|
|
license=(GPL LGPL FDL)
|
|
|
|
groups=(kde kde-applications kdegraphics kde-uninstall)
|
|
|
|
depends=(kio libgphoto2)
|
|
|
|
makedepends=(extra-cmake-modules kdoctools)
|
|
|
|
conflicts=(kdegraphics-kamera)
|
|
|
|
replaces=(kdegraphics-kamera)
|
|
|
|
options=('docs' 'debug')
|
2016-12-21 05:48:24 +08:00
|
|
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz"{,.sig})
|
|
|
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
|
|
|
|
'SKIP')
|
2017-08-11 00:14:23 +08:00
|
|
|
validpgpkeys=(${Avalidpgpkeys[@]})
|
2015-12-05 07:26:22 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd build
|
|
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd build
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
}
|