public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-12-04 18:00 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-12-04 18:00 UTC (permalink / raw
  To: gentoo-commits

commit:     7d691752dab2e00cb99eb162e576a40177025d4e
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Mon Dec  4 18:00:16 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Mon Dec  4 18:00:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7d691752

gui-libs/xdg-desktop-portal-hyprland: add missing dies

Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 .../xdg-desktop-portal-hyprland-1.2.5.ebuild                        | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild
index 4c9eb4dc37..a80f565359 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild
@@ -74,7 +74,7 @@ src_unpack() {
 
 src_prepare() {
 	eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.2.5_use_sys_sdbus-c++.patch"
-	sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die "Sed failed"
+	sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die
 	cmake_src_prepare
 }
 
@@ -96,12 +96,12 @@ src_install() {
 	doins "${S}/hyprland.portal"
 
 	# systemd service
-	sed -i "s|@libexecdir@|${LIBEXEC}|g" "${SYSTEMD_SERVICE}.in"
+	sed -i "s|@libexecdir@|${LIBEXEC}|g" "${SYSTEMD_SERVICE}.in" || die
 	mv "${SYSTEMD_SERVICE}.in" "${SYSTEMD_SERVICE}" || die
 	systemd_douserunit "${SYSTEMD_SERVICE}"
 
 	# dbus service
-	sed -i "s|@libexecdir@|${LIBEXEC}|g" "${DBUS_SERVICE}.in"
+	sed -i "s|@libexecdir@|${LIBEXEC}|g" "${DBUS_SERVICE}.in" || die
 	mv "${DBUS_SERVICE}.in" "${DBUS_SERVICE}"
 	insinto /usr/share/dbus-1/services/
 	doins "${DBUS_SERVICE}"


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2024-07-22 19:29 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 46+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-07-22 19:29 UTC (permalink / raw
  To: gentoo-commits

commit:     f2fabcf9d662492d5b6bab1ffe79dd5a615e774c
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Mon Jul 22 19:26:36 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Mon Jul 22 19:28:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f2fabcf9

gui-libs/xdg-desktop-portal-hyprland: hyprland-share-picker hard
requires qt6
* applying qt6 migration to all ebuilds

Closes: https://bugs.gentoo.org/935779
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 ...1.3.3-r1.ebuild => xdg-desktop-portal-hyprland-1.3.3-r2.ebuild} | 5 +----
 .../xdg-desktop-portal-hyprland-9999.ebuild                        | 7 ++-----
 2 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.3-r1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.3-r2.ebuild
similarity index 96%
rename from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.3-r1.ebuild
rename to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.3-r2.ebuild
index 65cb77340..f49c02593 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.3-r1.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.3-r2.ebuild
@@ -27,11 +27,8 @@ DEPEND="
 	dev-libs/hyprlang:=
 	dev-libs/inih
 	dev-libs/wayland
-	dev-qt/qtbase
-	dev-qt/qtcore
-	dev-qt/qtgui
+	dev-qt/qtbase:6[gui,widgets]
 	dev-qt/qtwayland:6
-	dev-qt/qtwidgets
 	media-libs/mesa
 	sys-apps/util-linux
 	x11-libs/libdrm

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
index 465163d48..f49c02593 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
@@ -22,16 +22,13 @@ IUSE="elogind systemd"
 REQUIRED_USE="?? ( elogind systemd )"
 
 DEPEND="
-	>=media-video/pipewire-0.3.41:=
+	>=media-video/pipewire-1.2.0:=
 	dev-cpp/sdbus-c++
 	dev-libs/hyprlang:=
 	dev-libs/inih
 	dev-libs/wayland
-	dev-qt/qtbase
-	dev-qt/qtcore
-	dev-qt/qtgui
+	dev-qt/qtbase:6[gui,widgets]
 	dev-qt/qtwayland:6
-	dev-qt/qtwidgets
 	media-libs/mesa
 	sys-apps/util-linux
 	x11-libs/libdrm


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2024-07-22 19:29 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 46+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-07-22 19:29 UTC (permalink / raw
  To: gentoo-commits

commit:     6dcb18e838a08ad49746bfd2e5e1facdf6169e2d
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Mon Jul 22 19:21:23 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Mon Jul 22 19:21:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6dcb18e8

gui-libs/xdg-desktop-portal-hyprland: pipewire version need to be bump
to 1.2.1 do to a error compiling with gcc
* More info: https://github.com/PipeWire/pipewire/commit/da1dbc1

Closes: https://bugs.gentoo.org/935669
Closes: https://bugs.gentoo.org/936487
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 ...yprland-1.3.3.ebuild => xdg-desktop-portal-hyprland-1.3.3-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.3.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.3-r1.ebuild
similarity index 98%
rename from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.3.ebuild
rename to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.3-r1.ebuild
index 465163d48..65cb77340 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.3.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.3-r1.ebuild
@@ -22,7 +22,7 @@ IUSE="elogind systemd"
 REQUIRED_USE="?? ( elogind systemd )"
 
 DEPEND="
-	>=media-video/pipewire-0.3.41:=
+	>=media-video/pipewire-1.2.0:=
 	dev-cpp/sdbus-c++
 	dev-libs/hyprlang:=
 	dev-libs/inih


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2024-07-22 16:32 John M. Harris, Jr.
  0 siblings, 0 replies; 46+ messages in thread
From: John M. Harris, Jr. @ 2024-07-22 16:32 UTC (permalink / raw
  To: gentoo-commits

commit:     ca1fa7221cf7a1c7132e2519e1e444081d4630ae
Author:     John M. Harris Jr. <johnmh <AT> johnmh <DOT> me>
AuthorDate: Mon Jul 22 16:32:38 2024 +0000
Commit:     John M. Harris, Jr. <johnmh <AT> johnmh <DOT> me>
CommitDate: Mon Jul 22 16:32:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ca1fa722

gui-libs/xdg-desktop-portal-hyprland: add 1.3.3

Signed-off-by: John M. Harris Jr. <johnmh <AT> johnmh.me>

 gui-libs/xdg-desktop-portal-hyprland/Manifest      |  1 +
 .../xdg-desktop-portal-hyprland-1.3.3.ebuild       | 75 ++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
index 653e7e97e..d975ebfc8 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/Manifest
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -1,3 +1,4 @@
 DIST proto-subproject-1.3.1.tar.gz 6343 BLAKE2B cffa25c1fbac992db9aee57956615c2a5f8a6e90150d86246218e6d346e566a43527f56cab08b07359bd2f56b1e02b741fb0dbb37ec35fbadd22dfdb2006d3b0 SHA512 f8534c0f6562ce3c770ed9c79b8b78504d6f3aa75001c74ecfa5418af939e88a020ca1cef08d20c62e73c764d66452b5ce212a0f0d2e9a3aaba635ee80b142c5
 DIST xdg-desktop-hyprland-1.3.1.tar.gz 46999 BLAKE2B 17dd6883d90985075dc8bdeb4901ad393fb6ab541aba901536f761464e313e87485a4589f6691321e1e9615817206318362afeaef424ef8f603868ed0d7f26d6 SHA512 8d0f9b97fca4566efe717de6d739d10ec51ce5aa33459940f759fc90543fcca3b094d3e570446c5f82c9146249ce39c00fa215b0b83573a466a9907aec9366f3
 DIST xdg-desktop-portal-hyprland-1.3.2.gh.tar.gz 48659 BLAKE2B 034eb274761710ab7162ebcb840414a612f0dbe5efcf1d3891c36fe94f8d837281151d2b15968faea024381bd25714f1b96989bdd43bfde596ec363949e4e08e SHA512 32630705079b600c22614abdf047f415bf5128697e63fa2e41d5b4028b0957a866acd817087397f60a4c6ad32829cbf00e1dea8f85db8cbdb26e7c96e92cef9e
+DIST xdg-desktop-portal-hyprland-1.3.3.gh.tar.gz 49323 BLAKE2B 6f0bd6636d1a457d238dbb9095782a41961e30b37eacd05e1a4d545fc933b9d3b529400321a31cfb08c6b5d69279bb8905e84f11743bf97b22587432a5e9cf14 SHA512 c100ca27e9cd430602ad0ea4733f34919d84206df084df0d9f8ed8ca8a634069cc7ef71cb587f92eae6eeedf4029a88644b24b9b8d37138cb544279f5be30720

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.3.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.3.ebuild
new file mode 100644
index 000000000..465163d48
--- /dev/null
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.3.ebuild
@@ -0,0 +1,75 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake toolchain-funcs
+
+DESCRIPTION="xdg-desktop-portal backend for hyprland"
+HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
+
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://github.com/hyprwm/${PN}.git"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/hyprwm/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="elogind systemd"
+REQUIRED_USE="?? ( elogind systemd )"
+
+DEPEND="
+	>=media-video/pipewire-0.3.41:=
+	dev-cpp/sdbus-c++
+	dev-libs/hyprlang:=
+	dev-libs/inih
+	dev-libs/wayland
+	dev-qt/qtbase
+	dev-qt/qtcore
+	dev-qt/qtgui
+	dev-qt/qtwayland:6
+	dev-qt/qtwidgets
+	media-libs/mesa
+	sys-apps/util-linux
+	x11-libs/libdrm
+	|| (
+		systemd? ( >=sys-apps/systemd-237 )
+		elogind? ( >=sys-auth/elogind-237 )
+		sys-libs/basu
+	)
+"
+
+RDEPEND="
+	${DEPEND}
+	sys-apps/xdg-desktop-portal
+"
+
+BDEPEND="
+	>=dev-libs/wayland-protocols-1.24
+	dev-libs/hyprland-protocols
+	virtual/pkgconfig
+	|| ( >=sys-devel/gcc-13:* >=sys-devel/clang-17:* )
+"
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} == binary ]] && return
+
+	if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then
+		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
+		eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
+		die "GCC version is too old to compile XDPH!"
+	elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then
+		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
+		eerror "Please upgrade Clang: emerge -v1 sys-devel/clang"
+		die "Clang version is too old to compile XDPH!"
+	fi
+}
+
+src_prepare() {
+	eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.3.2_use_sys_sdbus-c++.patch"
+	sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die
+	cmake_src_prepare
+}


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2024-07-06 19:05 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 46+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-07-06 19:05 UTC (permalink / raw
  To: gentoo-commits

commit:     c84ff2b9e64576e62fc455da87ecb3349aecef6a
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Sat Jul  6 19:05:13 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Sat Jul  6 19:05:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c84ff2b9

gui-libs/xdg-desktop-portal-hyprland: removed qt6 from REQUIRED_USE

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 .../xdg-desktop-portal-hyprland-1.3.2-r1.ebuild                         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.2-r1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.2-r1.ebuild
index 90ffc09a2..df2c5642a 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.2-r1.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.2-r1.ebuild
@@ -19,7 +19,7 @@ fi
 LICENSE="MIT"
 SLOT="0"
 IUSE="elogind qt6 systemd"
-REQUIRED_USE="?? ( elogind qt6 systemd )"
+REQUIRED_USE="?? ( elogind systemd )"
 
 DEPEND="
 	>=media-video/pipewire-0.3.41:=


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2024-07-06 19:04 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 46+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-07-06 19:04 UTC (permalink / raw
  To: gentoo-commits

commit:     d242004fcfd4ec87bf5a135832d2b7fcf1413b7c
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Sat Jul  6 19:03:29 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Sat Jul  6 19:03:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d242004f

gui-libs/xdg-desktop-portal-hyprland: removed qt6 from REQUIRED_USE

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 ...prland-1.3.1-r1.ebuild => xdg-desktop-portal-hyprland-1.3.1-r2.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1-r1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1-r2.ebuild
similarity index 100%
rename from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1-r1.ebuild
rename to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1-r2.ebuild


^ permalink raw reply	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2024-07-06 18:51 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 46+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-07-06 18:51 UTC (permalink / raw
  To: gentoo-commits

commit:     dc93912b9fdf0097e7f1f04ac7b4a188a6c5c9ba
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Sat Jul  6 18:48:45 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Sat Jul  6 18:51:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dc93912b

gui-libs/xdg-desktop-portal-hyprland: add missing qt6 iuse to 1.3.2-r1

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 .../xdg-desktop-portal-hyprland-1.3.2-r1.ebuild                       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.2-r1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.2-r1.ebuild
index 8c04bb055..90ffc09a2 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.2-r1.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.2-r1.ebuild
@@ -18,8 +18,8 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="elogind systemd"
-REQUIRED_USE="?? ( elogind systemd )"
+IUSE="elogind qt6 systemd"
+REQUIRED_USE="?? ( elogind qt6 systemd )"
 
 DEPEND="
 	>=media-video/pipewire-0.3.41:=


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2024-07-06 18:42 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 46+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-07-06 18:42 UTC (permalink / raw
  To: gentoo-commits

commit:     98f711ce489009ccb7451c955df23d8bea063544
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Sat Jul  6 18:37:22 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Sat Jul  6 18:42:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=98f711ce

gui-libs/xdg-desktop-portal-hyprland: drop 1.1.0-r1, 1.2.2-r2, 1.2.5-r2, 1.2.6-r1, 1.3.1

* Some version here are really old and don't respect the qt6 migration

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 gui-libs/xdg-desktop-portal-hyprland/Manifest      |   7 --
 .../xdg-desktop-portal-hyprland-1.1.0-r1.ebuild    |  82 ---------------
 .../xdg-desktop-portal-hyprland-1.2.2-r2.ebuild    | 117 ---------------------
 .../xdg-desktop-portal-hyprland-1.2.5-r2.ebuild    | 117 ---------------------
 .../xdg-desktop-portal-hyprland-1.2.6-r1.ebuild    | 117 ---------------------
 .../xdg-desktop-portal-hyprland-1.3.1.ebuild       |  94 -----------------
 6 files changed, 534 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
index 3ddac89bb..653e7e97e 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/Manifest
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -1,10 +1,3 @@
-DIST proto-subproject-1.2.2.tar.gz 6343 BLAKE2B cffa25c1fbac992db9aee57956615c2a5f8a6e90150d86246218e6d346e566a43527f56cab08b07359bd2f56b1e02b741fb0dbb37ec35fbadd22dfdb2006d3b0 SHA512 f8534c0f6562ce3c770ed9c79b8b78504d6f3aa75001c74ecfa5418af939e88a020ca1cef08d20c62e73c764d66452b5ce212a0f0d2e9a3aaba635ee80b142c5
-DIST proto-subproject-1.2.5.tar.gz 6343 BLAKE2B cffa25c1fbac992db9aee57956615c2a5f8a6e90150d86246218e6d346e566a43527f56cab08b07359bd2f56b1e02b741fb0dbb37ec35fbadd22dfdb2006d3b0 SHA512 f8534c0f6562ce3c770ed9c79b8b78504d6f3aa75001c74ecfa5418af939e88a020ca1cef08d20c62e73c764d66452b5ce212a0f0d2e9a3aaba635ee80b142c5
-DIST proto-subproject-1.2.6.tar.gz 6343 BLAKE2B cffa25c1fbac992db9aee57956615c2a5f8a6e90150d86246218e6d346e566a43527f56cab08b07359bd2f56b1e02b741fb0dbb37ec35fbadd22dfdb2006d3b0 SHA512 f8534c0f6562ce3c770ed9c79b8b78504d6f3aa75001c74ecfa5418af939e88a020ca1cef08d20c62e73c764d66452b5ce212a0f0d2e9a3aaba635ee80b142c5
 DIST proto-subproject-1.3.1.tar.gz 6343 BLAKE2B cffa25c1fbac992db9aee57956615c2a5f8a6e90150d86246218e6d346e566a43527f56cab08b07359bd2f56b1e02b741fb0dbb37ec35fbadd22dfdb2006d3b0 SHA512 f8534c0f6562ce3c770ed9c79b8b78504d6f3aa75001c74ecfa5418af939e88a020ca1cef08d20c62e73c764d66452b5ce212a0f0d2e9a3aaba635ee80b142c5
-DIST xdg-desktop-hyprland-1.1.0.tar.gz 42732 BLAKE2B aa78b9f3a5812988e8324b71cc265c4b2ca23d0b12239c3ac13d068a46200504685da0fb57093f0689101fc2235cb7825646a4669bfe1894928d57a3259df9e3 SHA512 e02fa5bb19ca20cdee9a2e6ad0beb507d96118e095b1e5a1836cc16a35492a9ba5db36b06e5be561adcbf16d8716c38cbb1ed373965416696c69448fbd020c10
-DIST xdg-desktop-hyprland-1.2.2.tar.gz 43233 BLAKE2B 3d3d955596051da3a3384dab75a516a47627175ac584e6c8967ffe83607a99d99b8c8365b04f57976b8fe41917354217ca0bf3cb07f5e64cc099a1fb6fc3ef8a SHA512 10c8a0eb23a65535dcb16c30d42e2a71268d5a05b88f14ff4c1bedc127241e4da6c516217287b3499677c92f06034f8ebc0f743c181d4dd3bf7a35423128e141
-DIST xdg-desktop-hyprland-1.2.5.tar.gz 45688 BLAKE2B d99a399b9e3ff12ddd73293638177b919a37d7922eb35071efdc86f6c5c311995578b1143fd1bb337171aebb9b43b9719957bb40a2a668563fd6ac7dd62c7ad0 SHA512 8ee18e1535a419a146fc7ae2adce53a3fbab8a339ed48594022d525d5892bc979c9ffb6f28da76ec2e4d566213cbeab876470dab8949f218a24bc705877f0c67
-DIST xdg-desktop-hyprland-1.2.6.tar.gz 46109 BLAKE2B e5f714812d8a0eb1a98eef6a19d79b1d9fe6f1a5bc9a499cd8707e73a8b3709552b710c863d6a98aa653dbb5fa1eaf223cc20b4e3991146b5c19d5a7eb2b2870 SHA512 b51a9ea71a8365f5ad08e99e43257794af737a9fb4083b4e00a6d246b45bc6aba0e6204fc480c92a31b665aa836a4cb2193cab7047fadc8a8acf36de4a111516
 DIST xdg-desktop-hyprland-1.3.1.tar.gz 46999 BLAKE2B 17dd6883d90985075dc8bdeb4901ad393fb6ab541aba901536f761464e313e87485a4589f6691321e1e9615817206318362afeaef424ef8f603868ed0d7f26d6 SHA512 8d0f9b97fca4566efe717de6d739d10ec51ce5aa33459940f759fc90543fcca3b094d3e570446c5f82c9146249ce39c00fa215b0b83573a466a9907aec9366f3
 DIST xdg-desktop-portal-hyprland-1.3.2.gh.tar.gz 48659 BLAKE2B 034eb274761710ab7162ebcb840414a612f0dbe5efcf1d3891c36fe94f8d837281151d2b15968faea024381bd25714f1b96989bdd43bfde596ec363949e4e08e SHA512 32630705079b600c22614abdf047f415bf5128697e63fa2e41d5b4028b0957a866acd817087397f60a4c6ad32829cbf00e1dea8f85db8cbdb26e7c96e92cef9e

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0-r1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0-r1.ebuild
deleted file mode 100644
index 2cee528f1..000000000
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0-r1.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson toolchain-funcs
-
-DESCRIPTION="xdg-desktop-portal backend for hyprland"
-HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
-
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
-	inherit git-r3
-else
-	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-		-> xdg-desktop-hyprland-${PV}.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-LICENSE="MIT"
-SLOT="0/9999"
-IUSE="elogind systemd"
-REQUIRED_USE="?? ( elogind systemd )"
-
-DEPEND="
-	>=media-video/pipewire-0.3.41:=
-	dev-cpp/sdbus-c++
-	dev-libs/inih
-	dev-libs/wayland
-	dev-qt/qtbase
-	dev-qt/qtcore
-	dev-qt/qtgui
-	dev-qt/qtwayland:6
-	dev-qt/qtwidgets
-	media-libs/mesa
-	sys-apps/util-linux
-	x11-libs/libdrm
-	|| (
-		systemd? ( >=sys-apps/systemd-237 )
-		elogind? ( >=sys-auth/elogind-237 )
-		sys-libs/basu
-	)
-"
-RDEPEND="
-	${DEPEND}
-	sys-apps/xdg-desktop-portal
-"
-BDEPEND="
-	>=dev-libs/wayland-protocols-1.24
-	dev-libs/hyprland-protocols
-	virtual/pkgconfig
-	|| ( >=sys-devel/gcc-13:* >=sys-devel/clang-17:* )
-"
-
-pkg_setup() {
-		[[ ${MERGE_TYPE} == binary ]] && return
-
-	if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then
-		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
-		eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
-		die "GCC version is too old to compile XDPH!"
-	elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then
-		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
-		eerror "Please upgrade Clang: emerge -v1 sys-devel/clang"
-		die "Clang version is too old to compile XDPH!"
-	fi
-}
-
-src_prepare() {
-		eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.1.0_fix_clang.patch"
-		default
-}
-
-src_compile() {
-	meson_src_compile
-	emake -C hyprland-share-picker all
-}
-
-src_install() {
-	meson_src_install
-	dobin "${S}/hyprland-share-picker/build/hyprland-share-picker"
-}

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2-r2.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2-r2.ebuild
deleted file mode 100644
index f01109cf6..000000000
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2-r2.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd cmake toolchain-funcs
-
-DESCRIPTION="xdg-desktop-portal backend for hyprland"
-HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
-
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
-	inherit git-r3
-else
-	PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
-	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-		-> xdg-desktop-hyprland-${PV}.tar.gz
-	https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
-		-> proto-subproject-${PV}.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="elogind systemd"
-REQUIRED_USE="?? ( elogind systemd )"
-
-DEPEND="
-	>=media-video/pipewire-0.3.41:=
-	dev-cpp/sdbus-c++
-	dev-libs/inih
-	dev-libs/wayland
-	dev-qt/qtbase
-	dev-qt/qtcore
-	dev-qt/qtgui
-	dev-qt/qtwayland:6
-	dev-qt/qtwidgets
-	media-libs/mesa
-	sys-apps/util-linux
-	x11-libs/libdrm
-	|| (
-		systemd? ( >=sys-apps/systemd-237 )
-		elogind? ( >=sys-auth/elogind-237 )
-		sys-libs/basu
-	)
-"
-
-RDEPEND="
-	${DEPEND}
-	sys-apps/xdg-desktop-portal
-"
-
-BDEPEND="
-	>=dev-libs/wayland-protocols-1.24
-	dev-libs/hyprland-protocols
-	virtual/pkgconfig
-	|| ( >=sys-devel/gcc-13:* >=sys-devel/clang-17:* )
-"
-
-pkg_setup() {
-	[[ ${MERGE_TYPE} == binary ]] && return
-
-	if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then
-		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
-		eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
-		die "GCC version is too old to compile XDPH!"
-	elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then
-		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
-		eerror "Please upgrade Clang: emerge -v1 sys-devel/clang"
-		die "Clang version is too old to compile XDPH!"
-	fi
-}
-
-src_unpack() {
-	if [[ ${PV} == 9999 ]]; then
-		git-r3_src_unpack
-	else
-		default
-		rmdir "${S}/subprojects/hyprland-protocols" || die
-		mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
-	fi
-}
-
-src_prepare() {
-	eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.2.5_use_sys_sdbus-c++.patch"
-	sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die "Sed failed"
-	cmake_src_prepare
-}
-
-src_compile() {
-	cmake_src_compile all
-}
-
-src_install() {
-	LIBEXEC="/usr/libexec"
-	SYSTEMD_SERVICE="${S}/contrib/systemd/xdg-desktop-portal-hyprland.service"
-	DBUS_SERVICE="${S}/org.freedesktop.impl.portal.desktop.hyprland.service"
-
-	cmake_src_install
-
-	exeinto $LIBEXEC
-	doexe "${BUILD_DIR}/xdg-desktop-portal-hyprland"
-
-	insinto /usr/share/xdg-desktop-portal/portals
-	doins "${S}/hyprland.portal"
-
-	# systemd service
-	sed -i "s|@libexecdir@|${LIBEXEC}|g" "${SYSTEMD_SERVICE}.in"
-	mv "${SYSTEMD_SERVICE}.in" "${SYSTEMD_SERVICE}" || die
-	systemd_douserunit "${SYSTEMD_SERVICE}"
-
-	# dbus service
-	sed -i "s|@libexecdir@|${LIBEXEC}|g" "${DBUS_SERVICE}.in"
-	mv "${DBUS_SERVICE}.in" "${DBUS_SERVICE}"
-	insinto /usr/share/dbus-1/services/
-	doins "${DBUS_SERVICE}"
-}

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5-r2.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5-r2.ebuild
deleted file mode 100644
index 17ca66188..000000000
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5-r2.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd cmake toolchain-funcs
-
-DESCRIPTION="xdg-desktop-portal backend for hyprland"
-HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
-
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
-	inherit git-r3
-else
-	PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
-	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-		-> xdg-desktop-hyprland-${PV}.tar.gz
-	https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
-		-> proto-subproject-${PV}.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="elogind systemd"
-REQUIRED_USE="?? ( elogind systemd )"
-
-DEPEND="
-	>=media-video/pipewire-0.3.41:=
-	dev-cpp/sdbus-c++
-	dev-libs/inih
-	dev-libs/wayland
-	dev-qt/qtbase
-	dev-qt/qtcore
-	dev-qt/qtgui
-	dev-qt/qtwayland:6
-	dev-qt/qtwidgets
-	media-libs/mesa
-	sys-apps/util-linux
-	x11-libs/libdrm
-	|| (
-		systemd? ( >=sys-apps/systemd-237 )
-		elogind? ( >=sys-auth/elogind-237 )
-		sys-libs/basu
-	)
-"
-
-RDEPEND="
-	${DEPEND}
-	sys-apps/xdg-desktop-portal
-"
-
-BDEPEND="
-	>=dev-libs/wayland-protocols-1.24
-	dev-libs/hyprland-protocols
-	virtual/pkgconfig
-	|| ( >=sys-devel/gcc-13:* >=sys-devel/clang-17:* )
-"
-
-pkg_setup() {
-	[[ ${MERGE_TYPE} == binary ]] && return
-
-	if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then
-		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
-		eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
-		die "GCC version is too old to compile XDPH!"
-	elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then
-		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
-		eerror "Please upgrade Clang: emerge -v1 sys-devel/clang"
-		die "Clang version is too old to compile XDPH!"
-	fi
-}
-
-src_unpack() {
-	if [[ ${PV} == 9999 ]]; then
-		git-r3_src_unpack
-	else
-		default
-		rmdir "${S}/subprojects/hyprland-protocols" || die
-		mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
-	fi
-}
-
-src_prepare() {
-	eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.2.5_use_sys_sdbus-c++.patch"
-	sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die
-	cmake_src_prepare
-}
-
-src_compile() {
-	cmake_src_compile all
-}
-
-src_install() {
-	LIBEXEC="/usr/libexec"
-	SYSTEMD_SERVICE="${S}/contrib/systemd/xdg-desktop-portal-hyprland.service"
-	DBUS_SERVICE="${S}/org.freedesktop.impl.portal.desktop.hyprland.service"
-
-	cmake_src_install
-
-	exeinto $LIBEXEC
-	doexe "${BUILD_DIR}/xdg-desktop-portal-hyprland"
-
-	insinto /usr/share/xdg-desktop-portal/portals
-	doins "${S}/hyprland.portal"
-
-	# systemd service
-	sed -i "s|@libexecdir@|${LIBEXEC}|g" "${SYSTEMD_SERVICE}.in" || die
-	mv "${SYSTEMD_SERVICE}.in" "${SYSTEMD_SERVICE}" || die
-	systemd_douserunit "${SYSTEMD_SERVICE}"
-
-	# dbus service
-	sed -i "s|@libexecdir@|${LIBEXEC}|g" "${DBUS_SERVICE}.in" || die
-	mv "${DBUS_SERVICE}.in" "${DBUS_SERVICE}"
-	insinto /usr/share/dbus-1/services/
-	doins "${DBUS_SERVICE}"
-}

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.6-r1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.6-r1.ebuild
deleted file mode 100644
index 0a6bf7fd0..000000000
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.6-r1.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd cmake toolchain-funcs
-
-DESCRIPTION="xdg-desktop-portal backend for hyprland"
-HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
-
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
-	inherit git-r3
-else
-	PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
-	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-		-> xdg-desktop-hyprland-${PV}.tar.gz
-	https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
-		-> proto-subproject-${PV}.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="elogind systemd"
-REQUIRED_USE="?? ( elogind systemd )"
-
-DEPEND="
-	>=media-video/pipewire-0.3.41:=
-	dev-cpp/sdbus-c++
-	dev-libs/inih
-	dev-libs/wayland
-	dev-qt/qtbase
-	dev-qt/qtcore
-	dev-qt/qtgui
-	dev-qt/qtwayland:6
-	dev-qt/qtwidgets
-	media-libs/mesa
-	sys-apps/util-linux
-	x11-libs/libdrm
-	|| (
-		systemd? ( >=sys-apps/systemd-237 )
-		elogind? ( >=sys-auth/elogind-237 )
-		sys-libs/basu
-	)
-"
-
-RDEPEND="
-	${DEPEND}
-	sys-apps/xdg-desktop-portal
-"
-
-BDEPEND="
-	>=dev-libs/wayland-protocols-1.24
-	dev-libs/hyprland-protocols
-	virtual/pkgconfig
-	|| ( >=sys-devel/gcc-13:* >=sys-devel/clang-17:* )
-"
-
-pkg_setup() {
-	[[ ${MERGE_TYPE} == binary ]] && return
-
-	if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then
-		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
-		eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
-		die "GCC version is too old to compile XDPH!"
-	elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then
-		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
-		eerror "Please upgrade Clang: emerge -v1 sys-devel/clang"
-		die "Clang version is too old to compile XDPH!"
-	fi
-}
-
-src_unpack() {
-	if [[ ${PV} == 9999 ]]; then
-		git-r3_src_unpack
-	else
-		default
-		rmdir "${S}/subprojects/hyprland-protocols" || die
-		mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
-	fi
-}
-
-src_prepare() {
-	eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.2.6_use_sys_sdbus-c++.patch"
-	sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die
-	cmake_src_prepare
-}
-
-src_compile() {
-	cmake_src_compile all
-}
-
-src_install() {
-	LIBEXEC="/usr/libexec"
-	SYSTEMD_SERVICE="${S}/contrib/systemd/xdg-desktop-portal-hyprland.service"
-	DBUS_SERVICE="${S}/org.freedesktop.impl.portal.desktop.hyprland.service"
-
-	cmake_src_install
-
-	exeinto $LIBEXEC
-	doexe "${BUILD_DIR}/xdg-desktop-portal-hyprland"
-
-	insinto /usr/share/xdg-desktop-portal/portals
-	doins "${S}/hyprland.portal"
-
-	# systemd service
-	sed -i "s|@libexecdir@|${LIBEXEC}|g" "${SYSTEMD_SERVICE}.in" || die
-	mv "${SYSTEMD_SERVICE}.in" "${SYSTEMD_SERVICE}" || die
-	systemd_douserunit "${SYSTEMD_SERVICE}"
-
-	# dbus service
-	sed -i "s|@libexecdir@|${LIBEXEC}|g" "${DBUS_SERVICE}.in" || die
-	mv "${DBUS_SERVICE}.in" "${DBUS_SERVICE}"
-	insinto /usr/share/dbus-1/services/
-	doins "${DBUS_SERVICE}"
-}

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1.ebuild
deleted file mode 100644
index 59600e480..000000000
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake toolchain-funcs
-
-DESCRIPTION="xdg-desktop-portal backend for hyprland"
-HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
-
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
-	inherit git-r3
-else
-	PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
-	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-		-> xdg-desktop-hyprland-${PV}.tar.gz
-	https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
-		-> proto-subproject-${PV}.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="elogind qt6 systemd"
-REQUIRED_USE="?? ( elogind systemd )"
-
-DEPEND="
-	>=media-video/pipewire-0.3.41:=
-	dev-cpp/sdbus-c++
-	dev-libs/inih
-	dev-libs/wayland
-	qt6? (
-		dev-qt/qtbase:6[gui,widgets]
-		dev-qt/qtwayland:6
-	)
-	!qt6? (
-		dev-qt/qtcore
-		dev-qt/qtgui
-		dev-qt/qtwidgets
-		dev-qt/qtwayland:5
-	)
-	media-libs/mesa
-	sys-apps/util-linux
-	x11-libs/libdrm
-	|| (
-		systemd? ( >=sys-apps/systemd-237 )
-		elogind? ( >=sys-auth/elogind-237 )
-		sys-libs/basu
-	)
-"
-
-RDEPEND="
-	${DEPEND}
-	sys-apps/xdg-desktop-portal
-	dev-libs/hyprlang
-"
-
-BDEPEND="
-	>=dev-libs/wayland-protocols-1.24
-	dev-libs/hyprland-protocols
-	virtual/pkgconfig
-	|| ( >=sys-devel/gcc-13:* >=sys-devel/clang-17:* )
-"
-
-pkg_setup() {
-	[[ ${MERGE_TYPE} == binary ]] && return
-
-	if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then
-		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
-		eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
-		die "GCC version is too old to compile XDPH!"
-	elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then
-		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
-		eerror "Please upgrade Clang: emerge -v1 sys-devel/clang"
-		die "Clang version is too old to compile XDPH!"
-	fi
-}
-
-src_unpack() {
-	if [[ ${PV} == 9999 ]]; then
-		git-r3_src_unpack
-	else
-		default
-		rmdir "${S}/subprojects/hyprland-protocols" || die
-		mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
-	fi
-}
-
-src_prepare() {
-	eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.3.1_use_sys_sdbus-c++.patch"
-	sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die
-	cmake_src_prepare
-}


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2024-07-06 18:42 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 46+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-07-06 18:42 UTC (permalink / raw
  To: gentoo-commits

commit:     f0eac00133a3966a3a6e3c8cce7049a507423e56
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Sat Jul  6 18:40:23 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Sat Jul  6 18:42:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f0eac001

gui-libs/xdg-desktop-portal-hyprland: drop 1.3.2, 1.3.2-r1

* Make the ebuild respect the qt6 migration
* Might fix BUG 935669 since I can replicate with this changes

BUG: https://bugs.gentoo.org/935669
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 ...ebuild => xdg-desktop-portal-hyprland-1.3.2-r1.ebuild} | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.2.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.2-r1.ebuild
similarity index 92%
rename from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.2.ebuild
rename to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.2-r1.ebuild
index 56b647c0e..8c04bb055 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.2.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.2-r1.ebuild
@@ -27,11 +27,16 @@ DEPEND="
 	dev-libs/hyprlang:=
 	dev-libs/inih
 	dev-libs/wayland
-	dev-qt/qtbase
-	dev-qt/qtcore
-	dev-qt/qtgui
-	dev-qt/qtwayland:6
-	dev-qt/qtwidgets
+	qt6? (
+		dev-qt/qtbase:6[gui,widgets]
+		dev-qt/qtwayland:6
+	)
+	!qt6? (
+		dev-qt/qtcore
+		dev-qt/qtgui
+		dev-qt/qtwidgets
+		dev-qt/qtwayland:5
+	)
 	media-libs/mesa
 	sys-apps/util-linux
 	x11-libs/libdrm


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2024-07-03  4:57 John M. Harris, Jr.
  0 siblings, 0 replies; 46+ messages in thread
From: John M. Harris, Jr. @ 2024-07-03  4:57 UTC (permalink / raw
  To: gentoo-commits

commit:     266a8ec79da4760e4c569553d397b818a96953d4
Author:     John M. Harris Jr. <johnmh <AT> johnmh <DOT> me>
AuthorDate: Wed Jul  3 04:56:40 2024 +0000
Commit:     John M. Harris, Jr. <johnmh <AT> johnmh <DOT> me>
CommitDate: Wed Jul  3 04:56:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=266a8ec7

gui-libs/xdg-desktop-portal-hyprland: Remove subproject, live

Signed-off-by: John M. Harris Jr. <johnmh <AT> johnmh.me>

 .../xdg-desktop-portal-hyprland-9999.ebuild            | 18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
index 8b4b42926..465163d48 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
@@ -9,14 +9,10 @@ DESCRIPTION="xdg-desktop-portal backend for hyprland"
 HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
 
 if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
+	EGIT_REPO_URI="https://github.com/hyprwm/${PN}.git"
 	inherit git-r3
 else
-	PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
-	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-		-> xdg-desktop-hyprland-${PV}.tar.gz
-	https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
-		-> proto-subproject-${PV}.tar.gz"
+	SRC_URI="https://github.com/hyprwm/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
 	KEYWORDS="~amd64"
 fi
 
@@ -72,16 +68,6 @@ pkg_setup() {
 	fi
 }
 
-src_unpack() {
-	if [[ ${PV} == 9999 ]]; then
-		git-r3_src_unpack
-	else
-		default
-		rmdir "${S}/subprojects/hyprland-protocols" || die
-		mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
-	fi
-}
-
 src_prepare() {
 	eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.3.2_use_sys_sdbus-c++.patch"
 	sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2024-07-03  4:46 John M. Harris, Jr.
  0 siblings, 0 replies; 46+ messages in thread
From: John M. Harris, Jr. @ 2024-07-03  4:46 UTC (permalink / raw
  To: gentoo-commits

commit:     2a3430165376c9312c0bfc8f8c39a43c10d26048
Author:     John M. Harris Jr. <johnmh <AT> johnmh <DOT> me>
AuthorDate: Wed Jul  3 04:43:36 2024 +0000
Commit:     John M. Harris, Jr. <johnmh <AT> johnmh <DOT> me>
CommitDate: Wed Jul  3 04:44:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2a343016

gui-libs/xdg-desktop-portal-hyprland: bump live

The pipewire patch previously applied has been applied to the
upstream repo.

Signed-off-by: John M. Harris Jr. <johnmh <AT> johnmh.me>

 .../xdg-desktop-portal-hyprland-9999.ebuild                            | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
index fabc08977..8b4b42926 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
@@ -83,8 +83,7 @@ src_unpack() {
 }
 
 src_prepare() {
-	eapply "${FILESDIR}/xdg-desktop-portal-hyprland-9999_use_sys_sdbus-c++.patch"
-	eapply "${FILESDIR}/xdg-desktop-portal-hyprland-9999_fix_pipewire.patch"
+	eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.3.2_use_sys_sdbus-c++.patch"
 	sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die
 	cmake_src_prepare
 }


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2024-02-17 21:06 Julien Roy
  0 siblings, 0 replies; 46+ messages in thread
From: Julien Roy @ 2024-02-17 21:06 UTC (permalink / raw
  To: gentoo-commits

commit:     951d783222709a34bde6d9afd4edfbd9b98453fe
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Sat Feb 17 18:15:20 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sat Feb 17 21:03:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=951d7832

gui-libs/xdg-desktop-portal-hyprland: move hyprlang to BDEPEND

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 ... => xdg-desktop-portal-hyprland-1.3.1-r1.ebuild} | 21 +++++++++++++--------
 .../xdg-desktop-portal-hyprland-9999.ebuild         |  2 +-
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1-r1.ebuild
similarity index 88%
copy from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
copy to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1-r1.ebuild
index af03bb435c..f09bf0c356 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1-r1.ebuild
@@ -22,19 +22,25 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="elogind systemd"
+IUSE="elogind qt6 systemd"
 REQUIRED_USE="?? ( elogind systemd )"
 
 DEPEND="
 	>=media-video/pipewire-0.3.41:=
 	dev-cpp/sdbus-c++
+	dev-libs/hyprlang:=
 	dev-libs/inih
 	dev-libs/wayland
-	dev-qt/qtbase
-	dev-qt/qtcore
-	dev-qt/qtgui
-	dev-qt/qtwayland:6
-	dev-qt/qtwidgets
+	qt6? (
+		dev-qt/qtbase:6[gui,widgets]
+		dev-qt/qtwayland:6
+	)
+	!qt6? (
+		dev-qt/qtcore
+		dev-qt/qtgui
+		dev-qt/qtwidgets
+		dev-qt/qtwayland:5
+	)
 	media-libs/mesa
 	sys-apps/util-linux
 	x11-libs/libdrm
@@ -48,7 +54,6 @@ DEPEND="
 RDEPEND="
 	${DEPEND}
 	sys-apps/xdg-desktop-portal
-	dev-libs/hyprlang
 "
 
 BDEPEND="
@@ -83,7 +88,7 @@ src_unpack() {
 }
 
 src_prepare() {
-	eapply "${FILESDIR}/xdg-desktop-portal-hyprland-9999_use_sys_sdbus-c++.patch"
+	eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.3.1_use_sys_sdbus-c++.patch"
 	sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die
 	cmake_src_prepare
 }

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
index af03bb435c..ac2bb3c938 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
@@ -28,6 +28,7 @@ REQUIRED_USE="?? ( elogind systemd )"
 DEPEND="
 	>=media-video/pipewire-0.3.41:=
 	dev-cpp/sdbus-c++
+	dev-libs/hyprlang:=
 	dev-libs/inih
 	dev-libs/wayland
 	dev-qt/qtbase
@@ -48,7 +49,6 @@ DEPEND="
 RDEPEND="
 	${DEPEND}
 	sys-apps/xdg-desktop-portal
-	dev-libs/hyprlang
 "
 
 BDEPEND="


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2024-02-07 12:48 Steffen Winter
  0 siblings, 0 replies; 46+ messages in thread
From: Steffen Winter @ 2024-02-07 12:48 UTC (permalink / raw
  To: gentoo-commits

commit:     5f0567d8e24c48e247b5e0fe5b2510c10324c031
Author:     Steffen Winter <steffen.winter <AT> proton <DOT> me>
AuthorDate: Wed Feb  7 12:36:58 2024 +0000
Commit:     Steffen Winter <stffn.mobil <AT> freenet <DOT> de>
CommitDate: Wed Feb  7 12:36:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5f0567d8

gui-libs/xdg-desktop-portal-hyprland: Depend on either qt5 or qt6

Signed-off-by: Steffen Winter <steffen.winter <AT> proton.me>

 .../xdg-desktop-portal-hyprland-1.3.1.ebuild            | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1.ebuild
index 6c155b2200..59600e480d 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="elogind systemd"
+IUSE="elogind qt6 systemd"
 REQUIRED_USE="?? ( elogind systemd )"
 
 DEPEND="
@@ -30,11 +30,16 @@ DEPEND="
 	dev-cpp/sdbus-c++
 	dev-libs/inih
 	dev-libs/wayland
-	dev-qt/qtbase
-	dev-qt/qtcore
-	dev-qt/qtgui
-	dev-qt/qtwayland:6
-	dev-qt/qtwidgets
+	qt6? (
+		dev-qt/qtbase:6[gui,widgets]
+		dev-qt/qtwayland:6
+	)
+	!qt6? (
+		dev-qt/qtcore
+		dev-qt/qtgui
+		dev-qt/qtwidgets
+		dev-qt/qtwayland:5
+	)
 	media-libs/mesa
 	sys-apps/util-linux
 	x11-libs/libdrm


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2024-01-03 12:35 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 46+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-01-03 12:35 UTC (permalink / raw
  To: gentoo-commits

commit:     ce3f01557ce2a7749376a5195a988d8d4223fcc7
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Wed Jan  3 12:31:13 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Wed Jan  3 12:35:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ce3f0155

gui-libs/xdg-desktop-portal-hyprland: add 1.1.0-r1, 1.2.2-r2, 1.2.5-r2, 1.2.6-r1, remove 1.1.0, 1.2.2-r1, 1.2.5-r1, 1.2.6

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 ...-hyprland-1.1.0.ebuild => xdg-desktop-portal-hyprland-1.1.0-r1.ebuild} | 0
 ...prland-1.2.2-r1.ebuild => xdg-desktop-portal-hyprland-1.2.2-r2.ebuild} | 0
 ...prland-1.2.5-r1.ebuild => xdg-desktop-portal-hyprland-1.2.5-r2.ebuild} | 0
 ...-hyprland-1.2.6.ebuild => xdg-desktop-portal-hyprland-1.2.6-r1.ebuild} | 0
 4 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0-r1.ebuild
similarity index 100%
rename from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild
rename to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0-r1.ebuild

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2-r1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2-r2.ebuild
similarity index 100%
rename from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2-r1.ebuild
rename to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2-r2.ebuild

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5-r1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5-r2.ebuild
similarity index 100%
rename from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5-r1.ebuild
rename to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5-r2.ebuild

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.6.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.6-r1.ebuild
similarity index 100%
rename from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.6.ebuild
rename to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.6-r1.ebuild


^ permalink raw reply	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2024-01-02 11:40 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 46+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-01-02 11:40 UTC (permalink / raw
  To: gentoo-commits

commit:     165f4a0fbf48bee9d9f45cc068bc4b6d5d81a9e7
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Tue Jan  2 11:21:52 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Tue Jan  2 11:40:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=165f4a0f

gui-libs/xdg-desktop-portal-hyprland: add 9999
* add me as proxy mantainer

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 gui-libs/xdg-desktop-portal-hyprland/metadata.xml  |  4 ++++
 .../xdg-desktop-portal-hyprland-1.1.0.ebuild       |  2 +-
 .../xdg-desktop-portal-hyprland-1.2.2-r1.ebuild    | 27 ++++++++++++++--------
 .../xdg-desktop-portal-hyprland-1.2.5-r1.ebuild    | 27 ++++++++++++++--------
 .../xdg-desktop-portal-hyprland-1.2.6.ebuild       | 27 ++++++++++++++--------
 ...ild => xdg-desktop-portal-hyprland-9999.ebuild} | 27 ++++++++++++++--------
 6 files changed, 77 insertions(+), 37 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/metadata.xml b/gui-libs/xdg-desktop-portal-hyprland/metadata.xml
index f7b6f2b032..9155c374f8 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/metadata.xml
+++ b/gui-libs/xdg-desktop-portal-hyprland/metadata.xml
@@ -9,6 +9,10 @@
 		<email>mia@xenialinux.com</email>
 		<name>Mia Neufeld</name>
 	</maintainer>
+	<maintainer type="person">
+		<name>Gonçalo Negrier Duarte</name>
+		<email>gonegrier.duarte@gmail.com</email>
+	</maintainer>
 	<upstream>
 		<doc lang="en">https://wiki.hyprland.org/hyprland-wiki/pages/Useful-Utilities/Hyprland-desktop-portal/</doc>
 		<remote-id type="github">hyprwm/xdg-desktop-portal-hyprland</remote-id>

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild
index 9c210b772f..2cee528f16 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild
@@ -12,9 +12,9 @@ if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
 	inherit git-r3
 else
-	KEYWORDS="~amd64"
 	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
 		-> xdg-desktop-hyprland-${PV}.tar.gz"
+	KEYWORDS="~amd64"
 fi
 
 LICENSE="MIT"

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2-r1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2-r1.ebuild
index 4c9eb4dc37..f01109cf60 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2-r1.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2-r1.ebuild
@@ -8,12 +8,17 @@ inherit systemd cmake toolchain-funcs
 DESCRIPTION="xdg-desktop-portal backend for hyprland"
 HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
 
-KEYWORDS="~amd64"
-PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
-SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-	-> xdg-desktop-hyprland-${PV}.tar.gz
-https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
-	-> proto-subproject-${PV}.tar.gz"
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
+	inherit git-r3
+else
+	PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
+	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
+		-> xdg-desktop-hyprland-${PV}.tar.gz
+	https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
+		-> proto-subproject-${PV}.tar.gz"
+	KEYWORDS="~amd64"
+fi
 
 LICENSE="MIT"
 SLOT="0"
@@ -67,9 +72,13 @@ pkg_setup() {
 }
 
 src_unpack() {
-	default
-	rmdir "${S}/subprojects/hyprland-protocols" || die
-	mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
+	if [[ ${PV} == 9999 ]]; then
+		git-r3_src_unpack
+	else
+		default
+		rmdir "${S}/subprojects/hyprland-protocols" || die
+		mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
+	fi
 }
 
 src_prepare() {

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5-r1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5-r1.ebuild
index a80f565359..17ca661889 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5-r1.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5-r1.ebuild
@@ -8,12 +8,17 @@ inherit systemd cmake toolchain-funcs
 DESCRIPTION="xdg-desktop-portal backend for hyprland"
 HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
 
-KEYWORDS="~amd64"
-PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
-SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-	-> xdg-desktop-hyprland-${PV}.tar.gz
-https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
-	-> proto-subproject-${PV}.tar.gz"
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
+	inherit git-r3
+else
+	PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
+	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
+		-> xdg-desktop-hyprland-${PV}.tar.gz
+	https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
+		-> proto-subproject-${PV}.tar.gz"
+	KEYWORDS="~amd64"
+fi
 
 LICENSE="MIT"
 SLOT="0"
@@ -67,9 +72,13 @@ pkg_setup() {
 }
 
 src_unpack() {
-	default
-	rmdir "${S}/subprojects/hyprland-protocols" || die
-	mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
+	if [[ ${PV} == 9999 ]]; then
+		git-r3_src_unpack
+	else
+		default
+		rmdir "${S}/subprojects/hyprland-protocols" || die
+		mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
+	fi
 }
 
 src_prepare() {

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.6.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.6.ebuild
index d32db50ddc..0a6bf7fd01 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.6.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.6.ebuild
@@ -8,12 +8,17 @@ inherit systemd cmake toolchain-funcs
 DESCRIPTION="xdg-desktop-portal backend for hyprland"
 HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
 
-KEYWORDS="~amd64"
-PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
-SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-	-> xdg-desktop-hyprland-${PV}.tar.gz
-https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
-	-> proto-subproject-${PV}.tar.gz"
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
+	inherit git-r3
+else
+	PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
+	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
+		-> xdg-desktop-hyprland-${PV}.tar.gz
+	https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
+		-> proto-subproject-${PV}.tar.gz"
+	KEYWORDS="~amd64"
+fi
 
 LICENSE="MIT"
 SLOT="0"
@@ -67,9 +72,13 @@ pkg_setup() {
 }
 
 src_unpack() {
-	default
-	rmdir "${S}/subprojects/hyprland-protocols" || die
-	mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
+	if [[ ${PV} == 9999 ]]; then
+		git-r3_src_unpack
+	else
+		default
+		rmdir "${S}/subprojects/hyprland-protocols" || die
+		mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
+	fi
 }
 
 src_prepare() {

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.6.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
similarity index 78%
copy from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.6.ebuild
copy to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
index d32db50ddc..0a6bf7fd01 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.6.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
@@ -8,12 +8,17 @@ inherit systemd cmake toolchain-funcs
 DESCRIPTION="xdg-desktop-portal backend for hyprland"
 HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
 
-KEYWORDS="~amd64"
-PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
-SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-	-> xdg-desktop-hyprland-${PV}.tar.gz
-https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
-	-> proto-subproject-${PV}.tar.gz"
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
+	inherit git-r3
+else
+	PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
+	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
+		-> xdg-desktop-hyprland-${PV}.tar.gz
+	https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
+		-> proto-subproject-${PV}.tar.gz"
+	KEYWORDS="~amd64"
+fi
 
 LICENSE="MIT"
 SLOT="0"
@@ -67,9 +72,13 @@ pkg_setup() {
 }
 
 src_unpack() {
-	default
-	rmdir "${S}/subprojects/hyprland-protocols" || die
-	mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
+	if [[ ${PV} == 9999 ]]; then
+		git-r3_src_unpack
+	else
+		default
+		rmdir "${S}/subprojects/hyprland-protocols" || die
+		mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
+	fi
 }
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-12-10  7:51 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-12-10  7:51 UTC (permalink / raw
  To: gentoo-commits

commit:     a8607eef71bdd2163d34919625bad603c75afd0e
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Sun Dec 10 07:49:04 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Sun Dec 10 07:49:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a8607eef

gui-libs/xdg-desktop-portal-hyprland: revbump because of latest changes

...to the ebuilds
Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 ...-hyprland-1.2.2.ebuild => xdg-desktop-portal-hyprland-1.2.2-r1.ebuild} | 0
 ...-hyprland-1.2.5.ebuild => xdg-desktop-portal-hyprland-1.2.5-r1.ebuild} | 0
 2 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2-r1.ebuild
similarity index 100%
rename from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild
rename to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2-r1.ebuild

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5-r1.ebuild
similarity index 100%
rename from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild
rename to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5-r1.ebuild


^ permalink raw reply	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-12-03  9:32 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-12-03  9:32 UTC (permalink / raw
  To: gentoo-commits

commit:     21bb8280314df3c51a74c8bf2c964a018424f66f
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Sun Dec  3 09:27:50 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Sun Dec  3 09:30:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=21bb8280

gui-libs/xdg-desktop-portal-hyprland: install missing files

Closes: https://bugs.gentoo.org/918925
Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 .../xdg-desktop-portal-hyprland-1.2.2.ebuild       | 23 ++++++++++++++++++++--
 .../xdg-desktop-portal-hyprland-1.2.5.ebuild       | 23 ++++++++++++++++++++--
 2 files changed, 42 insertions(+), 4 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild
index d48d4a07ed..4c9eb4dc37 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake toolchain-funcs
+inherit systemd cmake toolchain-funcs
 
 DESCRIPTION="xdg-desktop-portal backend for hyprland"
 HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
@@ -83,7 +83,26 @@ src_compile() {
 }
 
 src_install() {
+	LIBEXEC="/usr/libexec"
+	SYSTEMD_SERVICE="${S}/contrib/systemd/xdg-desktop-portal-hyprland.service"
+	DBUS_SERVICE="${S}/org.freedesktop.impl.portal.desktop.hyprland.service"
+
 	cmake_src_install
-	exeinto /usr/libexec
+
+	exeinto $LIBEXEC
 	doexe "${BUILD_DIR}/xdg-desktop-portal-hyprland"
+
+	insinto /usr/share/xdg-desktop-portal/portals
+	doins "${S}/hyprland.portal"
+
+	# systemd service
+	sed -i "s|@libexecdir@|${LIBEXEC}|g" "${SYSTEMD_SERVICE}.in"
+	mv "${SYSTEMD_SERVICE}.in" "${SYSTEMD_SERVICE}" || die
+	systemd_douserunit "${SYSTEMD_SERVICE}"
+
+	# dbus service
+	sed -i "s|@libexecdir@|${LIBEXEC}|g" "${DBUS_SERVICE}.in"
+	mv "${DBUS_SERVICE}.in" "${DBUS_SERVICE}"
+	insinto /usr/share/dbus-1/services/
+	doins "${DBUS_SERVICE}"
 }

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild
index d48d4a07ed..4c9eb4dc37 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake toolchain-funcs
+inherit systemd cmake toolchain-funcs
 
 DESCRIPTION="xdg-desktop-portal backend for hyprland"
 HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
@@ -83,7 +83,26 @@ src_compile() {
 }
 
 src_install() {
+	LIBEXEC="/usr/libexec"
+	SYSTEMD_SERVICE="${S}/contrib/systemd/xdg-desktop-portal-hyprland.service"
+	DBUS_SERVICE="${S}/org.freedesktop.impl.portal.desktop.hyprland.service"
+
 	cmake_src_install
-	exeinto /usr/libexec
+
+	exeinto $LIBEXEC
 	doexe "${BUILD_DIR}/xdg-desktop-portal-hyprland"
+
+	insinto /usr/share/xdg-desktop-portal/portals
+	doins "${S}/hyprland.portal"
+
+	# systemd service
+	sed -i "s|@libexecdir@|${LIBEXEC}|g" "${SYSTEMD_SERVICE}.in"
+	mv "${SYSTEMD_SERVICE}.in" "${SYSTEMD_SERVICE}" || die
+	systemd_douserunit "${SYSTEMD_SERVICE}"
+
+	# dbus service
+	sed -i "s|@libexecdir@|${LIBEXEC}|g" "${DBUS_SERVICE}.in"
+	mv "${DBUS_SERVICE}.in" "${DBUS_SERVICE}"
+	insinto /usr/share/dbus-1/services/
+	doins "${DBUS_SERVICE}"
 }


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-11-27 15:04 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-11-27 15:04 UTC (permalink / raw
  To: gentoo-commits

commit:     210394bb3d1f6bab9adcbbd69d730a2246698464
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Mon Nov 27 15:02:40 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Mon Nov 27 15:03:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=210394bb

gui-libs/xdg-desktop-portal-hyprland: dont add O3

Closes: https://bugs.gentoo.org/918630
Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 .../xdg-desktop-portal-hyprland-1.2.2.ebuild                            | 2 +-
 .../xdg-desktop-portal-hyprland-1.2.5.ebuild                            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild
index 92f9bd43ff..d48d4a07ed 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild
@@ -73,8 +73,8 @@ src_unpack() {
 }
 
 src_prepare() {
-	default
 	eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.2.5_use_sys_sdbus-c++.patch"
+	sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die "Sed failed"
 	cmake_src_prepare
 }
 

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild
index 92f9bd43ff..d48d4a07ed 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild
@@ -73,8 +73,8 @@ src_unpack() {
 }
 
 src_prepare() {
-	default
 	eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.2.5_use_sys_sdbus-c++.patch"
+	sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die "Sed failed"
 	cmake_src_prepare
 }
 


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-11-22 18:26 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-11-22 18:26 UTC (permalink / raw
  To: gentoo-commits

commit:     89f04be2a6bf5f4afad340fb68afd5015b0e745a
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Wed Nov 22 18:24:30 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Wed Nov 22 18:24:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=89f04be2

gui-libs/xdg-desktop-portal-hyprland: fix 1.2.2

Change from meson to cmake
Bug: https://bugs.gentoo.org/917678
Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 gui-libs/xdg-desktop-portal-hyprland/Manifest      |  1 +
 .../xdg-desktop-portal-hyprland-1.2.2.ebuild       | 42 ++++++++++++++--------
 2 files changed, 28 insertions(+), 15 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
index 7c8e25c9ef..c2317ed891 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/Manifest
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -1,3 +1,4 @@
+DIST proto-subproject-1.2.2.tar.gz 6343 BLAKE2B cffa25c1fbac992db9aee57956615c2a5f8a6e90150d86246218e6d346e566a43527f56cab08b07359bd2f56b1e02b741fb0dbb37ec35fbadd22dfdb2006d3b0 SHA512 f8534c0f6562ce3c770ed9c79b8b78504d6f3aa75001c74ecfa5418af939e88a020ca1cef08d20c62e73c764d66452b5ce212a0f0d2e9a3aaba635ee80b142c5
 DIST proto-subproject-1.2.5.tar.gz 6343 BLAKE2B cffa25c1fbac992db9aee57956615c2a5f8a6e90150d86246218e6d346e566a43527f56cab08b07359bd2f56b1e02b741fb0dbb37ec35fbadd22dfdb2006d3b0 SHA512 f8534c0f6562ce3c770ed9c79b8b78504d6f3aa75001c74ecfa5418af939e88a020ca1cef08d20c62e73c764d66452b5ce212a0f0d2e9a3aaba635ee80b142c5
 DIST xdg-desktop-hyprland-1.1.0.tar.gz 42732 BLAKE2B aa78b9f3a5812988e8324b71cc265c4b2ca23d0b12239c3ac13d068a46200504685da0fb57093f0689101fc2235cb7825646a4669bfe1894928d57a3259df9e3 SHA512 e02fa5bb19ca20cdee9a2e6ad0beb507d96118e095b1e5a1836cc16a35492a9ba5db36b06e5be561adcbf16d8716c38cbb1ed373965416696c69448fbd020c10
 DIST xdg-desktop-hyprland-1.2.2.tar.gz 43233 BLAKE2B 3d3d955596051da3a3384dab75a516a47627175ac584e6c8967ffe83607a99d99b8c8365b04f57976b8fe41917354217ca0bf3cb07f5e64cc099a1fb6fc3ef8a SHA512 10c8a0eb23a65535dcb16c30d42e2a71268d5a05b88f14ff4c1bedc127241e4da6c516217287b3499677c92f06034f8ebc0f743c181d4dd3bf7a35423128e141

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild
index 1758dc43b4..92f9bd43ff 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild
@@ -3,22 +3,20 @@
 
 EAPI=8
 
-inherit meson toolchain-funcs
+inherit cmake toolchain-funcs
 
 DESCRIPTION="xdg-desktop-portal backend for hyprland"
 HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
 
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
-	inherit git-r3
-else
-	KEYWORDS="~amd64"
-	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-		-> xdg-desktop-hyprland-${PV}.tar.gz"
-fi
+KEYWORDS="~amd64"
+PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
+SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
+	-> xdg-desktop-hyprland-${PV}.tar.gz
+https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
+	-> proto-subproject-${PV}.tar.gz"
 
 LICENSE="MIT"
-SLOT="0/9999"
+SLOT="0"
 IUSE="elogind systemd"
 REQUIRED_USE="?? ( elogind systemd )"
 
@@ -41,10 +39,12 @@ DEPEND="
 		sys-libs/basu
 	)
 "
+
 RDEPEND="
 	${DEPEND}
 	sys-apps/xdg-desktop-portal
 "
+
 BDEPEND="
 	>=dev-libs/wayland-protocols-1.24
 	dev-libs/hyprland-protocols
@@ -53,7 +53,7 @@ BDEPEND="
 "
 
 pkg_setup() {
-		[[ ${MERGE_TYPE} == binary ]] && return
+	[[ ${MERGE_TYPE} == binary ]] && return
 
 	if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then
 		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
@@ -66,12 +66,24 @@ pkg_setup() {
 	fi
 }
 
+src_unpack() {
+	default
+	rmdir "${S}/subprojects/hyprland-protocols" || die
+	mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
+}
+
+src_prepare() {
+	default
+	eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.2.5_use_sys_sdbus-c++.patch"
+	cmake_src_prepare
+}
+
 src_compile() {
-	meson_src_compile
-	emake -C hyprland-share-picker all
+	cmake_src_compile all
 }
 
 src_install() {
-	meson_src_install
-	dobin "${S}/hyprland-share-picker/build/hyprland-share-picker"
+	cmake_src_install
+	exeinto /usr/libexec
+	doexe "${BUILD_DIR}/xdg-desktop-portal-hyprland"
 }


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-11-22 18:17 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-11-22 18:17 UTC (permalink / raw
  To: gentoo-commits

commit:     d23d5daf08e56a5a904782febe9e7b9113b6fc8e
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Wed Nov 22 18:16:16 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Wed Nov 22 18:16:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d23d5daf

gui-libs/xdg-desktop-portal-hyprland: grab subproject directly

Less hassle when a new version of XDPH comes out.
Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 gui-libs/xdg-desktop-portal-hyprland/Manifest                    | 2 +-
 .../xdg-desktop-portal-hyprland-1.2.5.ebuild                     | 9 +++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
index 3b63b4320d..7c8e25c9ef 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/Manifest
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -1,4 +1,4 @@
+DIST proto-subproject-1.2.5.tar.gz 6343 BLAKE2B cffa25c1fbac992db9aee57956615c2a5f8a6e90150d86246218e6d346e566a43527f56cab08b07359bd2f56b1e02b741fb0dbb37ec35fbadd22dfdb2006d3b0 SHA512 f8534c0f6562ce3c770ed9c79b8b78504d6f3aa75001c74ecfa5418af939e88a020ca1cef08d20c62e73c764d66452b5ce212a0f0d2e9a3aaba635ee80b142c5
 DIST xdg-desktop-hyprland-1.1.0.tar.gz 42732 BLAKE2B aa78b9f3a5812988e8324b71cc265c4b2ca23d0b12239c3ac13d068a46200504685da0fb57093f0689101fc2235cb7825646a4669bfe1894928d57a3259df9e3 SHA512 e02fa5bb19ca20cdee9a2e6ad0beb507d96118e095b1e5a1836cc16a35492a9ba5db36b06e5be561adcbf16d8716c38cbb1ed373965416696c69448fbd020c10
 DIST xdg-desktop-hyprland-1.2.2.tar.gz 43233 BLAKE2B 3d3d955596051da3a3384dab75a516a47627175ac584e6c8967ffe83607a99d99b8c8365b04f57976b8fe41917354217ca0bf3cb07f5e64cc099a1fb6fc3ef8a SHA512 10c8a0eb23a65535dcb16c30d42e2a71268d5a05b88f14ff4c1bedc127241e4da6c516217287b3499677c92f06034f8ebc0f743c181d4dd3bf7a35423128e141
 DIST xdg-desktop-hyprland-1.2.5.tar.gz 45688 BLAKE2B d99a399b9e3ff12ddd73293638177b919a37d7922eb35071efdc86f6c5c311995578b1143fd1bb337171aebb9b43b9719957bb40a2a668563fd6ac7dd62c7ad0 SHA512 8ee18e1535a419a146fc7ae2adce53a3fbab8a339ed48594022d525d5892bc979c9ffb6f28da76ec2e4d566213cbeab876470dab8949f218a24bc705877f0c67
-DIST xdg-desktop-portal-hyprland-1.2.5-subprojects.tar.xz 12124 BLAKE2B dfab37bbf418a3217ff947a8cc5e627d6b468d44dd75c6ebd868dbe95880c8f7d1410968cacd76d552dddee38fb61760a73f95debecc168313bfb19c005dbfd9 SHA512 dcb6da4918fc164b73be61ef1805b7e138459ce33f5e59944b2105186507709f98bb93159745493acb2b44904c988e1069cf1a9cdc2e1f1a442252e6eefc51bc

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild
index 1129bc9cca..92f9bd43ff 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild
@@ -9,9 +9,11 @@ DESCRIPTION="xdg-desktop-portal backend for hyprland"
 HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
 
 KEYWORDS="~amd64"
+PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
 SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
 	-> xdg-desktop-hyprland-${PV}.tar.gz
-https://github.com/micielski/xdg-desktop-portal-hyprland-subprojects/releases/download/${PV}/xdg-desktop-portal-hyprland-${PV}-subprojects.tar.xz"
+https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
+	-> proto-subproject-${PV}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
@@ -37,10 +39,12 @@ DEPEND="
 		sys-libs/basu
 	)
 "
+
 RDEPEND="
 	${DEPEND}
 	sys-apps/xdg-desktop-portal
 "
+
 BDEPEND="
 	>=dev-libs/wayland-protocols-1.24
 	dev-libs/hyprland-protocols
@@ -64,7 +68,8 @@ pkg_setup() {
 
 src_unpack() {
 	default
-	mv subprojects/* "xdg-desktop-portal-hyprland-${PV}/subprojects" || die
+	rmdir "${S}/subprojects/hyprland-protocols" || die
+	mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
 }
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-11-22 17:27 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-11-22 17:27 UTC (permalink / raw
  To: gentoo-commits

commit:     8466acee3201b0ddd7503052e98342d46d494a56
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Wed Nov 22 17:19:48 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Wed Nov 22 17:27:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8466acee

gui-libs/xdg-desktop-portal-hyprland: drop 9999

Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 gui-libs/xdg-desktop-portal-hyprland/Manifest      |  2 +
 .../xdg-desktop-portal-hyprland-9999.ebuild        | 77 ----------------------
 2 files changed, 2 insertions(+), 77 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
index ddf233d144..3b63b4320d 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/Manifest
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -1,2 +1,4 @@
 DIST xdg-desktop-hyprland-1.1.0.tar.gz 42732 BLAKE2B aa78b9f3a5812988e8324b71cc265c4b2ca23d0b12239c3ac13d068a46200504685da0fb57093f0689101fc2235cb7825646a4669bfe1894928d57a3259df9e3 SHA512 e02fa5bb19ca20cdee9a2e6ad0beb507d96118e095b1e5a1836cc16a35492a9ba5db36b06e5be561adcbf16d8716c38cbb1ed373965416696c69448fbd020c10
 DIST xdg-desktop-hyprland-1.2.2.tar.gz 43233 BLAKE2B 3d3d955596051da3a3384dab75a516a47627175ac584e6c8967ffe83607a99d99b8c8365b04f57976b8fe41917354217ca0bf3cb07f5e64cc099a1fb6fc3ef8a SHA512 10c8a0eb23a65535dcb16c30d42e2a71268d5a05b88f14ff4c1bedc127241e4da6c516217287b3499677c92f06034f8ebc0f743c181d4dd3bf7a35423128e141
+DIST xdg-desktop-hyprland-1.2.5.tar.gz 45688 BLAKE2B d99a399b9e3ff12ddd73293638177b919a37d7922eb35071efdc86f6c5c311995578b1143fd1bb337171aebb9b43b9719957bb40a2a668563fd6ac7dd62c7ad0 SHA512 8ee18e1535a419a146fc7ae2adce53a3fbab8a339ed48594022d525d5892bc979c9ffb6f28da76ec2e4d566213cbeab876470dab8949f218a24bc705877f0c67
+DIST xdg-desktop-portal-hyprland-1.2.5-subprojects.tar.xz 12124 BLAKE2B dfab37bbf418a3217ff947a8cc5e627d6b468d44dd75c6ebd868dbe95880c8f7d1410968cacd76d552dddee38fb61760a73f95debecc168313bfb19c005dbfd9 SHA512 dcb6da4918fc164b73be61ef1805b7e138459ce33f5e59944b2105186507709f98bb93159745493acb2b44904c988e1069cf1a9cdc2e1f1a442252e6eefc51bc

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
deleted file mode 100644
index 1fd568fcd7..0000000000
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson toolchain-funcs
-
-DESCRIPTION="xdg-desktop-portal backend for hyprland"
-HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
-
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
-	inherit git-r3
-else
-	KEYWORDS="~amd64"
-	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-		-> xdg-desktop-hyprland-${PV}.tar.gz"
-fi
-
-LICENSE="MIT"
-SLOT="0/9999"
-IUSE="elogind systemd"
-REQUIRED_USE="?? ( elogind systemd )"
-
-DEPEND="
-	>=media-video/pipewire-0.3.41:=
-	dev-cpp/sdbus-c++
-	dev-libs/inih
-	dev-libs/wayland
-	dev-qt/qtbase
-	dev-qt/qtcore
-	dev-qt/qtgui
-	dev-qt/qtwayland:6
-	dev-qt/qtwidgets
-	media-libs/mesa
-	sys-apps/util-linux
-	x11-libs/libdrm
-	|| (
-		systemd? ( >=sys-apps/systemd-237 )
-		elogind? ( >=sys-auth/elogind-237 )
-		sys-libs/basu
-	)
-"
-RDEPEND="
-	${DEPEND}
-	sys-apps/xdg-desktop-portal
-"
-BDEPEND="
-	>=dev-libs/wayland-protocols-1.24
-	dev-libs/hyprland-protocols
-	virtual/pkgconfig
-	|| ( >=sys-devel/gcc-13:* >=sys-devel/clang-17:* )
-"
-
-pkg_setup() {
-		[[ ${MERGE_TYPE} == binary ]] && return
-
-	if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then
-		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
-		eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
-		die "GCC version is too old to compile XDPH!"
-	elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then
-		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
-		eerror "Please upgrade Clang: emerge -v1 sys-devel/clang"
-		die "Clang version is too old to compile XDPH!"
-	fi
-}
-
-src_compile() {
-	meson_src_compile
-	emake -C hyprland-share-picker all
-}
-
-src_install() {
-	meson_src_install
-	dobin "${S}/hyprland-share-picker/build/hyprland-share-picker"
-}


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-10-11 13:45 Mia Neufeld
  0 siblings, 0 replies; 46+ messages in thread
From: Mia Neufeld @ 2023-10-11 13:45 UTC (permalink / raw
  To: gentoo-commits

commit:     482dc3358ca90dec7d44ffcb799aaa22cebf9173
Author:     Mia Neufeld <mia <AT> xenialinux <DOT> com>
AuthorDate: Wed Oct 11 13:43:59 2023 +0000
Commit:     Mia Neufeld <mia <AT> xenialinux <DOT> com>
CommitDate: Wed Oct 11 13:43:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=482dc335

gui-libs/xdg-desktop-portal-hyprland: Add 1.2.2, drop 1.2.0 and 1.2.1

Signed-off-by: Mia Neufeld <mia <AT> xenialinux.com>

 gui-libs/xdg-desktop-portal-hyprland/Manifest      |  3 +-
 .../xdg-desktop-portal-hyprland-1.2.1.ebuild       | 77 ----------------------
 ...ld => xdg-desktop-portal-hyprland-1.2.2.ebuild} |  0
 3 files changed, 1 insertion(+), 79 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
index c87015958d..ddf233d144 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/Manifest
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -1,3 +1,2 @@
 DIST xdg-desktop-hyprland-1.1.0.tar.gz 42732 BLAKE2B aa78b9f3a5812988e8324b71cc265c4b2ca23d0b12239c3ac13d068a46200504685da0fb57093f0689101fc2235cb7825646a4669bfe1894928d57a3259df9e3 SHA512 e02fa5bb19ca20cdee9a2e6ad0beb507d96118e095b1e5a1836cc16a35492a9ba5db36b06e5be561adcbf16d8716c38cbb1ed373965416696c69448fbd020c10
-DIST xdg-desktop-hyprland-1.2.0.tar.gz 43068 BLAKE2B 7fcd9cc962d50ade64a97af3bb34a0bfff5c72cb4458ed2dd17122b3ee53364b319d8fbf0db5827bdd94e778a8ddaaba55963fe67fe6d2fe7a7d6265e327c56a SHA512 41201a773756f3b5f49b8a9e39b98fc8939fab60bda24f99d2c3b76a34f159b69fce17af88b6eff2a475e6b097f0d7912b51a8862c2b8cd7cdd9af4e237d17da
-DIST xdg-desktop-hyprland-1.2.1.tar.gz 43054 BLAKE2B 700c96b3fcfb6c3987b1e48ffa27e75ed9b84262140de824ee029249030e7aad68e54ecabc026baed28d79344ffa69a820ca1b27d5c3b4760450252bdd603c2b SHA512 a27bc7d3c2ed32005b6787517550b89fee8661644f68b4689912894073a1971a7cf2dec4e7df60275b8fa6cac2bbc6fea244e5da1877bc7ffb71225e7bb44c3d
+DIST xdg-desktop-hyprland-1.2.2.tar.gz 43233 BLAKE2B 3d3d955596051da3a3384dab75a516a47627175ac584e6c8967ffe83607a99d99b8c8365b04f57976b8fe41917354217ca0bf3cb07f5e64cc099a1fb6fc3ef8a SHA512 10c8a0eb23a65535dcb16c30d42e2a71268d5a05b88f14ff4c1bedc127241e4da6c516217287b3499677c92f06034f8ebc0f743c181d4dd3bf7a35423128e141

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.1.ebuild
deleted file mode 100644
index 1758dc43b4..0000000000
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson toolchain-funcs
-
-DESCRIPTION="xdg-desktop-portal backend for hyprland"
-HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
-
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
-	inherit git-r3
-else
-	KEYWORDS="~amd64"
-	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-		-> xdg-desktop-hyprland-${PV}.tar.gz"
-fi
-
-LICENSE="MIT"
-SLOT="0/9999"
-IUSE="elogind systemd"
-REQUIRED_USE="?? ( elogind systemd )"
-
-DEPEND="
-	>=media-video/pipewire-0.3.41:=
-	dev-cpp/sdbus-c++
-	dev-libs/inih
-	dev-libs/wayland
-	dev-qt/qtbase
-	dev-qt/qtcore
-	dev-qt/qtgui
-	dev-qt/qtwayland:6
-	dev-qt/qtwidgets
-	media-libs/mesa
-	sys-apps/util-linux
-	x11-libs/libdrm
-	|| (
-		systemd? ( >=sys-apps/systemd-237 )
-		elogind? ( >=sys-auth/elogind-237 )
-		sys-libs/basu
-	)
-"
-RDEPEND="
-	${DEPEND}
-	sys-apps/xdg-desktop-portal
-"
-BDEPEND="
-	>=dev-libs/wayland-protocols-1.24
-	dev-libs/hyprland-protocols
-	virtual/pkgconfig
-	|| ( >=sys-devel/gcc-13:* >=sys-devel/clang-17:* )
-"
-
-pkg_setup() {
-		[[ ${MERGE_TYPE} == binary ]] && return
-
-	if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then
-		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
-		eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
-		die "GCC version is too old to compile XDPH!"
-	elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then
-		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
-		eerror "Please upgrade Clang: emerge -v1 sys-devel/clang"
-		die "Clang version is too old to compile XDPH!"
-	fi
-}
-
-src_compile() {
-	meson_src_compile
-	emake -C hyprland-share-picker all
-}
-
-src_install() {
-	meson_src_install
-	dobin "${S}/hyprland-share-picker/build/hyprland-share-picker"
-}

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild
similarity index 100%
rename from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.0.ebuild
rename to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-10-08  5:53 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-10-08  5:53 UTC (permalink / raw
  To: gentoo-commits

commit:     544c5427d0aaf4e5286ed132597848dc25d329ca
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Sun Oct  8 05:52:54 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Sun Oct  8 05:53:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=544c5427

gui-libs/xdg-desktop-portal-hyprland: add 1.2.1

Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 gui-libs/xdg-desktop-portal-hyprland/Manifest      |  1 +
 .../xdg-desktop-portal-hyprland-1.2.1.ebuild       | 77 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
index a588e42c94..c87015958d 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/Manifest
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -1,2 +1,3 @@
 DIST xdg-desktop-hyprland-1.1.0.tar.gz 42732 BLAKE2B aa78b9f3a5812988e8324b71cc265c4b2ca23d0b12239c3ac13d068a46200504685da0fb57093f0689101fc2235cb7825646a4669bfe1894928d57a3259df9e3 SHA512 e02fa5bb19ca20cdee9a2e6ad0beb507d96118e095b1e5a1836cc16a35492a9ba5db36b06e5be561adcbf16d8716c38cbb1ed373965416696c69448fbd020c10
 DIST xdg-desktop-hyprland-1.2.0.tar.gz 43068 BLAKE2B 7fcd9cc962d50ade64a97af3bb34a0bfff5c72cb4458ed2dd17122b3ee53364b319d8fbf0db5827bdd94e778a8ddaaba55963fe67fe6d2fe7a7d6265e327c56a SHA512 41201a773756f3b5f49b8a9e39b98fc8939fab60bda24f99d2c3b76a34f159b69fce17af88b6eff2a475e6b097f0d7912b51a8862c2b8cd7cdd9af4e237d17da
+DIST xdg-desktop-hyprland-1.2.1.tar.gz 43054 BLAKE2B 700c96b3fcfb6c3987b1e48ffa27e75ed9b84262140de824ee029249030e7aad68e54ecabc026baed28d79344ffa69a820ca1b27d5c3b4760450252bdd603c2b SHA512 a27bc7d3c2ed32005b6787517550b89fee8661644f68b4689912894073a1971a7cf2dec4e7df60275b8fa6cac2bbc6fea244e5da1877bc7ffb71225e7bb44c3d

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.1.ebuild
new file mode 100644
index 0000000000..1758dc43b4
--- /dev/null
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson toolchain-funcs
+
+DESCRIPTION="xdg-desktop-portal backend for hyprland"
+HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
+
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
+	inherit git-r3
+else
+	KEYWORDS="~amd64"
+	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
+		-> xdg-desktop-hyprland-${PV}.tar.gz"
+fi
+
+LICENSE="MIT"
+SLOT="0/9999"
+IUSE="elogind systemd"
+REQUIRED_USE="?? ( elogind systemd )"
+
+DEPEND="
+	>=media-video/pipewire-0.3.41:=
+	dev-cpp/sdbus-c++
+	dev-libs/inih
+	dev-libs/wayland
+	dev-qt/qtbase
+	dev-qt/qtcore
+	dev-qt/qtgui
+	dev-qt/qtwayland:6
+	dev-qt/qtwidgets
+	media-libs/mesa
+	sys-apps/util-linux
+	x11-libs/libdrm
+	|| (
+		systemd? ( >=sys-apps/systemd-237 )
+		elogind? ( >=sys-auth/elogind-237 )
+		sys-libs/basu
+	)
+"
+RDEPEND="
+	${DEPEND}
+	sys-apps/xdg-desktop-portal
+"
+BDEPEND="
+	>=dev-libs/wayland-protocols-1.24
+	dev-libs/hyprland-protocols
+	virtual/pkgconfig
+	|| ( >=sys-devel/gcc-13:* >=sys-devel/clang-17:* )
+"
+
+pkg_setup() {
+		[[ ${MERGE_TYPE} == binary ]] && return
+
+	if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then
+		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
+		eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
+		die "GCC version is too old to compile XDPH!"
+	elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then
+		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
+		eerror "Please upgrade Clang: emerge -v1 sys-devel/clang"
+		die "Clang version is too old to compile XDPH!"
+	fi
+}
+
+src_compile() {
+	meson_src_compile
+	emake -C hyprland-share-picker all
+}
+
+src_install() {
+	meson_src_install
+	dobin "${S}/hyprland-share-picker/build/hyprland-share-picker"
+}


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-10-07  9:11 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-10-07  9:11 UTC (permalink / raw
  To: gentoo-commits

commit:     b6feeed9e16a2b69f4639833eeb8f30fdeb0bb7a
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Sat Oct  7 09:11:18 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Sat Oct  7 09:11:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b6feeed9

gui-libs/xdg-desktop-portal-hyprland: drop 0.5.0

Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 gui-libs/xdg-desktop-portal-hyprland/Manifest      |  1 -
 .../xdg-desktop-portal-hyprland-0.5.0.ebuild       | 73 ----------------------
 2 files changed, 74 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
index 4b77e71526..a588e42c94 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/Manifest
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -1,3 +1,2 @@
-DIST xdg-desktop-hyprland-0.5.0.tar.gz 50608 BLAKE2B 7e2c7098f4be1a35c9093b1454c828467dfd52057dc30948ff1824c506115e0a1df8c037d7e85d79c0b845f682285c0fbf6786708537126cc3c94cd05e819a4a SHA512 1efbd3378e9d84f47189264b1b98e65cc73aeea916e31f085ba4503b9e4e25f8121894433adf21d0174ceae3588048a6a83c440cb57e8d2e62301629e93f8c91
 DIST xdg-desktop-hyprland-1.1.0.tar.gz 42732 BLAKE2B aa78b9f3a5812988e8324b71cc265c4b2ca23d0b12239c3ac13d068a46200504685da0fb57093f0689101fc2235cb7825646a4669bfe1894928d57a3259df9e3 SHA512 e02fa5bb19ca20cdee9a2e6ad0beb507d96118e095b1e5a1836cc16a35492a9ba5db36b06e5be561adcbf16d8716c38cbb1ed373965416696c69448fbd020c10
 DIST xdg-desktop-hyprland-1.2.0.tar.gz 43068 BLAKE2B 7fcd9cc962d50ade64a97af3bb34a0bfff5c72cb4458ed2dd17122b3ee53364b319d8fbf0db5827bdd94e778a8ddaaba55963fe67fe6d2fe7a7d6265e327c56a SHA512 41201a773756f3b5f49b8a9e39b98fc8939fab60bda24f99d2c3b76a34f159b69fce17af88b6eff2a475e6b097f0d7912b51a8862c2b8cd7cdd9af4e237d17da

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.5.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.5.0.ebuild
deleted file mode 100644
index 17ebcc66ec..0000000000
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.5.0.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson
-
-DESCRIPTION="xdg-desktop-portal backend for hyprland"
-HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
-
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
-	inherit git-r3
-else
-	KEYWORDS="~amd64"
-	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-		-> xdg-desktop-hyprland-${PV}.tar.gz"
-fi
-
-LICENSE="MIT"
-SLOT="0/9999"
-IUSE="elogind systemd"
-REQUIRED_USE="?? ( elogind systemd )"
-
-DEPEND="
-	>=media-video/pipewire-0.3.41:=
-	dev-libs/inih
-	dev-libs/wayland
-	dev-qt/qtbase
-	dev-qt/qtcore
-	dev-qt/qtgui
-	dev-qt/qtwayland:6
-	dev-qt/qtwidgets
-	media-libs/mesa
-	sys-apps/util-linux
-	x11-libs/libdrm
-	|| (
-		systemd? ( >=sys-apps/systemd-237 )
-		elogind? ( >=sys-auth/elogind-237 )
-		sys-libs/basu
-	)
-"
-RDEPEND="
-	${DEPEND}
-	sys-apps/xdg-desktop-portal
-"
-BDEPEND="
-	>=dev-libs/wayland-protocols-1.24
-	dev-libs/hyprland-protocols
-	virtual/pkgconfig
-"
-
-src_configure() {
-	local emesonargs=()
-	if use systemd; then
-		emesonargs+=(-Dsd-bus-provider=libsystemd)
-	elif use elogind; then
-		emesonargs+=(-Dsd-bus-provider=libelogind)
-	else
-		emesonargs+=(-Dsd-bus-provider=basu)
-	fi
-	meson_src_configure
-}
-
-src_compile() {
-	meson_src_compile
-	emake -C hyprland-share-picker all
-}
-
-src_install() {
-	meson_src_install
-	dobin "${S}/hyprland-share-picker/build/hyprland-share-picker"
-}


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-10-07  9:11 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-10-07  9:11 UTC (permalink / raw
  To: gentoo-commits

commit:     5fb80bb1637c3be5125970cab0f84477e6a9c17b
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Sat Oct  7 09:10:16 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Sat Oct  7 09:10:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5fb80bb1

gui-libs/xdg-desktop-portal-hyprland: add 1.2.0

Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 gui-libs/xdg-desktop-portal-hyprland/Manifest      |  1 +
 .../xdg-desktop-portal-hyprland-1.2.0.ebuild       | 77 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
index 4f3c894adb..4b77e71526 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/Manifest
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -1,2 +1,3 @@
 DIST xdg-desktop-hyprland-0.5.0.tar.gz 50608 BLAKE2B 7e2c7098f4be1a35c9093b1454c828467dfd52057dc30948ff1824c506115e0a1df8c037d7e85d79c0b845f682285c0fbf6786708537126cc3c94cd05e819a4a SHA512 1efbd3378e9d84f47189264b1b98e65cc73aeea916e31f085ba4503b9e4e25f8121894433adf21d0174ceae3588048a6a83c440cb57e8d2e62301629e93f8c91
 DIST xdg-desktop-hyprland-1.1.0.tar.gz 42732 BLAKE2B aa78b9f3a5812988e8324b71cc265c4b2ca23d0b12239c3ac13d068a46200504685da0fb57093f0689101fc2235cb7825646a4669bfe1894928d57a3259df9e3 SHA512 e02fa5bb19ca20cdee9a2e6ad0beb507d96118e095b1e5a1836cc16a35492a9ba5db36b06e5be561adcbf16d8716c38cbb1ed373965416696c69448fbd020c10
+DIST xdg-desktop-hyprland-1.2.0.tar.gz 43068 BLAKE2B 7fcd9cc962d50ade64a97af3bb34a0bfff5c72cb4458ed2dd17122b3ee53364b319d8fbf0db5827bdd94e778a8ddaaba55963fe67fe6d2fe7a7d6265e327c56a SHA512 41201a773756f3b5f49b8a9e39b98fc8939fab60bda24f99d2c3b76a34f159b69fce17af88b6eff2a475e6b097f0d7912b51a8862c2b8cd7cdd9af4e237d17da

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.0.ebuild
new file mode 100644
index 0000000000..1758dc43b4
--- /dev/null
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson toolchain-funcs
+
+DESCRIPTION="xdg-desktop-portal backend for hyprland"
+HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
+
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
+	inherit git-r3
+else
+	KEYWORDS="~amd64"
+	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
+		-> xdg-desktop-hyprland-${PV}.tar.gz"
+fi
+
+LICENSE="MIT"
+SLOT="0/9999"
+IUSE="elogind systemd"
+REQUIRED_USE="?? ( elogind systemd )"
+
+DEPEND="
+	>=media-video/pipewire-0.3.41:=
+	dev-cpp/sdbus-c++
+	dev-libs/inih
+	dev-libs/wayland
+	dev-qt/qtbase
+	dev-qt/qtcore
+	dev-qt/qtgui
+	dev-qt/qtwayland:6
+	dev-qt/qtwidgets
+	media-libs/mesa
+	sys-apps/util-linux
+	x11-libs/libdrm
+	|| (
+		systemd? ( >=sys-apps/systemd-237 )
+		elogind? ( >=sys-auth/elogind-237 )
+		sys-libs/basu
+	)
+"
+RDEPEND="
+	${DEPEND}
+	sys-apps/xdg-desktop-portal
+"
+BDEPEND="
+	>=dev-libs/wayland-protocols-1.24
+	dev-libs/hyprland-protocols
+	virtual/pkgconfig
+	|| ( >=sys-devel/gcc-13:* >=sys-devel/clang-17:* )
+"
+
+pkg_setup() {
+		[[ ${MERGE_TYPE} == binary ]] && return
+
+	if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then
+		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
+		eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
+		die "GCC version is too old to compile XDPH!"
+	elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then
+		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
+		eerror "Please upgrade Clang: emerge -v1 sys-devel/clang"
+		die "Clang version is too old to compile XDPH!"
+	fi
+}
+
+src_compile() {
+	meson_src_compile
+	emake -C hyprland-share-picker all
+}
+
+src_install() {
+	meson_src_install
+	dobin "${S}/hyprland-share-picker/build/hyprland-share-picker"
+}


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-09-30 14:05 Mia Neufeld
  0 siblings, 0 replies; 46+ messages in thread
From: Mia Neufeld @ 2023-09-30 14:05 UTC (permalink / raw
  To: gentoo-commits

commit:     ff97384e921a2610150d9112edd26c87a406aa63
Author:     Mia Neufeld <mia <AT> xenialinux <DOT> com>
AuthorDate: Sat Sep 30 13:31:10 2023 +0000
Commit:     Mia Neufeld <mia <AT> xenialinux <DOT> com>
CommitDate: Sat Sep 30 14:05:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ff97384e

gui-libs/xdg-desktop-portal-hyprland: add myself as a maintainer

Signed-off-by: Mia Neufeld <mia <AT> xenialinux.com>

 gui-libs/xdg-desktop-portal-hyprland/metadata.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/metadata.xml b/gui-libs/xdg-desktop-portal-hyprland/metadata.xml
index 334d55bcfa..f7b6f2b032 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/metadata.xml
+++ b/gui-libs/xdg-desktop-portal-hyprland/metadata.xml
@@ -5,6 +5,10 @@
 		<email>rmicielski@purelymail.com</email>
 		<name>Remigiusz Micielski</name>
 	</maintainer>
+	<maintainer type="person">
+		<email>mia@xenialinux.com</email>
+		<name>Mia Neufeld</name>
+	</maintainer>
 	<upstream>
 		<doc lang="en">https://wiki.hyprland.org/hyprland-wiki/pages/Useful-Utilities/Hyprland-desktop-portal/</doc>
 		<remote-id type="github">hyprwm/xdg-desktop-portal-hyprland</remote-id>


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-09-29 16:01 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-09-29 16:01 UTC (permalink / raw
  To: gentoo-commits

commit:     4bf432e6ea3025693cf6cb9c650b483792ad3b22
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Fri Sep 29 16:00:50 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Fri Sep 29 16:00:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4bf432e6

gui-libs/xdg-desktop-portal-hyprland: drop 0.4.0

Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 gui-libs/xdg-desktop-portal-hyprland/Manifest      |  1 -
 .../xdg-desktop-portal-hyprland-0.4.0.ebuild       | 73 ----------------------
 2 files changed, 74 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
index 517548e387..4f3c894adb 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/Manifest
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -1,3 +1,2 @@
-DIST xdg-desktop-hyprland-0.4.0.tar.gz 50645 BLAKE2B 7f4e2d3102e848c15dfa6eeefa3d1375ea5b7dc34ae9c3b7fb42caded4090bf877a4d1eef1dfb42be37b7b9374487297b2b9366b619bb7f6700676222d218d81 SHA512 3b6955f15ae86a7552d39bf107cfd153fe0fff68cc4b87b277b8010f40a267446cc9c8f51975197f2fc4333b854e2e2a549e03cbdde63675a51dd12b0ce185f3
 DIST xdg-desktop-hyprland-0.5.0.tar.gz 50608 BLAKE2B 7e2c7098f4be1a35c9093b1454c828467dfd52057dc30948ff1824c506115e0a1df8c037d7e85d79c0b845f682285c0fbf6786708537126cc3c94cd05e819a4a SHA512 1efbd3378e9d84f47189264b1b98e65cc73aeea916e31f085ba4503b9e4e25f8121894433adf21d0174ceae3588048a6a83c440cb57e8d2e62301629e93f8c91
 DIST xdg-desktop-hyprland-1.1.0.tar.gz 42732 BLAKE2B aa78b9f3a5812988e8324b71cc265c4b2ca23d0b12239c3ac13d068a46200504685da0fb57093f0689101fc2235cb7825646a4669bfe1894928d57a3259df9e3 SHA512 e02fa5bb19ca20cdee9a2e6ad0beb507d96118e095b1e5a1836cc16a35492a9ba5db36b06e5be561adcbf16d8716c38cbb1ed373965416696c69448fbd020c10

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.4.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.4.0.ebuild
deleted file mode 100644
index 17ebcc66ec..0000000000
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.4.0.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson
-
-DESCRIPTION="xdg-desktop-portal backend for hyprland"
-HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
-
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
-	inherit git-r3
-else
-	KEYWORDS="~amd64"
-	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-		-> xdg-desktop-hyprland-${PV}.tar.gz"
-fi
-
-LICENSE="MIT"
-SLOT="0/9999"
-IUSE="elogind systemd"
-REQUIRED_USE="?? ( elogind systemd )"
-
-DEPEND="
-	>=media-video/pipewire-0.3.41:=
-	dev-libs/inih
-	dev-libs/wayland
-	dev-qt/qtbase
-	dev-qt/qtcore
-	dev-qt/qtgui
-	dev-qt/qtwayland:6
-	dev-qt/qtwidgets
-	media-libs/mesa
-	sys-apps/util-linux
-	x11-libs/libdrm
-	|| (
-		systemd? ( >=sys-apps/systemd-237 )
-		elogind? ( >=sys-auth/elogind-237 )
-		sys-libs/basu
-	)
-"
-RDEPEND="
-	${DEPEND}
-	sys-apps/xdg-desktop-portal
-"
-BDEPEND="
-	>=dev-libs/wayland-protocols-1.24
-	dev-libs/hyprland-protocols
-	virtual/pkgconfig
-"
-
-src_configure() {
-	local emesonargs=()
-	if use systemd; then
-		emesonargs+=(-Dsd-bus-provider=libsystemd)
-	elif use elogind; then
-		emesonargs+=(-Dsd-bus-provider=libelogind)
-	else
-		emesonargs+=(-Dsd-bus-provider=basu)
-	fi
-	meson_src_configure
-}
-
-src_compile() {
-	meson_src_compile
-	emake -C hyprland-share-picker all
-}
-
-src_install() {
-	meson_src_install
-	dobin "${S}/hyprland-share-picker/build/hyprland-share-picker"
-}


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-09-29 16:01 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-09-29 16:01 UTC (permalink / raw
  To: gentoo-commits

commit:     e95407f656294e5d2d2990f6dbf9f3cabb103d42
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Fri Sep 29 15:59:23 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Fri Sep 29 15:59:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e95407f6

gui-libs/xdg-desktop-portal-hyprland: fix WhitespaceFound in 9999

Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 .../xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
index 22f9cd8cc1..1fd568fcd7 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
@@ -49,7 +49,7 @@ BDEPEND="
 	>=dev-libs/wayland-protocols-1.24
 	dev-libs/hyprland-protocols
 	virtual/pkgconfig
-  || ( >=sys-devel/gcc-13:* >=sys-devel/clang-17:* )
+	|| ( >=sys-devel/gcc-13:* >=sys-devel/clang-17:* )
 "
 
 pkg_setup() {


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-09-29 13:27 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-09-29 13:27 UTC (permalink / raw
  To: gentoo-commits

commit:     e487bbdcc9cc77184afdd2bd3ef4ec2d3ac58b01
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Fri Sep 29 13:26:45 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Fri Sep 29 13:26:45 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e487bbdc

gui-libs/xdg-desktop-portal-hyprland: update 9999

Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 .../xdg-desktop-portal-hyprland-9999.ebuild           | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
index 62aa1bd3e5..22f9cd8cc1 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
@@ -49,21 +49,20 @@ BDEPEND="
 	>=dev-libs/wayland-protocols-1.24
 	dev-libs/hyprland-protocols
 	virtual/pkgconfig
+  || ( >=sys-devel/gcc-13:* >=sys-devel/clang-17:* )
 "
 
 pkg_setup() {
 		[[ ${MERGE_TYPE} == binary ]] && return
 
-	if tc-is-gcc; then
-		STDLIBVER=$(echo '#include <string>' | $(tc-getCXX) -x c++ -dM -E - | \
-					grep GLIBCXX_RELEASE | sed 's/.*\([1-9][0-9]\)/\1/')
-
-		if [[ ${STDLIBVER} -lt 13 ]]; then
-			die "XDPH requires >=sys-devel/gcc-13.0.0 to build"
-		fi
-	else
-		die "XDPH 1.1.0 won't build with clang.\
-		See: https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/81";
+	if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then
+		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
+		eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
+		die "GCC version is too old to compile XDPH!"
+	elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then
+		eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
+		eerror "Please upgrade Clang: emerge -v1 sys-devel/clang"
+		die "Clang version is too old to compile XDPH!"
 	fi
 }
 


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-09-29 13:27 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-09-29 13:27 UTC (permalink / raw
  To: gentoo-commits

commit:     2adb9b1822170a276938cf337210c3e76b26cce4
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Fri Sep 29 13:23:24 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Fri Sep 29 13:23:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2adb9b18

gui-libs/xdg-desktop-portal-hyprland: fix compiler check

Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 .../xdg-desktop-portal-hyprland-1.1.0.ebuild                            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild
index 214ef6c28c..a04e503d5a 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild
@@ -55,7 +55,7 @@ BDEPEND="
 pkg_setup() {
 		[[ ${MERGE_TYPE} == binary ]] && return
 
-	if tc-is-gcc && ver_test $(gcc-version) -lt 11 ; then
+	if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then
 		eerror "XDPH needs >=gcc-13 to compile."
 		eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
 		die "GCC version is too old to compile XDPH!"


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-09-29 13:20 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-09-29 13:20 UTC (permalink / raw
  To: gentoo-commits

commit:     192c2f7dc8a109423241141ede9be3860a4f3866
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Fri Sep 29 13:19:55 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Fri Sep 29 13:19:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=192c2f7d

gui-libs/xdg-desktop-portal-hyprland: improve compiler check

Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 .../xdg-desktop-portal-hyprland-1.1.0.ebuild         | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild
index 62aa1bd3e5..214ef6c28c 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild
@@ -47,6 +47,7 @@ RDEPEND="
 "
 BDEPEND="
 	>=dev-libs/wayland-protocols-1.24
+	>=sys-devel/gcc-13:*
 	dev-libs/hyprland-protocols
 	virtual/pkgconfig
 "
@@ -54,16 +55,15 @@ BDEPEND="
 pkg_setup() {
 		[[ ${MERGE_TYPE} == binary ]] && return
 
-	if tc-is-gcc; then
-		STDLIBVER=$(echo '#include <string>' | $(tc-getCXX) -x c++ -dM -E - | \
-					grep GLIBCXX_RELEASE | sed 's/.*\([1-9][0-9]\)/\1/')
-
-		if [[ ${STDLIBVER} -lt 13 ]]; then
-			die "XDPH requires >=sys-devel/gcc-13.0.0 to build"
-		fi
-	else
-		die "XDPH 1.1.0 won't build with clang.\
-		See: https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/81";
+	if tc-is-gcc && ver_test $(gcc-version) -lt 11 ; then
+		eerror "XDPH needs >=gcc-13 to compile."
+		eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
+		die "GCC version is too old to compile XDPH!"
+	elif ! tc-is-gcc ; then
+		eerror "XDPH v1.1.0 needs >=gcc-13 to compile."
+		eerror "Due to an upstream issue, XDPH won't compile with clang."
+		eerror "Please either use GCC, or merge an older version than 1.0.0."
+		die "XDPH won't compile with clang!"
 	fi
 }
 


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-09-24 18:40 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-09-24 18:40 UTC (permalink / raw
  To: gentoo-commits

commit:     8a834cded9de79becd18b62238ccd0a6a1b6d210
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Sun Sep 24 18:38:21 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Sun Sep 24 18:39:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8a834cde

gui-libs/xdg-desktop-portal-hyprland: add 1.1.0, update 9999

Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 gui-libs/xdg-desktop-portal-hyprland/Manifest      |  1 +
 ...ld => xdg-desktop-portal-hyprland-1.1.0.ebuild} | 23 +++++++++++++---------
 .../xdg-desktop-portal-hyprland-9999.ebuild        | 23 +++++++++++++---------
 3 files changed, 29 insertions(+), 18 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
index 301216c4b6..517548e387 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/Manifest
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -1,2 +1,3 @@
 DIST xdg-desktop-hyprland-0.4.0.tar.gz 50645 BLAKE2B 7f4e2d3102e848c15dfa6eeefa3d1375ea5b7dc34ae9c3b7fb42caded4090bf877a4d1eef1dfb42be37b7b9374487297b2b9366b619bb7f6700676222d218d81 SHA512 3b6955f15ae86a7552d39bf107cfd153fe0fff68cc4b87b277b8010f40a267446cc9c8f51975197f2fc4333b854e2e2a549e03cbdde63675a51dd12b0ce185f3
 DIST xdg-desktop-hyprland-0.5.0.tar.gz 50608 BLAKE2B 7e2c7098f4be1a35c9093b1454c828467dfd52057dc30948ff1824c506115e0a1df8c037d7e85d79c0b845f682285c0fbf6786708537126cc3c94cd05e819a4a SHA512 1efbd3378e9d84f47189264b1b98e65cc73aeea916e31f085ba4503b9e4e25f8121894433adf21d0174ceae3588048a6a83c440cb57e8d2e62301629e93f8c91
+DIST xdg-desktop-hyprland-1.1.0.tar.gz 42732 BLAKE2B aa78b9f3a5812988e8324b71cc265c4b2ca23d0b12239c3ac13d068a46200504685da0fb57093f0689101fc2235cb7825646a4669bfe1894928d57a3259df9e3 SHA512 e02fa5bb19ca20cdee9a2e6ad0beb507d96118e095b1e5a1836cc16a35492a9ba5db36b06e5be561adcbf16d8716c38cbb1ed373965416696c69448fbd020c10

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild
similarity index 72%
copy from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
copy to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild
index 17ebcc66ec..62aa1bd3e5 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.1.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit meson
+inherit meson toolchain-funcs
 
 DESCRIPTION="xdg-desktop-portal backend for hyprland"
 HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
@@ -24,6 +24,7 @@ REQUIRED_USE="?? ( elogind systemd )"
 
 DEPEND="
 	>=media-video/pipewire-0.3.41:=
+	dev-cpp/sdbus-c++
 	dev-libs/inih
 	dev-libs/wayland
 	dev-qt/qtbase
@@ -50,16 +51,20 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
-src_configure() {
-	local emesonargs=()
-	if use systemd; then
-		emesonargs+=(-Dsd-bus-provider=libsystemd)
-	elif use elogind; then
-		emesonargs+=(-Dsd-bus-provider=libelogind)
+pkg_setup() {
+		[[ ${MERGE_TYPE} == binary ]] && return
+
+	if tc-is-gcc; then
+		STDLIBVER=$(echo '#include <string>' | $(tc-getCXX) -x c++ -dM -E - | \
+					grep GLIBCXX_RELEASE | sed 's/.*\([1-9][0-9]\)/\1/')
+
+		if [[ ${STDLIBVER} -lt 13 ]]; then
+			die "XDPH requires >=sys-devel/gcc-13.0.0 to build"
+		fi
 	else
-		emesonargs+=(-Dsd-bus-provider=basu)
+		die "XDPH 1.1.0 won't build with clang.\
+		See: https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/81";
 	fi
-	meson_src_configure
 }
 
 src_compile() {

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
index 17ebcc66ec..62aa1bd3e5 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit meson
+inherit meson toolchain-funcs
 
 DESCRIPTION="xdg-desktop-portal backend for hyprland"
 HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
@@ -24,6 +24,7 @@ REQUIRED_USE="?? ( elogind systemd )"
 
 DEPEND="
 	>=media-video/pipewire-0.3.41:=
+	dev-cpp/sdbus-c++
 	dev-libs/inih
 	dev-libs/wayland
 	dev-qt/qtbase
@@ -50,16 +51,20 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
-src_configure() {
-	local emesonargs=()
-	if use systemd; then
-		emesonargs+=(-Dsd-bus-provider=libsystemd)
-	elif use elogind; then
-		emesonargs+=(-Dsd-bus-provider=libelogind)
+pkg_setup() {
+		[[ ${MERGE_TYPE} == binary ]] && return
+
+	if tc-is-gcc; then
+		STDLIBVER=$(echo '#include <string>' | $(tc-getCXX) -x c++ -dM -E - | \
+					grep GLIBCXX_RELEASE | sed 's/.*\([1-9][0-9]\)/\1/')
+
+		if [[ ${STDLIBVER} -lt 13 ]]; then
+			die "XDPH requires >=sys-devel/gcc-13.0.0 to build"
+		fi
 	else
-		emesonargs+=(-Dsd-bus-provider=basu)
+		die "XDPH 1.1.0 won't build with clang.\
+		See: https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/81";
 	fi
-	meson_src_configure
 }
 
 src_compile() {


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-08-11 14:17 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-08-11 14:17 UTC (permalink / raw
  To: gentoo-commits

commit:     f76548c361572ef00018d60b540c502eaddd2c48
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Fri Aug 11 14:13:28 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Fri Aug 11 14:17:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f76548c3

gui-libs/xdg-desktop-portal-hyprland: drop 0.3.0, 0.3.1, add 0.5.0

Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 gui-libs/xdg-desktop-portal-hyprland/Manifest      |  3 +-
 .../xdg-desktop-portal-hyprland-0.3.0.ebuild       | 73 ----------------------
 .../xdg-desktop-portal-hyprland-0.3.1.ebuild       | 73 ----------------------
 ...ld => xdg-desktop-portal-hyprland-0.5.0.ebuild} |  0
 4 files changed, 1 insertion(+), 148 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
index f09189ed80..301216c4b6 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/Manifest
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -1,3 +1,2 @@
-DIST xdg-desktop-hyprland-0.3.0.tar.gz 50728 BLAKE2B ea139dd5d1f51e004494cdd5eb80b154a95d64dc40100e9f7da99808e9f24018dc1de4e4572906521beb850d22b7fcc4967c63993c274d2c8e550b11e7eb4367 SHA512 f303fd0fb5ea09c7e12b6435f4113d7d5d9bbe0a785f2da9beaf7a6f9184954a53a1ad5be2c865e9e7071f5079223e512038328598ac5a64238c307741aad974
-DIST xdg-desktop-hyprland-0.3.1.tar.gz 50517 BLAKE2B dddbf1b71da391aa9d6d030fd9bdeb7819e44f6d283aec75cea2d37c0d27468fe633f235679f62b9ca1b98d919c449c0006d40495fb60a3627270e7acccca087 SHA512 53fd43621aa4960f2fa3272feec062917efa6a74f59670fc95519e13ae37e92ee8881dadf6ac8c397225ea2bcf4f1fabd87bc7bbe20c035e97dd7654398ac711
 DIST xdg-desktop-hyprland-0.4.0.tar.gz 50645 BLAKE2B 7f4e2d3102e848c15dfa6eeefa3d1375ea5b7dc34ae9c3b7fb42caded4090bf877a4d1eef1dfb42be37b7b9374487297b2b9366b619bb7f6700676222d218d81 SHA512 3b6955f15ae86a7552d39bf107cfd153fe0fff68cc4b87b277b8010f40a267446cc9c8f51975197f2fc4333b854e2e2a549e03cbdde63675a51dd12b0ce185f3
+DIST xdg-desktop-hyprland-0.5.0.tar.gz 50608 BLAKE2B 7e2c7098f4be1a35c9093b1454c828467dfd52057dc30948ff1824c506115e0a1df8c037d7e85d79c0b845f682285c0fbf6786708537126cc3c94cd05e819a4a SHA512 1efbd3378e9d84f47189264b1b98e65cc73aeea916e31f085ba4503b9e4e25f8121894433adf21d0174ceae3588048a6a83c440cb57e8d2e62301629e93f8c91

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0.ebuild
deleted file mode 100644
index 2db31ff4d8..0000000000
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson
-
-DESCRIPTION="xdg-desktop-portal backend for hyprland"
-HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
-
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
-	inherit git-r3
-else
-	KEYWORDS="~amd64"
-	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-		-> xdg-desktop-hyprland-${PV}.tar.gz"
-fi
-
-LICENSE="MIT"
-SLOT="0/9999"
-IUSE="elogind systemd"
-REQUIRED_USE="?? ( elogind systemd )"
-
-DEPEND="
-	>=media-video/pipewire-0.3.41:=
-	dev-libs/inih
-	dev-libs/wayland
-	dev-qt/qtbase
-	dev-qt/qtcore
-	dev-qt/qtgui
-	dev-qt/qtwayland:6
-	dev-qt/qtwidgets
-	media-libs/mesa
-	sys-apps/util-linux
-	x11-libs/libdrm
-	|| (
-		systemd? ( >=sys-apps/systemd-237 )
-		elogind? ( >=sys-auth/elogind-237 )
-		sys-libs/basu
-	)
-"
-RDEPEND="
-	${DEPEND}
-	sys-apps/xdg-desktop-portal
-"
-BDEPEND="
-	>=dev-libs/wayland-protocols-1.24
-	dev-libs/hyprland-protocols
-	virtual/pkgconfig
-"
-
-src_configure() {
-	local emasonargs=()
-	if use systemd; then
-		emasonargs+=(-Dsd-bus-provider=libsystemd)
-	elif use elogind; then
-		emasonargs+=(-Dsd-bus-provider=libelogind)
-	else
-		emasonargs+=(-Dsd-bus-provider=basu)
-	fi
-	meson_src_configure
-}
-
-src_compile() {
-	meson_src_compile
-	emake -C hyprland-share-picker all
-}
-
-src_install() {
-	meson_src_install
-	dobin "${S}/hyprland-share-picker/build/hyprland-share-picker"
-}

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.1.ebuild
deleted file mode 100644
index 17ebcc66ec..0000000000
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson
-
-DESCRIPTION="xdg-desktop-portal backend for hyprland"
-HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
-
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
-	inherit git-r3
-else
-	KEYWORDS="~amd64"
-	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-		-> xdg-desktop-hyprland-${PV}.tar.gz"
-fi
-
-LICENSE="MIT"
-SLOT="0/9999"
-IUSE="elogind systemd"
-REQUIRED_USE="?? ( elogind systemd )"
-
-DEPEND="
-	>=media-video/pipewire-0.3.41:=
-	dev-libs/inih
-	dev-libs/wayland
-	dev-qt/qtbase
-	dev-qt/qtcore
-	dev-qt/qtgui
-	dev-qt/qtwayland:6
-	dev-qt/qtwidgets
-	media-libs/mesa
-	sys-apps/util-linux
-	x11-libs/libdrm
-	|| (
-		systemd? ( >=sys-apps/systemd-237 )
-		elogind? ( >=sys-auth/elogind-237 )
-		sys-libs/basu
-	)
-"
-RDEPEND="
-	${DEPEND}
-	sys-apps/xdg-desktop-portal
-"
-BDEPEND="
-	>=dev-libs/wayland-protocols-1.24
-	dev-libs/hyprland-protocols
-	virtual/pkgconfig
-"
-
-src_configure() {
-	local emesonargs=()
-	if use systemd; then
-		emesonargs+=(-Dsd-bus-provider=libsystemd)
-	elif use elogind; then
-		emesonargs+=(-Dsd-bus-provider=libelogind)
-	else
-		emesonargs+=(-Dsd-bus-provider=basu)
-	fi
-	meson_src_configure
-}
-
-src_compile() {
-	meson_src_compile
-	emake -C hyprland-share-picker all
-}
-
-src_install() {
-	meson_src_install
-	dobin "${S}/hyprland-share-picker/build/hyprland-share-picker"
-}

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0-r1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.5.0.ebuild
similarity index 100%
rename from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0-r1.ebuild
rename to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.5.0.ebuild


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-05-30 15:44 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-05-30 15:44 UTC (permalink / raw
  To: gentoo-commits

commit:     e2f022b1a006b60083858b076ef8270d069b168b
Author:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
AuthorDate: Tue May 30 15:43:53 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Tue May 30 15:44:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e2f022b1

gui-libs/xdg-desktop-portal-hyprland: add 0.4.0

Signed-off-by: Remigiusz Micielski <remigiusz.micielski <AT> gmail.com>

 gui-libs/xdg-desktop-portal-hyprland/Manifest      |  1 +
 .../xdg-desktop-portal-hyprland-0.4.0.ebuild       | 73 ++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
index 58d81857f..f09189ed8 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/Manifest
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -1,2 +1,3 @@
 DIST xdg-desktop-hyprland-0.3.0.tar.gz 50728 BLAKE2B ea139dd5d1f51e004494cdd5eb80b154a95d64dc40100e9f7da99808e9f24018dc1de4e4572906521beb850d22b7fcc4967c63993c274d2c8e550b11e7eb4367 SHA512 f303fd0fb5ea09c7e12b6435f4113d7d5d9bbe0a785f2da9beaf7a6f9184954a53a1ad5be2c865e9e7071f5079223e512038328598ac5a64238c307741aad974
 DIST xdg-desktop-hyprland-0.3.1.tar.gz 50517 BLAKE2B dddbf1b71da391aa9d6d030fd9bdeb7819e44f6d283aec75cea2d37c0d27468fe633f235679f62b9ca1b98d919c449c0006d40495fb60a3627270e7acccca087 SHA512 53fd43621aa4960f2fa3272feec062917efa6a74f59670fc95519e13ae37e92ee8881dadf6ac8c397225ea2bcf4f1fabd87bc7bbe20c035e97dd7654398ac711
+DIST xdg-desktop-hyprland-0.4.0.tar.gz 50645 BLAKE2B 7f4e2d3102e848c15dfa6eeefa3d1375ea5b7dc34ae9c3b7fb42caded4090bf877a4d1eef1dfb42be37b7b9374487297b2b9366b619bb7f6700676222d218d81 SHA512 3b6955f15ae86a7552d39bf107cfd153fe0fff68cc4b87b277b8010f40a267446cc9c8f51975197f2fc4333b854e2e2a549e03cbdde63675a51dd12b0ce185f3

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.4.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.4.0.ebuild
new file mode 100644
index 000000000..17ebcc66e
--- /dev/null
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.4.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="xdg-desktop-portal backend for hyprland"
+HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
+
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
+	inherit git-r3
+else
+	KEYWORDS="~amd64"
+	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
+		-> xdg-desktop-hyprland-${PV}.tar.gz"
+fi
+
+LICENSE="MIT"
+SLOT="0/9999"
+IUSE="elogind systemd"
+REQUIRED_USE="?? ( elogind systemd )"
+
+DEPEND="
+	>=media-video/pipewire-0.3.41:=
+	dev-libs/inih
+	dev-libs/wayland
+	dev-qt/qtbase
+	dev-qt/qtcore
+	dev-qt/qtgui
+	dev-qt/qtwayland:6
+	dev-qt/qtwidgets
+	media-libs/mesa
+	sys-apps/util-linux
+	x11-libs/libdrm
+	|| (
+		systemd? ( >=sys-apps/systemd-237 )
+		elogind? ( >=sys-auth/elogind-237 )
+		sys-libs/basu
+	)
+"
+RDEPEND="
+	${DEPEND}
+	sys-apps/xdg-desktop-portal
+"
+BDEPEND="
+	>=dev-libs/wayland-protocols-1.24
+	dev-libs/hyprland-protocols
+	virtual/pkgconfig
+"
+
+src_configure() {
+	local emesonargs=()
+	if use systemd; then
+		emesonargs+=(-Dsd-bus-provider=libsystemd)
+	elif use elogind; then
+		emesonargs+=(-Dsd-bus-provider=libelogind)
+	else
+		emesonargs+=(-Dsd-bus-provider=basu)
+	fi
+	meson_src_configure
+}
+
+src_compile() {
+	meson_src_compile
+	emake -C hyprland-share-picker all
+}
+
+src_install() {
+	meson_src_install
+	dobin "${S}/hyprland-share-picker/build/hyprland-share-picker"
+}


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-04-27 16:37 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-04-27 16:37 UTC (permalink / raw
  To: gentoo-commits

commit:     9a170a936d492d6b4912e898b2fa3a05f5fc5ef9
Author:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
AuthorDate: Thu Apr 27 16:36:28 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Thu Apr 27 16:37:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9a170a93

gui-libs/xdg-desktop-portal-hyprland: add 0.3.1

Signed-off-by: Remigiusz Micielski <remigiusz.micielski <AT> gmail.com>

 gui-libs/xdg-desktop-portal-hyprland/Manifest      |  1 +
 .../xdg-desktop-portal-hyprland-0.3.1.ebuild       | 73 ++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
index 647f7f7a9..58d81857f 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/Manifest
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -1 +1,2 @@
 DIST xdg-desktop-hyprland-0.3.0.tar.gz 50728 BLAKE2B ea139dd5d1f51e004494cdd5eb80b154a95d64dc40100e9f7da99808e9f24018dc1de4e4572906521beb850d22b7fcc4967c63993c274d2c8e550b11e7eb4367 SHA512 f303fd0fb5ea09c7e12b6435f4113d7d5d9bbe0a785f2da9beaf7a6f9184954a53a1ad5be2c865e9e7071f5079223e512038328598ac5a64238c307741aad974
+DIST xdg-desktop-hyprland-0.3.1.tar.gz 50517 BLAKE2B dddbf1b71da391aa9d6d030fd9bdeb7819e44f6d283aec75cea2d37c0d27468fe633f235679f62b9ca1b98d919c449c0006d40495fb60a3627270e7acccca087 SHA512 53fd43621aa4960f2fa3272feec062917efa6a74f59670fc95519e13ae37e92ee8881dadf6ac8c397225ea2bcf4f1fabd87bc7bbe20c035e97dd7654398ac711

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.1.ebuild
new file mode 100644
index 000000000..17ebcc66e
--- /dev/null
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="xdg-desktop-portal backend for hyprland"
+HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
+
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
+	inherit git-r3
+else
+	KEYWORDS="~amd64"
+	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
+		-> xdg-desktop-hyprland-${PV}.tar.gz"
+fi
+
+LICENSE="MIT"
+SLOT="0/9999"
+IUSE="elogind systemd"
+REQUIRED_USE="?? ( elogind systemd )"
+
+DEPEND="
+	>=media-video/pipewire-0.3.41:=
+	dev-libs/inih
+	dev-libs/wayland
+	dev-qt/qtbase
+	dev-qt/qtcore
+	dev-qt/qtgui
+	dev-qt/qtwayland:6
+	dev-qt/qtwidgets
+	media-libs/mesa
+	sys-apps/util-linux
+	x11-libs/libdrm
+	|| (
+		systemd? ( >=sys-apps/systemd-237 )
+		elogind? ( >=sys-auth/elogind-237 )
+		sys-libs/basu
+	)
+"
+RDEPEND="
+	${DEPEND}
+	sys-apps/xdg-desktop-portal
+"
+BDEPEND="
+	>=dev-libs/wayland-protocols-1.24
+	dev-libs/hyprland-protocols
+	virtual/pkgconfig
+"
+
+src_configure() {
+	local emesonargs=()
+	if use systemd; then
+		emesonargs+=(-Dsd-bus-provider=libsystemd)
+	elif use elogind; then
+		emesonargs+=(-Dsd-bus-provider=libelogind)
+	else
+		emesonargs+=(-Dsd-bus-provider=basu)
+	fi
+	meson_src_configure
+}
+
+src_compile() {
+	meson_src_compile
+	emake -C hyprland-share-picker all
+}
+
+src_install() {
+	meson_src_install
+	dobin "${S}/hyprland-share-picker/build/hyprland-share-picker"
+}


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-04-24 20:38 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-04-24 20:38 UTC (permalink / raw
  To: gentoo-commits

commit:     bd31f0665567ffc272e41d8c61bbaea0662f44e4
Author:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
AuthorDate: Mon Apr 24 20:25:16 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Mon Apr 24 20:37:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bd31f066

Revert "gui-libs/xdg-desktop-portal-hyprland: fix wrong variable name"

This reverts commit 8dfa4652d619f3361b531f64d33c8547dcbac62f.
Signed-off-by: Remigiusz Micielski <remigiusz.micielski <AT> gmail.com>

 .../xdg-desktop-portal-hyprland-0.1.0.ebuild                      | 8 ++++----
 .../xdg-desktop-portal-hyprland-0.2.1.ebuild                      | 8 ++++----
 .../xdg-desktop-portal-hyprland-0.3.0.ebuild                      | 8 ++++----
 .../xdg-desktop-portal-hyprland-9999.ebuild                       | 8 ++++----
 4 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
index b5b2c54e6..a16147f38 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
@@ -59,13 +59,13 @@ src_unpack() {
 }
 
 src_configure() {
-	local emesonargs=()
+	local emasonargs=()
 	if use systemd; then
-		emesonargs+=(-Dsd-bus-provider=libsystemd)
+		emasonargs+=(-Dsd-bus-provider=libsystemd)
 	elif use elogind; then
-		emesonargs+=(-Dsd-bus-provider=libelogind)
+		emasonargs+=(-Dsd-bus-provider=libelogind)
 	else
-		emesonargs+=(-Dsd-bus-provider=basu)
+		emasonargs+=(-Dsd-bus-provider=basu)
 	fi
 	meson_src_configure
 }

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.2.1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.2.1.ebuild
index 36fbc67ce..10b789489 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.2.1.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.2.1.ebuild
@@ -60,13 +60,13 @@ src_unpack() {
 }
 
 src_configure() {
-	local emesonargs=()
+	local emasonargs=()
 	if use systemd; then
-		emesonargs+=(-Dsd-bus-provider=libsystemd)
+		emasonargs+=(-Dsd-bus-provider=libsystemd)
 	elif use elogind; then
-		emesonargs+=(-Dsd-bus-provider=libelogind)
+		emasonargs+=(-Dsd-bus-provider=libelogind)
 	else
-		emesonargs+=(-Dsd-bus-provider=basu)
+		emasonargs+=(-Dsd-bus-provider=basu)
 	fi
 	meson_src_configure
 }

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0.ebuild
index 17ebcc66e..2db31ff4d 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0.ebuild
@@ -51,13 +51,13 @@ BDEPEND="
 "
 
 src_configure() {
-	local emesonargs=()
+	local emasonargs=()
 	if use systemd; then
-		emesonargs+=(-Dsd-bus-provider=libsystemd)
+		emasonargs+=(-Dsd-bus-provider=libsystemd)
 	elif use elogind; then
-		emesonargs+=(-Dsd-bus-provider=libelogind)
+		emasonargs+=(-Dsd-bus-provider=libelogind)
 	else
-		emesonargs+=(-Dsd-bus-provider=basu)
+		emasonargs+=(-Dsd-bus-provider=basu)
 	fi
 	meson_src_configure
 }

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
index 17ebcc66e..2db31ff4d 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
@@ -51,13 +51,13 @@ BDEPEND="
 "
 
 src_configure() {
-	local emesonargs=()
+	local emasonargs=()
 	if use systemd; then
-		emesonargs+=(-Dsd-bus-provider=libsystemd)
+		emasonargs+=(-Dsd-bus-provider=libsystemd)
 	elif use elogind; then
-		emesonargs+=(-Dsd-bus-provider=libelogind)
+		emasonargs+=(-Dsd-bus-provider=libelogind)
 	else
-		emesonargs+=(-Dsd-bus-provider=basu)
+		emasonargs+=(-Dsd-bus-provider=basu)
 	fi
 	meson_src_configure
 }


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-04-24 20:38 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-04-24 20:38 UTC (permalink / raw
  To: gentoo-commits

commit:     3d6e6056b4659710955f5f6095cf69cbf098085f
Author:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
AuthorDate: Mon Apr 24 20:34:51 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Mon Apr 24 20:37:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3d6e6056

gui-libs/xdg-desktop-portal-hyprland: add 0.3.0-r1, update 9999

Closes: https://bugs.gentoo.org/904889
Signed-off-by: Remigiusz Micielski <remigiusz.micielski <AT> gmail.com>

 ...nd-9999.ebuild => xdg-desktop-portal-hyprland-0.3.0-r1.ebuild} | 8 ++++----
 .../xdg-desktop-portal-hyprland-9999.ebuild                       | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0-r1.ebuild
similarity index 90%
copy from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
copy to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0-r1.ebuild
index 2db31ff4d..17ebcc66e 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0-r1.ebuild
@@ -51,13 +51,13 @@ BDEPEND="
 "
 
 src_configure() {
-	local emasonargs=()
+	local emesonargs=()
 	if use systemd; then
-		emasonargs+=(-Dsd-bus-provider=libsystemd)
+		emesonargs+=(-Dsd-bus-provider=libsystemd)
 	elif use elogind; then
-		emasonargs+=(-Dsd-bus-provider=libelogind)
+		emesonargs+=(-Dsd-bus-provider=libelogind)
 	else
-		emasonargs+=(-Dsd-bus-provider=basu)
+		emesonargs+=(-Dsd-bus-provider=basu)
 	fi
 	meson_src_configure
 }

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
index 2db31ff4d..17ebcc66e 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
@@ -51,13 +51,13 @@ BDEPEND="
 "
 
 src_configure() {
-	local emasonargs=()
+	local emesonargs=()
 	if use systemd; then
-		emasonargs+=(-Dsd-bus-provider=libsystemd)
+		emesonargs+=(-Dsd-bus-provider=libsystemd)
 	elif use elogind; then
-		emasonargs+=(-Dsd-bus-provider=libelogind)
+		emesonargs+=(-Dsd-bus-provider=libelogind)
 	else
-		emasonargs+=(-Dsd-bus-provider=basu)
+		emesonargs+=(-Dsd-bus-provider=basu)
 	fi
 	meson_src_configure
 }


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-04-24 20:38 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-04-24 20:38 UTC (permalink / raw
  To: gentoo-commits

commit:     a979daf19910867c6fe21eb2b03e090b0a0b878a
Author:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
AuthorDate: Mon Apr 24 20:30:59 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Mon Apr 24 20:37:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a979daf1

gui-libs/xdg-desktop-portal-hyprland: drop 0.1.0, 0.2.1

Signed-off-by: Remigiusz Micielski <remigiusz.micielski <AT> gmail.com>

 gui-libs/xdg-desktop-portal-hyprland/Manifest      |  4 --
 .../xdg-desktop-portal-hyprland-0.1.0.ebuild       | 81 ---------------------
 .../xdg-desktop-portal-hyprland-0.2.1.ebuild       | 82 ----------------------
 3 files changed, 167 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
index e161380ae..647f7f7a9 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/Manifest
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -1,5 +1 @@
-DIST hyprland-protocol-0.1.0.tar.gz 6343 BLAKE2B cffa25c1fbac992db9aee57956615c2a5f8a6e90150d86246218e6d346e566a43527f56cab08b07359bd2f56b1e02b741fb0dbb37ec35fbadd22dfdb2006d3b0 SHA512 f8534c0f6562ce3c770ed9c79b8b78504d6f3aa75001c74ecfa5418af939e88a020ca1cef08d20c62e73c764d66452b5ce212a0f0d2e9a3aaba635ee80b142c5
-DIST hyprland-protocol-0.2.1.tar.gz 6343 BLAKE2B cffa25c1fbac992db9aee57956615c2a5f8a6e90150d86246218e6d346e566a43527f56cab08b07359bd2f56b1e02b741fb0dbb37ec35fbadd22dfdb2006d3b0 SHA512 f8534c0f6562ce3c770ed9c79b8b78504d6f3aa75001c74ecfa5418af939e88a020ca1cef08d20c62e73c764d66452b5ce212a0f0d2e9a3aaba635ee80b142c5
-DIST xdg-desktop-hyprland-0.1.0.tar.gz 45350 BLAKE2B 7b0349f3d0ff4708df3068d71deecb675109c905e0cea6fa0724a2645267a70038a54e2a9eb536e6dbc0d0a138071ceb91527e0df91c83cda0b57e3cf3b519d2 SHA512 b8cfda484d5d50c7fae33eb020c101990ceb244bdfebac46c9820267697eae76bb1e6261c1b03d8fb0148eb81c64f01c59eb94171cb87407541d20117fa48f18
-DIST xdg-desktop-hyprland-0.2.1.tar.gz 49895 BLAKE2B 2823133cf0253e36b5a8777184ac220e9b7800d8bf2307599b764cb20f9eb5b3600adaf9d29e6b5707eb99aa3d75719c246b95eca30ef261a90c8d82d675a5ae SHA512 38cfae4736f7016cc3bf998963f42ec5e8e61a1954a4509152834fa2ba33fbc88723af9833881f5ab6e89e92edb0f6840b8ca645b7fa3162220864e9a9aa2725
 DIST xdg-desktop-hyprland-0.3.0.tar.gz 50728 BLAKE2B ea139dd5d1f51e004494cdd5eb80b154a95d64dc40100e9f7da99808e9f24018dc1de4e4572906521beb850d22b7fcc4967c63993c274d2c8e550b11e7eb4367 SHA512 f303fd0fb5ea09c7e12b6435f4113d7d5d9bbe0a785f2da9beaf7a6f9184954a53a1ad5be2c865e9e7071f5079223e512038328598ac5a64238c307741aad974

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
deleted file mode 100644
index a16147f38..000000000
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson
-
-DESCRIPTION="xdg-desktop-portal backend for hyprland"
-HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
-
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
-	inherit git-r3
-else
-	KEYWORDS="~amd64"
-	PROTOCOMMIT=4d29e48433270a2af06b8bc711ca1fe5109746cd
-	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-		-> xdg-desktop-hyprland-${PV}.tar.gz
-	https://github.com/hyprwm/hyprland-protocols/archive/${PROTOCOMMIT}.tar.gz \
-		-> hyprland-protocol-${PV}.tar.gz"
-fi
-
-LICENSE="MIT"
-SLOT="0/9999"
-IUSE="elogind systemd"
-REQUIRED_USE="?? ( elogind systemd )"
-
-DEPEND="
-	>=media-video/pipewire-0.3.41:=
-	dev-libs/inih
-	dev-libs/wayland
-	dev-qt/qtbase
-	dev-qt/qtcore
-	dev-qt/qtgui
-	dev-qt/qtwayland:6
-	dev-qt/qtwidgets
-	media-libs/mesa
-	x11-libs/libdrm
-	|| (
-		systemd? ( >=sys-apps/systemd-237 )
-		elogind? ( >=sys-auth/elogind-237 )
-		sys-libs/basu
-	)
-"
-RDEPEND="
-	${DEPEND}
-	sys-apps/xdg-desktop-portal
-"
-BDEPEND="
-	>=dev-libs/wayland-protocols-1.24
-	virtual/pkgconfig
-"
-
-src_unpack() {
-	default
-
-	rmdir "${S}/subprojects/hyprland-protocols"
-	mv "${WORKDIR}/hyprland-protocols-${PROTOCOMMIT}" "${S}/subprojects/hyprland-protocols" || die
-}
-
-src_configure() {
-	local emasonargs=()
-	if use systemd; then
-		emasonargs+=(-Dsd-bus-provider=libsystemd)
-	elif use elogind; then
-		emasonargs+=(-Dsd-bus-provider=libelogind)
-	else
-		emasonargs+=(-Dsd-bus-provider=basu)
-	fi
-	meson_src_configure
-}
-
-src_compile() {
-	meson_src_compile
-	emake -C hyprland-share-picker all
-}
-
-src_install() {
-	meson_src_install
-	dobin "${S}/hyprland-share-picker/build/hyprland-share-picker"
-}

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.2.1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.2.1.ebuild
deleted file mode 100644
index 10b789489..000000000
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.2.1.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson
-
-DESCRIPTION="xdg-desktop-portal backend for hyprland"
-HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
-
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
-	inherit git-r3
-else
-	KEYWORDS="~amd64"
-	PROTOCOMMIT=4d29e48433270a2af06b8bc711ca1fe5109746cd
-	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-		-> xdg-desktop-hyprland-${PV}.tar.gz
-	https://github.com/hyprwm/hyprland-protocols/archive/${PROTOCOMMIT}.tar.gz \
-		-> hyprland-protocol-${PV}.tar.gz"
-fi
-
-LICENSE="MIT"
-SLOT="0/9999"
-IUSE="elogind systemd"
-REQUIRED_USE="?? ( elogind systemd )"
-
-DEPEND="
-	>=media-video/pipewire-0.3.41:=
-	dev-libs/inih
-	dev-libs/wayland
-	dev-qt/qtbase
-	dev-qt/qtcore
-	dev-qt/qtgui
-	dev-qt/qtwayland:6
-	dev-qt/qtwidgets
-	media-libs/mesa
-	sys-apps/util-linux
-	x11-libs/libdrm
-	|| (
-		systemd? ( >=sys-apps/systemd-237 )
-		elogind? ( >=sys-auth/elogind-237 )
-		sys-libs/basu
-	)
-"
-RDEPEND="
-	${DEPEND}
-	sys-apps/xdg-desktop-portal
-"
-BDEPEND="
-	>=dev-libs/wayland-protocols-1.24
-	virtual/pkgconfig
-"
-
-src_unpack() {
-	default
-
-	rmdir "${S}/subprojects/hyprland-protocols"
-	mv "${WORKDIR}/hyprland-protocols-${PROTOCOMMIT}" "${S}/subprojects/hyprland-protocols" || die
-}
-
-src_configure() {
-	local emasonargs=()
-	if use systemd; then
-		emasonargs+=(-Dsd-bus-provider=libsystemd)
-	elif use elogind; then
-		emasonargs+=(-Dsd-bus-provider=libelogind)
-	else
-		emasonargs+=(-Dsd-bus-provider=basu)
-	fi
-	meson_src_configure
-}
-
-src_compile() {
-	meson_src_compile
-	emake -C hyprland-share-picker all
-}
-
-src_install() {
-	meson_src_install
-	dobin "${S}/hyprland-share-picker/build/hyprland-share-picker"
-}


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-04-24 12:28 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-04-24 12:28 UTC (permalink / raw
  To: gentoo-commits

commit:     8dfa4652d619f3361b531f64d33c8547dcbac62f
Author:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
AuthorDate: Mon Apr 24 12:25:38 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Mon Apr 24 12:27:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8dfa4652

gui-libs/xdg-desktop-portal-hyprland: fix wrong variable name

Closes: https://bugs.gentoo.org/904889
Signed-off-by: Remigiusz Micielski <remigiusz.micielski <AT> gmail.com>

 .../xdg-desktop-portal-hyprland-0.1.0.ebuild                      | 8 ++++----
 .../xdg-desktop-portal-hyprland-0.2.1.ebuild                      | 8 ++++----
 .../xdg-desktop-portal-hyprland-0.3.0.ebuild                      | 8 ++++----
 .../xdg-desktop-portal-hyprland-9999.ebuild                       | 8 ++++----
 4 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
index a16147f38..b5b2c54e6 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
@@ -59,13 +59,13 @@ src_unpack() {
 }
 
 src_configure() {
-	local emasonargs=()
+	local emesonargs=()
 	if use systemd; then
-		emasonargs+=(-Dsd-bus-provider=libsystemd)
+		emesonargs+=(-Dsd-bus-provider=libsystemd)
 	elif use elogind; then
-		emasonargs+=(-Dsd-bus-provider=libelogind)
+		emesonargs+=(-Dsd-bus-provider=libelogind)
 	else
-		emasonargs+=(-Dsd-bus-provider=basu)
+		emesonargs+=(-Dsd-bus-provider=basu)
 	fi
 	meson_src_configure
 }

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.2.1.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.2.1.ebuild
index 10b789489..36fbc67ce 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.2.1.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.2.1.ebuild
@@ -60,13 +60,13 @@ src_unpack() {
 }
 
 src_configure() {
-	local emasonargs=()
+	local emesonargs=()
 	if use systemd; then
-		emasonargs+=(-Dsd-bus-provider=libsystemd)
+		emesonargs+=(-Dsd-bus-provider=libsystemd)
 	elif use elogind; then
-		emasonargs+=(-Dsd-bus-provider=libelogind)
+		emesonargs+=(-Dsd-bus-provider=libelogind)
 	else
-		emasonargs+=(-Dsd-bus-provider=basu)
+		emesonargs+=(-Dsd-bus-provider=basu)
 	fi
 	meson_src_configure
 }

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0.ebuild
index 2db31ff4d..17ebcc66e 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0.ebuild
@@ -51,13 +51,13 @@ BDEPEND="
 "
 
 src_configure() {
-	local emasonargs=()
+	local emesonargs=()
 	if use systemd; then
-		emasonargs+=(-Dsd-bus-provider=libsystemd)
+		emesonargs+=(-Dsd-bus-provider=libsystemd)
 	elif use elogind; then
-		emasonargs+=(-Dsd-bus-provider=libelogind)
+		emesonargs+=(-Dsd-bus-provider=libelogind)
 	else
-		emasonargs+=(-Dsd-bus-provider=basu)
+		emesonargs+=(-Dsd-bus-provider=basu)
 	fi
 	meson_src_configure
 }

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
index 2db31ff4d..17ebcc66e 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
@@ -51,13 +51,13 @@ BDEPEND="
 "
 
 src_configure() {
-	local emasonargs=()
+	local emesonargs=()
 	if use systemd; then
-		emasonargs+=(-Dsd-bus-provider=libsystemd)
+		emesonargs+=(-Dsd-bus-provider=libsystemd)
 	elif use elogind; then
-		emasonargs+=(-Dsd-bus-provider=libelogind)
+		emesonargs+=(-Dsd-bus-provider=libelogind)
 	else
-		emasonargs+=(-Dsd-bus-provider=basu)
+		emesonargs+=(-Dsd-bus-provider=basu)
 	fi
 	meson_src_configure
 }


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-04-22  9:45 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-04-22  9:45 UTC (permalink / raw
  To: gentoo-commits

commit:     31f45d67fc498ab207fa834219f78c9ed2df97ed
Author:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
AuthorDate: Sat Apr 22 09:42:18 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Sat Apr 22 09:45:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=31f45d67

gui-libs/xdg-desktop-portal-hyprland: add 0.3.0, update 9999

Signed-off-by: Remigiusz Micielski <remigiusz.micielski <AT> gmail.com>

 gui-libs/xdg-desktop-portal-hyprland/Manifest               |  1 +
 ...9999.ebuild => xdg-desktop-portal-hyprland-0.3.0.ebuild} | 13 ++-----------
 .../xdg-desktop-portal-hyprland-9999.ebuild                 | 13 ++-----------
 3 files changed, 5 insertions(+), 22 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
index cd38d3838..e161380ae 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/Manifest
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -2,3 +2,4 @@ DIST hyprland-protocol-0.1.0.tar.gz 6343 BLAKE2B cffa25c1fbac992db9aee57956615c2
 DIST hyprland-protocol-0.2.1.tar.gz 6343 BLAKE2B cffa25c1fbac992db9aee57956615c2a5f8a6e90150d86246218e6d346e566a43527f56cab08b07359bd2f56b1e02b741fb0dbb37ec35fbadd22dfdb2006d3b0 SHA512 f8534c0f6562ce3c770ed9c79b8b78504d6f3aa75001c74ecfa5418af939e88a020ca1cef08d20c62e73c764d66452b5ce212a0f0d2e9a3aaba635ee80b142c5
 DIST xdg-desktop-hyprland-0.1.0.tar.gz 45350 BLAKE2B 7b0349f3d0ff4708df3068d71deecb675109c905e0cea6fa0724a2645267a70038a54e2a9eb536e6dbc0d0a138071ceb91527e0df91c83cda0b57e3cf3b519d2 SHA512 b8cfda484d5d50c7fae33eb020c101990ceb244bdfebac46c9820267697eae76bb1e6261c1b03d8fb0148eb81c64f01c59eb94171cb87407541d20117fa48f18
 DIST xdg-desktop-hyprland-0.2.1.tar.gz 49895 BLAKE2B 2823133cf0253e36b5a8777184ac220e9b7800d8bf2307599b764cb20f9eb5b3600adaf9d29e6b5707eb99aa3d75719c246b95eca30ef261a90c8d82d675a5ae SHA512 38cfae4736f7016cc3bf998963f42ec5e8e61a1954a4509152834fa2ba33fbc88723af9833881f5ab6e89e92edb0f6840b8ca645b7fa3162220864e9a9aa2725
+DIST xdg-desktop-hyprland-0.3.0.tar.gz 50728 BLAKE2B ea139dd5d1f51e004494cdd5eb80b154a95d64dc40100e9f7da99808e9f24018dc1de4e4572906521beb850d22b7fcc4967c63993c274d2c8e550b11e7eb4367 SHA512 f303fd0fb5ea09c7e12b6435f4113d7d5d9bbe0a785f2da9beaf7a6f9184954a53a1ad5be2c865e9e7071f5079223e512038328598ac5a64238c307741aad974

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0.ebuild
similarity index 79%
copy from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
copy to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0.ebuild
index 10b789489..2db31ff4d 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0.ebuild
@@ -13,11 +13,8 @@ if [[ ${PV} == 9999 ]]; then
 	inherit git-r3
 else
 	KEYWORDS="~amd64"
-	PROTOCOMMIT=4d29e48433270a2af06b8bc711ca1fe5109746cd
 	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-		-> xdg-desktop-hyprland-${PV}.tar.gz
-	https://github.com/hyprwm/hyprland-protocols/archive/${PROTOCOMMIT}.tar.gz \
-		-> hyprland-protocol-${PV}.tar.gz"
+		-> xdg-desktop-hyprland-${PV}.tar.gz"
 fi
 
 LICENSE="MIT"
@@ -49,16 +46,10 @@ RDEPEND="
 "
 BDEPEND="
 	>=dev-libs/wayland-protocols-1.24
+	dev-libs/hyprland-protocols
 	virtual/pkgconfig
 "
 
-src_unpack() {
-	default
-
-	rmdir "${S}/subprojects/hyprland-protocols"
-	mv "${WORKDIR}/hyprland-protocols-${PROTOCOMMIT}" "${S}/subprojects/hyprland-protocols" || die
-}
-
 src_configure() {
 	local emasonargs=()
 	if use systemd; then

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
index 10b789489..2db31ff4d 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
@@ -13,11 +13,8 @@ if [[ ${PV} == 9999 ]]; then
 	inherit git-r3
 else
 	KEYWORDS="~amd64"
-	PROTOCOMMIT=4d29e48433270a2af06b8bc711ca1fe5109746cd
 	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-		-> xdg-desktop-hyprland-${PV}.tar.gz
-	https://github.com/hyprwm/hyprland-protocols/archive/${PROTOCOMMIT}.tar.gz \
-		-> hyprland-protocol-${PV}.tar.gz"
+		-> xdg-desktop-hyprland-${PV}.tar.gz"
 fi
 
 LICENSE="MIT"
@@ -49,16 +46,10 @@ RDEPEND="
 "
 BDEPEND="
 	>=dev-libs/wayland-protocols-1.24
+	dev-libs/hyprland-protocols
 	virtual/pkgconfig
 "
 
-src_unpack() {
-	default
-
-	rmdir "${S}/subprojects/hyprland-protocols"
-	mv "${WORKDIR}/hyprland-protocols-${PROTOCOMMIT}" "${S}/subprojects/hyprland-protocols" || die
-}
-
 src_configure() {
 	local emasonargs=()
 	if use systemd; then


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-04-11  9:47 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-04-11  9:47 UTC (permalink / raw
  To: gentoo-commits

commit:     e4f0156d7054eb856a18f01e4c1b1c2b6196b089
Author:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
AuthorDate: Tue Apr 11 09:45:46 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Tue Apr 11 09:45:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e4f0156d

gui-libs/xdg-desktop-portal-hyprland: add 0.2.1, update 9999

Signed-off-by: Remigiusz Micielski <remigiusz.micielski <AT> gmail.com>

 gui-libs/xdg-desktop-portal-hyprland/Manifest                            | 1 +
 ...tal-hyprland-9999.ebuild => xdg-desktop-portal-hyprland-0.2.1.ebuild} | 1 +
 .../xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild  | 1 +
 3 files changed, 3 insertions(+)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
index b555e4ae5..cd38d3838 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/Manifest
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -1,3 +1,4 @@
 DIST hyprland-protocol-0.1.0.tar.gz 6343 BLAKE2B cffa25c1fbac992db9aee57956615c2a5f8a6e90150d86246218e6d346e566a43527f56cab08b07359bd2f56b1e02b741fb0dbb37ec35fbadd22dfdb2006d3b0 SHA512 f8534c0f6562ce3c770ed9c79b8b78504d6f3aa75001c74ecfa5418af939e88a020ca1cef08d20c62e73c764d66452b5ce212a0f0d2e9a3aaba635ee80b142c5
+DIST hyprland-protocol-0.2.1.tar.gz 6343 BLAKE2B cffa25c1fbac992db9aee57956615c2a5f8a6e90150d86246218e6d346e566a43527f56cab08b07359bd2f56b1e02b741fb0dbb37ec35fbadd22dfdb2006d3b0 SHA512 f8534c0f6562ce3c770ed9c79b8b78504d6f3aa75001c74ecfa5418af939e88a020ca1cef08d20c62e73c764d66452b5ce212a0f0d2e9a3aaba635ee80b142c5
 DIST xdg-desktop-hyprland-0.1.0.tar.gz 45350 BLAKE2B 7b0349f3d0ff4708df3068d71deecb675109c905e0cea6fa0724a2645267a70038a54e2a9eb536e6dbc0d0a138071ceb91527e0df91c83cda0b57e3cf3b519d2 SHA512 b8cfda484d5d50c7fae33eb020c101990ceb244bdfebac46c9820267697eae76bb1e6261c1b03d8fb0148eb81c64f01c59eb94171cb87407541d20117fa48f18
 DIST xdg-desktop-hyprland-0.2.1.tar.gz 49895 BLAKE2B 2823133cf0253e36b5a8777184ac220e9b7800d8bf2307599b764cb20f9eb5b3600adaf9d29e6b5707eb99aa3d75719c246b95eca30ef261a90c8d82d675a5ae SHA512 38cfae4736f7016cc3bf998963f42ec5e8e61a1954a4509152834fa2ba33fbc88723af9833881f5ab6e89e92edb0f6840b8ca645b7fa3162220864e9a9aa2725

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.2.1.ebuild
similarity index 98%
copy from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
copy to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.2.1.ebuild
index a16147f38..10b789489 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.2.1.ebuild
@@ -35,6 +35,7 @@ DEPEND="
 	dev-qt/qtwayland:6
 	dev-qt/qtwidgets
 	media-libs/mesa
+	sys-apps/util-linux
 	x11-libs/libdrm
 	|| (
 		systemd? ( >=sys-apps/systemd-237 )

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
index a16147f38..10b789489 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
@@ -35,6 +35,7 @@ DEPEND="
 	dev-qt/qtwayland:6
 	dev-qt/qtwidgets
 	media-libs/mesa
+	sys-apps/util-linux
 	x11-libs/libdrm
 	|| (
 		systemd? ( >=sys-apps/systemd-237 )


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-04-11  9:37 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-04-11  9:37 UTC (permalink / raw
  To: gentoo-commits

commit:     bd4a526493e795b4c8bb4b63da7593c88340c63e
Author:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
AuthorDate: Tue Apr 11 09:20:18 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Tue Apr 11 09:34:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bd4a5264

gui-libs/xdg-desktop-portal-hyprland: add hyprland-protocols subproject

Signed-off-by: Remigiusz Micielski <remigiusz.micielski <AT> gmail.com>

 gui-libs/xdg-desktop-portal-hyprland/Manifest             |  2 ++
 .../xdg-desktop-portal-hyprland-0.1.0.ebuild              | 15 +++++++++++++--
 .../xdg-desktop-portal-hyprland-9999.ebuild               | 13 ++++++++++++-
 3 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
index 65ece206d..b555e4ae5 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/Manifest
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -1 +1,3 @@
+DIST hyprland-protocol-0.1.0.tar.gz 6343 BLAKE2B cffa25c1fbac992db9aee57956615c2a5f8a6e90150d86246218e6d346e566a43527f56cab08b07359bd2f56b1e02b741fb0dbb37ec35fbadd22dfdb2006d3b0 SHA512 f8534c0f6562ce3c770ed9c79b8b78504d6f3aa75001c74ecfa5418af939e88a020ca1cef08d20c62e73c764d66452b5ce212a0f0d2e9a3aaba635ee80b142c5
 DIST xdg-desktop-hyprland-0.1.0.tar.gz 45350 BLAKE2B 7b0349f3d0ff4708df3068d71deecb675109c905e0cea6fa0724a2645267a70038a54e2a9eb536e6dbc0d0a138071ceb91527e0df91c83cda0b57e3cf3b519d2 SHA512 b8cfda484d5d50c7fae33eb020c101990ceb244bdfebac46c9820267697eae76bb1e6261c1b03d8fb0148eb81c64f01c59eb94171cb87407541d20117fa48f18
+DIST xdg-desktop-hyprland-0.2.1.tar.gz 49895 BLAKE2B 2823133cf0253e36b5a8777184ac220e9b7800d8bf2307599b764cb20f9eb5b3600adaf9d29e6b5707eb99aa3d75719c246b95eca30ef261a90c8d82d675a5ae SHA512 38cfae4736f7016cc3bf998963f42ec5e8e61a1954a4509152834fa2ba33fbc88723af9833881f5ab6e89e92edb0f6840b8ca645b7fa3162220864e9a9aa2725

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
index 6468661b4..a16147f38 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
@@ -12,12 +12,16 @@ if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
 	inherit git-r3
 else
-	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz -> xdg-desktop-hyprland-${PV}.tar.gz"
+	KEYWORDS="~amd64"
+	PROTOCOMMIT=4d29e48433270a2af06b8bc711ca1fe5109746cd
+	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
+		-> xdg-desktop-hyprland-${PV}.tar.gz
+	https://github.com/hyprwm/hyprland-protocols/archive/${PROTOCOMMIT}.tar.gz \
+		-> hyprland-protocol-${PV}.tar.gz"
 fi
 
 LICENSE="MIT"
 SLOT="0/9999"
-KEYWORDS="~amd64"
 IUSE="elogind systemd"
 REQUIRED_USE="?? ( elogind systemd )"
 
@@ -47,6 +51,13 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
+src_unpack() {
+	default
+
+	rmdir "${S}/subprojects/hyprland-protocols"
+	mv "${WORKDIR}/hyprland-protocols-${PROTOCOMMIT}" "${S}/subprojects/hyprland-protocols" || die
+}
+
 src_configure() {
 	local emasonargs=()
 	if use systemd; then

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
index 31f2a4b61..a16147f38 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
@@ -12,8 +12,12 @@ if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
 	inherit git-r3
 else
-	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz -> xdg-desktop-hyprland-${PV}.tar.gz"
 	KEYWORDS="~amd64"
+	PROTOCOMMIT=4d29e48433270a2af06b8bc711ca1fe5109746cd
+	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
+		-> xdg-desktop-hyprland-${PV}.tar.gz
+	https://github.com/hyprwm/hyprland-protocols/archive/${PROTOCOMMIT}.tar.gz \
+		-> hyprland-protocol-${PV}.tar.gz"
 fi
 
 LICENSE="MIT"
@@ -47,6 +51,13 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
+src_unpack() {
+	default
+
+	rmdir "${S}/subprojects/hyprland-protocols"
+	mv "${WORKDIR}/hyprland-protocols-${PROTOCOMMIT}" "${S}/subprojects/hyprland-protocols" || die
+}
+
 src_configure() {
 	local emasonargs=()
 	if use systemd; then


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-04-11  8:41 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-04-11  8:41 UTC (permalink / raw
  To: gentoo-commits

commit:     7bb9555096f46db73bfaf821dd9652d6c708f61c
Author:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
AuthorDate: Tue Apr 11 08:33:43 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Tue Apr 11 08:40:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7bb95550

gui-libs/xdg-desktop-portal-hyprland: keyword 0.1.0 for ~amd64

Signed-off-by: Remigiusz Micielski <remigiusz.micielski <AT> gmail.com>

 .../xdg-desktop-portal-hyprland-0.1.0.ebuild                            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
index 31f2a4b61..6468661b4 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
@@ -13,11 +13,11 @@ if [[ ${PV} == 9999 ]]; then
 	inherit git-r3
 else
 	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz -> xdg-desktop-hyprland-${PV}.tar.gz"
-	KEYWORDS="~amd64"
 fi
 
 LICENSE="MIT"
 SLOT="0/9999"
+KEYWORDS="~amd64"
 IUSE="elogind systemd"
 REQUIRED_USE="?? ( elogind systemd )"
 


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-04-11  8:30 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-04-11  8:30 UTC (permalink / raw
  To: gentoo-commits

commit:     1a2a1f5328a479b8fdbabba9246859a7b56f7a9a
Author:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
AuthorDate: Tue Apr 11 08:27:55 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Tue Apr 11 08:30:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1a2a1f53

gui-libs/xdg-desktop-portal-hyprland: improve readibility

Signed-off-by: Remigiusz Micielski <remigiusz.micielski <AT> gmail.com>

 .../xdg-desktop-portal-hyprland-0.1.0.ebuild                        | 6 ++----
 .../xdg-desktop-portal-hyprland-9999.ebuild                         | 6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
index 5b195d545..31f2a4b61 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
@@ -60,13 +60,11 @@ src_configure() {
 }
 
 src_compile() {
-	cd hyprland-share-picker || die
-	make all || die "Couldn't compile hyprland-share-picker"
-	cd .. || die
 	meson_src_compile
+	emake -C hyprland-share-picker all
 }
 
 src_install() {
 	meson_src_install
-	dobin "${WORKDIR}"/xdg-desktop-portal-hyprland-${PV}/hyprland-share-picker/build/hyprland-share-picker
+	dobin "${S}/hyprland-share-picker/build/hyprland-share-picker"
 }

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
index 5b195d545..31f2a4b61 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
@@ -60,13 +60,11 @@ src_configure() {
 }
 
 src_compile() {
-	cd hyprland-share-picker || die
-	make all || die "Couldn't compile hyprland-share-picker"
-	cd .. || die
 	meson_src_compile
+	emake -C hyprland-share-picker all
 }
 
 src_install() {
 	meson_src_install
-	dobin "${WORKDIR}"/xdg-desktop-portal-hyprland-${PV}/hyprland-share-picker/build/hyprland-share-picker
+	dobin "${S}/hyprland-share-picker/build/hyprland-share-picker"
 }


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-04-11  8:30 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-04-11  8:30 UTC (permalink / raw
  To: gentoo-commits

commit:     eb7f98c72009e6f8b5d1b0933a5e8fd7a0bc696d
Author:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
AuthorDate: Tue Apr 11 07:51:29 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Tue Apr 11 08:30:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eb7f98c7

gui-libs/xdg-desktop-portal-hyprland: add missing dependencies

Signed-off-by: Remigiusz Micielski <remigiusz.micielski <AT> gmail.com>

 .../xdg-desktop-portal-hyprland-0.1.0.ebuild                        | 6 ++++--
 .../xdg-desktop-portal-hyprland-9999.ebuild                         | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
index 159404539..5b195d545 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
@@ -22,13 +22,15 @@ IUSE="elogind systemd"
 REQUIRED_USE="?? ( elogind systemd )"
 
 DEPEND="
+	>=media-video/pipewire-0.3.41:=
 	dev-libs/inih
 	dev-libs/wayland
+	dev-qt/qtbase
 	dev-qt/qtcore
-	dev-qt/qtwidgets
 	dev-qt/qtgui
+	dev-qt/qtwayland:6
+	dev-qt/qtwidgets
 	media-libs/mesa
-	>=media-video/pipewire-0.3.41:=
 	x11-libs/libdrm
 	|| (
 		systemd? ( >=sys-apps/systemd-237 )

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
index 159404539..5b195d545 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
@@ -22,13 +22,15 @@ IUSE="elogind systemd"
 REQUIRED_USE="?? ( elogind systemd )"
 
 DEPEND="
+	>=media-video/pipewire-0.3.41:=
 	dev-libs/inih
 	dev-libs/wayland
+	dev-qt/qtbase
 	dev-qt/qtcore
-	dev-qt/qtwidgets
 	dev-qt/qtgui
+	dev-qt/qtwayland:6
+	dev-qt/qtwidgets
 	media-libs/mesa
-	>=media-video/pipewire-0.3.41:=
 	x11-libs/libdrm
 	|| (
 		systemd? ( >=sys-apps/systemd-237 )


^ permalink raw reply related	[flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/
@ 2023-04-10 20:45 Remigiusz Micielski
  0 siblings, 0 replies; 46+ messages in thread
From: Remigiusz Micielski @ 2023-04-10 20:45 UTC (permalink / raw
  To: gentoo-commits

commit:     fbaa7456ef9a7a407bcb71ecef7e7e25483476ed
Author:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
AuthorDate: Mon Apr 10 20:39:03 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Mon Apr 10 20:43:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fbaa7456

gui-libs/xdg-desktop-portal-hyprland: new package, add 0.1.0, 9999

Signed-off-by: Remigiusz Micielski <remigiusz.micielski <AT> gmail.com>

 gui-libs/xdg-desktop-portal-hyprland/Manifest      |  1 +
 gui-libs/xdg-desktop-portal-hyprland/metadata.xml  | 26 ++++++++
 .../xdg-desktop-portal-hyprland-0.1.0.ebuild       | 70 ++++++++++++++++++++++
 .../xdg-desktop-portal-hyprland-9999.ebuild        | 70 ++++++++++++++++++++++
 4 files changed, 167 insertions(+)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest
new file mode 100644
index 000000000..65ece206d
--- /dev/null
+++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest
@@ -0,0 +1 @@
+DIST xdg-desktop-hyprland-0.1.0.tar.gz 45350 BLAKE2B 7b0349f3d0ff4708df3068d71deecb675109c905e0cea6fa0724a2645267a70038a54e2a9eb536e6dbc0d0a138071ceb91527e0df91c83cda0b57e3cf3b519d2 SHA512 b8cfda484d5d50c7fae33eb020c101990ceb244bdfebac46c9820267697eae76bb1e6261c1b03d8fb0148eb81c64f01c59eb94171cb87407541d20117fa48f18

diff --git a/gui-libs/xdg-desktop-portal-hyprland/metadata.xml b/gui-libs/xdg-desktop-portal-hyprland/metadata.xml
new file mode 100644
index 000000000..861c8f883
--- /dev/null
+++ b/gui-libs/xdg-desktop-portal-hyprland/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>remigiusz.micielski@gmail.com</email>
+		<name>Remigiusz Micielski</name>
+	</maintainer>
+	<upstream>
+		<doc lang="en">https://wiki.hyprland.org/hyprland-wiki/pages/Useful-Utilities/Hyprland-desktop-portal/</doc>
+		<remote-id type="github">hyprwm/xdg-desktop-portal-hyprland</remote-id>
+		<bugs-to>https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues</bugs-to>
+	</upstream>
+	<longdescription lang="en">
+		An XDG Desktop Portal (later called XDP) is a program that lets
+		other applications communicate swiftly with the compositor through
+		D-Bus. It's used for stuff like e.g. opening file pickers, screen sharing.
+		On Wayland, it also requires an implementation. For Hyprland, you'd usually
+		use xdg-desktop-portal-wlr (later called XDPW). Unfortunately, due to various
+		reasons the -wlr portal is inferior to the KDE or Gnome ones. In order to
+		bridge the gap, Hyprland has its own fork of XDPW that has more features,
+		called xdg-desktop-portal-hyprland.
+	</longdescription>
+	<use>
+		<flag name="elogind">Enable support for rootless session via elogind</flag>
+	</use>
+</pkgmetadata>

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
new file mode 100644
index 000000000..159404539
--- /dev/null
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.1.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="xdg-desktop-portal backend for hyprland"
+HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
+
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz -> xdg-desktop-hyprland-${PV}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0/9999"
+IUSE="elogind systemd"
+REQUIRED_USE="?? ( elogind systemd )"
+
+DEPEND="
+	dev-libs/inih
+	dev-libs/wayland
+	dev-qt/qtcore
+	dev-qt/qtwidgets
+	dev-qt/qtgui
+	media-libs/mesa
+	>=media-video/pipewire-0.3.41:=
+	x11-libs/libdrm
+	|| (
+		systemd? ( >=sys-apps/systemd-237 )
+		elogind? ( >=sys-auth/elogind-237 )
+		sys-libs/basu
+	)
+"
+RDEPEND="
+	${DEPEND}
+	sys-apps/xdg-desktop-portal
+"
+BDEPEND="
+	>=dev-libs/wayland-protocols-1.24
+	virtual/pkgconfig
+"
+
+src_configure() {
+	local emasonargs=()
+	if use systemd; then
+		emasonargs+=(-Dsd-bus-provider=libsystemd)
+	elif use elogind; then
+		emasonargs+=(-Dsd-bus-provider=libelogind)
+	else
+		emasonargs+=(-Dsd-bus-provider=basu)
+	fi
+	meson_src_configure
+}
+
+src_compile() {
+	cd hyprland-share-picker || die
+	make all || die "Couldn't compile hyprland-share-picker"
+	cd .. || die
+	meson_src_compile
+}
+
+src_install() {
+	meson_src_install
+	dobin "${WORKDIR}"/xdg-desktop-portal-hyprland-${PV}/hyprland-share-picker/build/hyprland-share-picker
+}

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
new file mode 100644
index 000000000..159404539
--- /dev/null
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="xdg-desktop-portal backend for hyprland"
+HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
+
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz -> xdg-desktop-hyprland-${PV}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0/9999"
+IUSE="elogind systemd"
+REQUIRED_USE="?? ( elogind systemd )"
+
+DEPEND="
+	dev-libs/inih
+	dev-libs/wayland
+	dev-qt/qtcore
+	dev-qt/qtwidgets
+	dev-qt/qtgui
+	media-libs/mesa
+	>=media-video/pipewire-0.3.41:=
+	x11-libs/libdrm
+	|| (
+		systemd? ( >=sys-apps/systemd-237 )
+		elogind? ( >=sys-auth/elogind-237 )
+		sys-libs/basu
+	)
+"
+RDEPEND="
+	${DEPEND}
+	sys-apps/xdg-desktop-portal
+"
+BDEPEND="
+	>=dev-libs/wayland-protocols-1.24
+	virtual/pkgconfig
+"
+
+src_configure() {
+	local emasonargs=()
+	if use systemd; then
+		emasonargs+=(-Dsd-bus-provider=libsystemd)
+	elif use elogind; then
+		emasonargs+=(-Dsd-bus-provider=libelogind)
+	else
+		emasonargs+=(-Dsd-bus-provider=basu)
+	fi
+	meson_src_configure
+}
+
+src_compile() {
+	cd hyprland-share-picker || die
+	make all || die "Couldn't compile hyprland-share-picker"
+	cd .. || die
+	meson_src_compile
+}
+
+src_install() {
+	meson_src_install
+	dobin "${WORKDIR}"/xdg-desktop-portal-hyprland-${PV}/hyprland-share-picker/build/hyprland-share-picker
+}


^ permalink raw reply related	[flat|nested] 46+ messages in thread

end of thread, other threads:[~2024-07-22 19:29 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-04 18:00 [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/ Remigiusz Micielski
  -- strict thread matches above, loose matches on Subject: below --
2024-07-22 19:29 Gonçalo Negrier Duarte
2024-07-22 19:29 Gonçalo Negrier Duarte
2024-07-22 16:32 John M. Harris, Jr.
2024-07-06 19:05 Gonçalo Negrier Duarte
2024-07-06 19:04 Gonçalo Negrier Duarte
2024-07-06 18:51 Gonçalo Negrier Duarte
2024-07-06 18:42 Gonçalo Negrier Duarte
2024-07-06 18:42 Gonçalo Negrier Duarte
2024-07-03  4:57 John M. Harris, Jr.
2024-07-03  4:46 John M. Harris, Jr.
2024-02-17 21:06 Julien Roy
2024-02-07 12:48 Steffen Winter
2024-01-03 12:35 Gonçalo Negrier Duarte
2024-01-02 11:40 Gonçalo Negrier Duarte
2023-12-10  7:51 Remigiusz Micielski
2023-12-03  9:32 Remigiusz Micielski
2023-11-27 15:04 Remigiusz Micielski
2023-11-22 18:26 Remigiusz Micielski
2023-11-22 18:17 Remigiusz Micielski
2023-11-22 17:27 Remigiusz Micielski
2023-10-11 13:45 Mia Neufeld
2023-10-08  5:53 Remigiusz Micielski
2023-10-07  9:11 Remigiusz Micielski
2023-10-07  9:11 Remigiusz Micielski
2023-09-30 14:05 Mia Neufeld
2023-09-29 16:01 Remigiusz Micielski
2023-09-29 16:01 Remigiusz Micielski
2023-09-29 13:27 Remigiusz Micielski
2023-09-29 13:27 Remigiusz Micielski
2023-09-29 13:20 Remigiusz Micielski
2023-09-24 18:40 Remigiusz Micielski
2023-08-11 14:17 Remigiusz Micielski
2023-05-30 15:44 Remigiusz Micielski
2023-04-27 16:37 Remigiusz Micielski
2023-04-24 20:38 Remigiusz Micielski
2023-04-24 20:38 Remigiusz Micielski
2023-04-24 20:38 Remigiusz Micielski
2023-04-24 12:28 Remigiusz Micielski
2023-04-22  9:45 Remigiusz Micielski
2023-04-11  9:47 Remigiusz Micielski
2023-04-11  9:37 Remigiusz Micielski
2023-04-11  8:41 Remigiusz Micielski
2023-04-11  8:30 Remigiusz Micielski
2023-04-11  8:30 Remigiusz Micielski
2023-04-10 20:45 Remigiusz Micielski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox