summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSevenseven2015-10-17 18:41:50 +0300
committerSevenseven2015-10-17 18:41:50 +0300
commitb6114db4cb423a95c5ccb04c8e99d1fac8600ade (patch)
treeb7bff59120d04e8a8350f47588e63961a874f022
parenta4ab669bb24ddc36cb651e644d2cf697d0b34db4 (diff)
downloadaur-b6114db4cb423a95c5ccb04c8e99d1fac8600ade.tar.gz
KF5
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD29
2 files changed, 18 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 86d530ae505..e22bc0ee520 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = libkdcraw-git
pkgdesc = A C++ interface used to decode RAW picture
- pkgver = r937.baf426f
+ pkgver = r1112.d21e34f
pkgrel = 1
url = http://www.kde.org
arch = i686
@@ -10,9 +10,8 @@ pkgbase = libkdcraw-git
license = LGPL
license = FDL
makedepends = git
- makedepends = automoc4
- makedepends = cmake
- depends = kdelibs
+ makedepends = extra-cmake-modules
+ depends = qt5-base
depends = libraw
provides = libkdcraw
conflicts = libkdcraw
diff --git a/PKGBUILD b/PKGBUILD
index 6d539eebffb..a3fddf3798c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,42 +1,43 @@
# Contributor: Flamelab <panosfilip@gmail.com>
pkgname=libkdcraw-git
-pkgver=r937.baf426f
+pkgver=r1112.d21e34f
pkgrel=1
pkgdesc='A C++ interface used to decode RAW picture'
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
-depends=('kdelibs' 'libraw')
-#depends=('libraw' 'kconfig' 'kwidgetsaddons' 'kio')
-makedepends=('git' 'automoc4' 'cmake')
+depends=('qt5-base' 'libraw')
+makedepends=('git' 'extra-cmake-modules')
conflicts=('libkdcraw')
provides=('libkdcraw')
groups=('digikam-git')
source=('libkdcraw::git+git://anongit.kde.org/libkdcraw')
md5sums=('SKIP')
-#source=('libkdcraw::git+git://anongit.kde.org/libkdcraw#branch=frameworks')
pkgver() {
- cd ${srcdir}/libkdcraw
+ cd "${srcdir}/libkdcraw"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
- if [[ -d ${srcdir}/build ]]; then
+if [[ -d "${srcdir}/build" ]]; then
msg "Cleaning the previous build directory..."
- rm -rf ${srcdir}/build
+ rm -rf "${srcdir}/build"
fi
- mkdir ${srcdir}/build
+ mkdir "${srcdir}/build"
}
build() {
- cd ${srcdir}/build
- cmake ${srcdir}/libkdcraw -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
+ cd "${srcdir}/build"
+ cmake "${srcdir}/libkdcraw" -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DBUILD_TESTING=OFF
make
}
package() {
- cd ${srcdir}/build
- make DESTDIR=${pkgdir} install
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}" install
}