diff options
author | Antonio Rojas | 2023-03-07 17:58:41 +0100 |
---|---|---|
committer | Antonio Rojas | 2023-03-07 17:58:41 +0100 |
commit | 1df313c3a07b4c19ec5c01507ef9617e2a0c9287 (patch) | |
tree | f6fac34fa8d0176ac7d5c79a3d977b974cd6e1af | |
parent | dbd9f7cd9d0df213d5956ce96af6b4fa2edfae2d (diff) | |
download | aur-1df313c3a07b4c19ec5c01507ef9617e2a0c9287.tar.gz |
Fix build
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 22 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = kaidan pkgdesc = A user-friendly XMPP client for every device pkgver = 0.8.0 - pkgrel = 1 + pkgrel = 2 url = https://www.kaidan.im/ arch = x86_64 license = GPL3 @@ -16,9 +16,14 @@ pkgbase = kaidan depends = hicolor-icon-theme source = https://download.kde.org/unstable/kaidan/0.8.0/kaidan-0.8.0.tar.xz source = https://download.kde.org/unstable/kaidan/0.8.0/kaidan-0.8.0.tar.xz.sig + source = https://invent.kde.org/network/kaidan/-/commit/9a2f8877.patch + source = https://invent.kde.org/network/kaidan/-/commit/dc41a3f3.patch + source = https://invent.kde.org/network/kaidan/-/commit/c92fe312.patch validpgpkeys = 03C2D10DC97E5B0BEBB8F3B44663231A91A1E27B sha256sums = a7e772dc7abab565fdf9a7bdaf575a6229bdd509de0891079a83bd32766bb1a4 sha256sums = SKIP + sha256sums = 8b354fa244dfccc0a9069a4f6b484b904c7ce4b173c56f247acc854223d8e3bd + sha256sums = 068e36e7a9434bbf79af1652f3cfa1997baf04acd4d3072ac4e95b07c1abc250 + sha256sums = 8baae6ed49881954b962fba8aa4ed3a2b53ffbae4df5f10696a6635e2864b862 pkgname = kaidan - @@ -2,18 +2,30 @@ pkgname=kaidan pkgver=0.8.0 -pkgrel=1 +pkgrel=2 pkgdesc='A user-friendly XMPP client for every device' arch=(x86_64) url='https://www.kaidan.im/' license=(GPL3 MIT) depends=(knotifications kirigami2 qt5-location qt5-svg qxmpp zxing-cpp hicolor-icon-theme) makedepends=(extra-cmake-modules) -source=(https://download.kde.org/unstable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz{,.sig}) +source=(https://download.kde.org/unstable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz{,.sig} + https://invent.kde.org/network/kaidan/-/commit/9a2f8877.patch + https://invent.kde.org/network/kaidan/-/commit/dc41a3f3.patch + https://invent.kde.org/network/kaidan/-/commit/c92fe312.patch) sha256sums=('a7e772dc7abab565fdf9a7bdaf575a6229bdd509de0891079a83bd32766bb1a4' - 'SKIP') + 'SKIP' + '8b354fa244dfccc0a9069a4f6b484b904c7ce4b173c56f247acc854223d8e3bd' + '068e36e7a9434bbf79af1652f3cfa1997baf04acd4d3072ac4e95b07c1abc250' + '8baae6ed49881954b962fba8aa4ed3a2b53ffbae4df5f10696a6635e2864b862') validpgpkeys=(03C2D10DC97E5B0BEBB8F3B44663231A91A1E27B) # Linus Jahn <lnj@kaidan.im> +prepare() { + patch -d $pkgname-$pkgver -p1 < 9a2f8877.patch # ZXing-cpp 2 support + patch -d $pkgname-$pkgver -p1 < dc41a3f3.patch + patch -d $pkgname-$pkgver -p1 < c92fe312.patch +} + build() { cmake -B build -S $pkgname-$pkgver cmake --build build |