Fix build with GCC 8 [skip-ci]

This commit is contained in:
almack 2018-09-06 22:24:49 +02:00
parent 045d1a7ef8
commit 9213964369

View File

@ -1,7 +1,7 @@
pkgname=libqaccessibilityclient pkgname=libqaccessibilityclient
pkgver=0.2.0 pkgver=0.2.0
pkgrel=1 pkgrel=2
arch=(x86_64) arch=(x86_64)
pkgdesc="Helper library to make writing accessibility tools easier" pkgdesc="Helper library to make writing accessibility tools easier"
url='https://www.kde.org' url='https://www.kde.org'
@ -9,13 +9,18 @@ license=(LGPL2.1)
depends=(qt5-base) depends=(qt5-base)
makedepends=(cmake) makedepends=(cmake)
conflicts=(libkdeaccessibilityclient) conflicts=(libkdeaccessibilityclient)
source=("https://download.kde.org/unstable/libqaccessibilityclient/$pkgname-$pkgver.tar.xz"{,.sig}) source=("https://download.kde.org/unstable/libqaccessibilityclient/$pkgname-$pkgver.tar.xz"{,.sig}
libqaccessibilityclient-gcc8.patch::"https://cgit.kde.org/libqaccessibilityclient.git/patch/?id=34f6084f")
sha256sums=('d5e8f4dc91bc1b56029e12328a9e02d5c310939b01998f030202203c5edb2e61' sha256sums=('d5e8f4dc91bc1b56029e12328a9e02d5c310939b01998f030202203c5edb2e61'
'SKIP') 'SKIP'
'8df173dd87d055e978edd84e8f95efe820de1bad03f74c16c0d158e830e68331')
validpgpkeys=(FB25861861063C64C97B89AE125C53EB96EC0C92) # Frederik Gladhorn <frederik@gladhorn.de> validpgpkeys=(FB25861861063C64C97B89AE125C53EB96EC0C92) # Frederik Gladhorn <frederik@gladhorn.de>
prepare() { prepare() {
mkdir -p build mkdir -p build
cd $pkgname-$pkgver
patch -p1 -i ../libqaccessibilityclient-gcc8.patch # Fix build with GCC 8
} }
build() { build() {