git: d756a95a8807 - main - x11/gnome-shell-extensions: Update to 42.0

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Fri, 15 Apr 2022 19:49:34 UTC
The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d756a95a88070cf00ce1a6eb66a6eac8646fa0ac

commit d756a95a88070cf00ce1a6eb66a6eac8646fa0ac
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2022-04-15 19:49:17 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-04-15 19:49:29 +0000

    x11/gnome-shell-extensions: Update to 42.0
---
 x11/gnome-shell-extensions/Makefile                     |  7 ++++---
 x11/gnome-shell-extensions/distinfo                     |  6 +++---
 x11/gnome-shell-extensions/files/patch-data_meson.build | 13 -------------
 x11/gnome-shell-extensions/pkg-plist                    |  4 ++++
 4 files changed, 11 insertions(+), 19 deletions(-)

diff --git a/x11/gnome-shell-extensions/Makefile b/x11/gnome-shell-extensions/Makefile
index 3a3391d29571..b5c62a4db230 100644
--- a/x11/gnome-shell-extensions/Makefile
+++ b/x11/gnome-shell-extensions/Makefile
@@ -1,7 +1,7 @@
 # Created by: Koop Mast <kwm@FreeBSD.org>
 
 PORTNAME=	gnome-shell-extensions
-PORTVERSION=	41.2
+PORTVERSION=	42.0
 CATEGORIES=	x11 gnome
 MASTER_SITES=	GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
 DIST_SUBDIR=	gnome
@@ -14,16 +14,17 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	sassc:textproc/sassc
 LIB_DEPENDS=	libgjs.so:lang/gjs
-RUN_DEPENDS=	gnome-shell>=41.0:x11/gnome-shell
+RUN_DEPENDS=	gnome-shell>=42.0:x11/gnome-shell
 
 PORTSCOUT=	limitw:1,even
 
 NO_ARCH=	yes
-USES=		gettext gnome meson pkgconfig tar:xz
+USES=		gettext gnome meson pkgconfig python:3.8+ tar:xz
 USE_GNOME=	glib20 gnomedesktop3
 USE_LDCONFIG=	yes
 MESON_ARGS=	-Dextension_set=all \
 		-Dclassic_mode=true
+BINARY_ALIAS=	python3=${PYTHON_CMD}
 
 GLIB_SCHEMAS=	00_org.gnome.shell.extensions.classic.gschema.override \
 		org.gnome.shell.extensions.auto-move-windows.gschema.xml \
diff --git a/x11/gnome-shell-extensions/distinfo b/x11/gnome-shell-extensions/distinfo
index f36991ca82fc..9c9527d3f411 100644
--- a/x11/gnome-shell-extensions/distinfo
+++ b/x11/gnome-shell-extensions/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1646338394
-SHA256 (gnome/gnome-shell-extensions-41.2.tar.xz) = ad9ba82f4cbd04726973b5e87afad18afdaa323860a0af3e7240f3a74d222f19
-SIZE (gnome/gnome-shell-extensions-41.2.tar.xz) = 222528
+TIMESTAMP = 1650051809
+SHA256 (gnome/gnome-shell-extensions-42.0.tar.xz) = 3ee65b75b1afd8bcca0a2a03da9b2884787ed40e257a881d9aa6ef7c8727602f
+SIZE (gnome/gnome-shell-extensions-42.0.tar.xz) = 226240
diff --git a/x11/gnome-shell-extensions/files/patch-data_meson.build b/x11/gnome-shell-extensions/files/patch-data_meson.build
deleted file mode 100644
index c9a0cc88efb1..000000000000
--- a/x11/gnome-shell-extensions/files/patch-data_meson.build
+++ /dev/null
@@ -1,13 +0,0 @@
-https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/210
-
-data/meson.build:2:5: ERROR: Function does not take positional arguments.
-
---- data/meson.build.orig	2021-12-11 13:32:22 UTC
-+++ data/meson.build
-@@ -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',
diff --git a/x11/gnome-shell-extensions/pkg-plist b/x11/gnome-shell-extensions/pkg-plist
index 850fdb75d9a2..60afae7793fd 100644
--- a/x11/gnome-shell-extensions/pkg-plist
+++ b/x11/gnome-shell-extensions/pkg-plist
@@ -50,6 +50,7 @@ share/gnome-shell/theme/classic-toggle-on-intl.svg
 share/gnome-shell/theme/classic-toggle-on-us.svg
 share/gnome-shell/theme/gnome-classic-high-contrast.css
 share/gnome-shell/theme/gnome-classic.css
+share/locale/ab/LC_MESSAGES/gnome-shell-extensions.mo
 share/locale/af/LC_MESSAGES/gnome-shell-extensions.mo
 share/locale/an/LC_MESSAGES/gnome-shell-extensions.mo
 share/locale/ar/LC_MESSAGES/gnome-shell-extensions.mo
@@ -121,4 +122,7 @@ share/locale/vi/LC_MESSAGES/gnome-shell-extensions.mo
 share/locale/zh_CN/LC_MESSAGES/gnome-shell-extensions.mo
 share/locale/zh_HK/LC_MESSAGES/gnome-shell-extensions.mo
 share/locale/zh_TW/LC_MESSAGES/gnome-shell-extensions.mo
+share/wayland-sessions/gnome-classic-wayland.desktop
+share/wayland-sessions/gnome-classic.desktop
+share/xsessions/gnome-classic-xorg.desktop
 share/xsessions/gnome-classic.desktop