[arch-commits] Commit in cockatrice/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Wed Aug 19 23:40:51 UTC 2020


    Date: Wednesday, August 19, 2020 @ 23:40:50
  Author: ffy00
Revision: 685252

fix compilation against Qt 5.15

Modified:
  cockatrice/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-19 23:35:21 UTC (rev 685251)
+++ PKGBUILD	2020-08-19 23:40:50 UTC (rev 685252)
@@ -17,9 +17,17 @@
 optdepends=('zlib: Load zipped files in Oracle')
 provides=('cockatrice-client' 'cockatrice-server')
 conflicts=('cockatrice-client' 'cockatrice-server')
-source=("git+https://github.com/Cockatrice/Cockatrice.git#tag=$_tag")
-sha512sums=('SKIP')
+source=("git+https://github.com/Cockatrice/Cockatrice.git#tag=$_tag"
+        'fix-qt-5.15.patch::https://github.com/Cockatrice/Cockatrice/commit/7fa1936d0f4efffa16ae28d6bd3f9e727e207046.patch')
+sha512sums=('SKIP'
+            '1a61d9fdfa939d2d773d226f6efd0e3446f57b1571548a8b46b7dbadc13674ad9bb2099f0f8c45a1a0e01286118b026981840ccce3874252af3eb4cd35e64548')
 
+prepare() {
+  cd $_pkgname
+
+  patch -p1 -i ../fix-qt-5.15.patch
+}
+
 build() {
   mkdir -p $_pkgname/build
   cd $_pkgname/build



More information about the arch-commits mailing list