desktop/gnome-shell-extensions: Meson patch.

Signed-off-by: bedlam <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Bob Funk 2023-02-09 22:30:00 +00:00 committed by Willy Sudiarto Raharjo
parent 5953e6209c
commit 2c2ebd3597
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 14 additions and 0 deletions

View file

@ -76,6 +76,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Patch data/meson.build to remove unused arguments, which cause FTB in meson
# versions 0.60.0 and later (i.e. gets this build working in -current).
patch -Np1 -i $CWD/meson-build_remove-unused-argument.patch
mkdir build
cd build
CFLAGS="$SLKCFLAGS" \

View file

@ -0,0 +1,10 @@
diff -Naur gnome-shell-extensions-41.2/data/meson.build gnome-shell-extensions-41.2-patched/data/meson.build
--- gnome-shell-extensions-41.2/data/meson.build 2022-02-15 19:54:18.000000000 +0000
+++ gnome-shell-extensions-41.2-patched/data/meson.build 2023-02-05 16:42:11.238927940 +0000
@@ -1,5 +1,5 @@
session_desktop = 'gnome-classic.desktop'
-i18n.merge_file('',
+i18n.merge_file(
input: session_desktop + '.in',
output: session_desktop,
po_dir: '../po',