summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2024-06-13 11:48:34 +0200
committerJan Beich <jbeich@FreeBSD.org>2024-06-15 02:57:48 +0200
commit8287c94e90acf8a131dd3caa1b799712afd76b14 (patch)
treea5c808415a25e2f76bd31e0f2da0e4d805eb570c
parent2ae94b2b06322ecfcd3c37b1142d4143b83b148f (diff)
downloadfreebsd-ports-8287c94e90acf8a131dd3caa1b799712afd76b14.zip
x11/xdg-desktop-portal-hyprland: update to 1.3.2
Changes: https://github.com/hyprwm/xdg-desktop-portal-hyprland/releases/tag/v1.3.2 Reported by: GitHub (watch releases) (cherry picked from commit 6482a6db7b5602a1cd59b6d993bba46398860754)
-rw-r--r--x11/xdg-desktop-portal-hyprland/Makefile9
-rw-r--r--x11/xdg-desktop-portal-hyprland/distinfo14
-rw-r--r--x11/xdg-desktop-portal-hyprland/files/patch-qt524
3 files changed, 28 insertions, 19 deletions
diff --git a/x11/xdg-desktop-portal-hyprland/Makefile b/x11/xdg-desktop-portal-hyprland/Makefile
index 18ae03f006d0..a2ae35bd3f24 100644
--- a/x11/xdg-desktop-portal-hyprland/Makefile
+++ b/x11/xdg-desktop-portal-hyprland/Makefile
@@ -1,15 +1,8 @@
PORTNAME= xdg-desktop-portal-hyprland
DISTVERSIONPREFIX= v
-DISTVERSION= 1.3.1
-PORTREVISION= 5
+DISTVERSION= 1.3.2
CATEGORIES= x11 wayland
-PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES+= 65fb44ae4960.patch:-p1 # https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/190
-PATCHFILES+= 9c370fd55d6e.patch:-p1 # https://github.com/hyprwm/xdg-desktop-portal-hyprland/pull/193
-PATCHFILES+= 4fc83e6871e9.patch:-p1 # unbreak MALLOC_CONF=junk:true
-PATCHFILES+= 9ace6f969ce4.patch:-p1 # https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/207
-
MAINTAINER= jbeich@FreeBSD.org
COMMENT= xdg-desktop-portal backend for hyprland
WWW= https://github.com/hyprwm/xdg-desktop-portal-hyprland
diff --git a/x11/xdg-desktop-portal-hyprland/distinfo b/x11/xdg-desktop-portal-hyprland/distinfo
index 18eb43fb44a6..a42bb438ae6a 100644
--- a/x11/xdg-desktop-portal-hyprland/distinfo
+++ b/x11/xdg-desktop-portal-hyprland/distinfo
@@ -1,15 +1,7 @@
-TIMESTAMP = 1704466722
-SHA256 (hyprwm-xdg-desktop-portal-hyprland-v1.3.1_GH0.tar.gz) = 60b390f326b84cc52657b735e3d7ba8f03aa3363672100dba47580984491611f
-SIZE (hyprwm-xdg-desktop-portal-hyprland-v1.3.1_GH0.tar.gz) = 46999
+TIMESTAMP = 1718272114
+SHA256 (hyprwm-xdg-desktop-portal-hyprland-v1.3.2_GH0.tar.gz) = 8f77a11c4d3df1b6d963f408ea1159d093e3b14ea0cb8c64094fca9821af2e26
+SIZE (hyprwm-xdg-desktop-portal-hyprland-v1.3.2_GH0.tar.gz) = 48659
SHA256 (hyprwm-hyprland-protocols-v0.2_GH0.tar.gz) = 106cb189d0fbe4ec0ee11a12a17238172f4c4cd1b2b26db904df144e5c7a05f0
SIZE (hyprwm-hyprland-protocols-v0.2_GH0.tar.gz) = 6342
SHA256 (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = b5a9ff1793b1e2d388a3819bf35797002b1d2e40bb35a10c65605e0ea1435271
SIZE (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = 179289803
-SHA256 (65fb44ae4960.patch) = 26a3232c3dd9cdbc7f322a194dc37ca41df43be953d36d1d6228e285fa467f87
-SIZE (65fb44ae4960.patch) = 894
-SHA256 (9c370fd55d6e.patch) = cad38c734274449f9dbab356f7643c0e41b378d5609a17593ca3b39f3e722030
-SIZE (9c370fd55d6e.patch) = 1096
-SHA256 (4fc83e6871e9.patch) = ed10c6554c56aaec248ae9aeca58b40cc9327ff63fe99c36a2810c495624e681
-SIZE (4fc83e6871e9.patch) = 918
-SHA256 (9ace6f969ce4.patch) = b92e24d009ec4a3ab6d1296a1b1320a18f6be51ddde267711e7fa30b19acd2b6
-SIZE (9ace6f969ce4.patch) = 1257
diff --git a/x11/xdg-desktop-portal-hyprland/files/patch-qt5 b/x11/xdg-desktop-portal-hyprland/files/patch-qt5
new file mode 100644
index 000000000000..f95bd0b8d56b
--- /dev/null
+++ b/x11/xdg-desktop-portal-hyprland/files/patch-qt5
@@ -0,0 +1,24 @@
+Revert https://github.com/hyprwm/xdg-desktop-portal-hyprland/commit/2d2fb547178e
+
+--- hyprland-share-picker/CMakeLists.txt.orig 2024-06-13 09:48:34 UTC
++++ hyprland-share-picker/CMakeLists.txt
+@@ -2,8 +2,6 @@ project(hyprland-share-picker VERSION 0.1 LANGUAGES CX
+
+ project(hyprland-share-picker VERSION 0.1 LANGUAGES CXX)
+
+-set(QT_VERSION_MAJOR 6)
+-
+ set(CMAKE_AUTOUIC ON)
+ set(CMAKE_AUTOMOC ON)
+ set(CMAKE_AUTORCC ON)
+@@ -11,8 +9,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
+ set(CMAKE_CXX_STANDARD 17)
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
+
+-find_package(QT NAMES Qt6 REQUIRED COMPONENTS Widgets)
+-find_package(Qt6 REQUIRED COMPONENTS Widgets)
++find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets)
++find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets)
+
+ set(PROJECT_SOURCES
+ main.cpp