[arch-commits] Commit in gnome-games/trunk (PKGBUILD meson-0.60.patch)

Antonio Rojas arojas at gemini.archlinux.org
Mon Apr 25 18:38:12 UTC 2022


    Date: Monday, April 25, 2022 @ 18:38:11
  Author: arojas
Revision: 1190034

CE0BDE71A759A87F23F0F7D8B61DBCE10901C163 key rebuild

Added:
  gnome-games/trunk/meson-0.60.patch
Modified:
  gnome-games/trunk/PKGBUILD

------------------+
 PKGBUILD         |   11 ++++++++---
 meson-0.60.patch |   20 ++++++++++++++++++++
 2 files changed, 28 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-25 18:33:08 UTC (rev 1190033)
+++ PKGBUILD	2022-04-25 18:38:11 UTC (rev 1190034)
@@ -3,7 +3,7 @@
 
 pkgname=gnome-games
 pkgver=40.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Simple game launcher for GNOME'
 arch=('x86_64')
 url='https://wiki.gnome.org/Apps/Games'
@@ -31,9 +31,11 @@
 #            'libretro-prosystem: Support for Atari 7800 games'
 #            'libretro-stella2014: Support for Atari 2600 games'
 source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
-        'tracker3.patch')
+        'tracker3.patch'
+        'meson-0.60.patch')
 sha256sums=('32cd413f89292a74b0a84a5a30d0f4878ce42caea36374b1fb4dce3b4f6adf0f'
-            '6eaa476f7de1b17848ea64ce99b583a431c3cce6b48d49f034ac2d611a1bdb27')
+            '6eaa476f7de1b17848ea64ce99b583a431c3cce6b48d49f034ac2d611a1bdb27'
+            'dc55d441d90c70f1767ec84390b95364a599397ce3af98d4d1b4f5368a4eb89c')
 
 prepare() {
   cd $pkgname-$pkgver
@@ -40,6 +42,9 @@
   # Port to Tracker 3
   patch -Np1 -i ../tracker3.patch
 
+  # Fix build with meson 0.60 (Alpine)
+  patch -p1 -i ../meson-0.60.patch
+
   # Replace pcsx_rearmed with mednafen_psx
   mv flatpak/libretro-cores/{pcsx_rearmed,mednafen_psx}.libretro
   sed -i 's/^Name=.*/Name=Beetle PSX/

Added: meson-0.60.patch
===================================================================
--- meson-0.60.patch	                        (rev 0)
+++ meson-0.60.patch	2022-04-25 18:38:11 UTC (rev 1190034)
@@ -0,0 +1,20 @@
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -44,7 +44,7 @@
+ desktop_conf = configuration_data()
+ desktop_conf.set('icon', application_id)
+ desktop_conf.set('mimetypes', ';'.join(mime_types) + ';')
+-desktop_file = i18n.merge_file ('desktop-file',
++desktop_file = i18n.merge_file (
+   type: 'desktop',
+   input: configure_file(
+     input: files('org.gnome.Games.desktop.in.in'),
+@@ -70,7 +70,7 @@
+ 
+ appdata_conf = configuration_data()
+ appdata_conf.set('appid', application_id)
+-appdata_file = i18n.merge_file ('appdata-file',
++appdata_file = i18n.merge_file (
+   input: configure_file(
+     input: files('org.gnome.Games.appdata.xml.in.in'),
+     output: 'org.gnome.Games.appdata.xml.in',



More information about the arch-commits mailing list