git » polkit-qt.git » commit 4352722

New git snapshot, fixes crashes with Qt 5.6

author Antonio Rojas
2016-03-03 08:13:54 UTC
committer Antonio Rojas
2016-03-03 08:13:54 UTC
parent 87a4de78050ec90c647bafe63c1e98d5721dfd80

New git snapshot, fixes crashes with Qt 5.6

PKGBUILD +7 -11

diff --git a/PKGBUILD b/PKGBUILD
index e2e0c79..b4c3e7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,28 +4,24 @@
 
 pkgbase=polkit-qt
 pkgname=('polkit-qt4' 'polkit-qt5')
-pkgver=0.112.0
-pkgrel=3
+pkgver=0.112.0+git20160226
+pkgrel=1
 pkgdesc='A library that allows developers to access PolicyKit API with a nice Qt-style API'
 arch=('i686' 'x86_64')
 url='https://projects.kde.org/projects/kdesupport/polkit-qt-1'
 license=('LGPL')
 makedepends=('cmake' 'automoc4' 'polkit' 'qt4' 'qt5-base')
-source=("http://download.kde.org/stable/apps/KDE4.x/admin/${pkgbase}-1-${pkgver}.tar.bz2"
-        'systembus-usage.patch')
-md5sums=('bee71b71c12797e6fc498540a06c829b'
-         '067355984adf2cd87e2fac715bd025f3')
+#source=("http://download.kde.org/stable/apps/KDE4.x/admin/${pkgbase}-1-${pkgver}.tar.bz2")
+source=("http://quickgit.kde.org/?p=polkit-qt-1.git&a=snapshot&h=15c7867e88c5278f61896b5531ac2b544add8220&fmt=tgz")
+md5sums=('e74c39223328edf89cdce4e037ef3c38')
 
 prepare() {
   mkdir build{,-qt5}
-
-  cd ${pkgbase}-1-${pkgver}
-  patch -p1 -i "${srcdir}"/systembus-usage.patch
 }
 
 build() {
   cd build
-  cmake ../${pkgbase}-1-${pkgver} \
+  cmake ../${pkgbase}-1 \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DLIB_DESTINATION=/usr/lib \
@@ -33,7 +29,7 @@ build() {
   make
 
   cd ../build-qt5
-  cmake ../${pkgbase}-1-${pkgver} \
+  cmake ../${pkgbase}-1 \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DLIB_DESTINATION=/usr/lib