[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/files/, ...
commit: 41b304c25c983bbe251cf791bc3336b7c06a27ec Author: Anthony Ruhier mailbox org> AuthorDate: Sun Apr 21 22:10:01 2024 + Commit: Viorel Munteanu gentoo org> CommitDate: Sun Apr 21 22:10:01 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41b304c2 gui-libs/xdg-desktop-portal-hyprland: fix systemd path Add patch from https://github.com/hyprwm/xdg-desktop-portal-hyprland/commit/24fa87b939539a1d13696718490ff5642ab12509 to fix the path of systemd service from /usr/lib64/systemd to /usr/lib/systemd. Signed-off-by: Anthony Ruhier mailbox.org> ...top-portal-hyprland-1.3.1_fix_systemd_path.patch | 21 + .../xdg-desktop-portal-hyprland-1.3.1-r1.ebuild | 1 + 2 files changed, 22 insertions(+) diff --git a/gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-1.3.1_fix_systemd_path.patch b/gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-1.3.1_fix_systemd_path.patch new file mode 100644 index 00..36d0b2ba82 --- /dev/null +++ b/gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-1.3.1_fix_systemd_path.patch @@ -0,0 +1,21 @@ +From 24fa87b939539a1d13696718490ff5642ab12509 Mon Sep 17 00:00:00 2001 +From: Pavel Solovev +Date: Sun, 7 Jan 2024 22:17:24 +0300 +Subject: [PATCH] Cmake: Do not use CMAKE_INSTALL_LIBDIR for the systemd + service + +In some distros CMAKE_INSTALL_LIBDIR is lib64, but systemd services are always in lib (not lib64) +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 73f429b..2eb7cfb 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -104,4 +104,4 @@ install(TARGETS xdg-desktop-portal-hyprland DESTINATION ${CMAKE_INSTALL_LIBEXECD + + install(FILES hyprland.portal DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/xdg-desktop-portal/portals") + install(FILES ${CMAKE_BINARY_DIR}/org.freedesktop.impl.portal.desktop.hyprland.service DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/dbus-1/services") +-install(FILES ${CMAKE_BINARY_DIR}/contrib/systemd/xdg-desktop-portal-hyprland.service DESTINATION "${CMAKE_INSTALL_LIBDIR}/systemd/user") ++install(FILES ${CMAKE_BINARY_DIR}/contrib/systemd/xdg-desktop-portal-hyprland.service DESTINATION "lib/systemd/user") 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-r1.ebuild index f09bf0c356..85d3f8f44a 100644 --- 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-r1.ebuild @@ -89,6 +89,7 @@ src_unpack() { src_prepare() { eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.3.1_use_sys_sdbus-c++.patch" + eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.3.1_fix_systemd_path.patch" sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die cmake_src_prepare }
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/, ...
commit: 0173d5106ad7899cd18b70bd21487b6e375d01e3 Author: Gonçalo Negrier Duarte gmail com> AuthorDate: Thu Jan 18 18:08:10 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Jan 18 18:10:10 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0173d510 gui-libs/xdg-desktop-portal-hyprland:fix stbus-c++ patch * upstream commit: https://github.com/hyprwm/xdg-desktop-portal-hyprland/commit/6a5de92769d5b7038134044053f90e7458f6a197 Closes: https://bugs.gentoo.org/921969 Signed-off-by: Gonçalo Negrier Duarte gmail.com> ...op-portal-hyprland-_use_sys_sdbus-c++.patch | 32 ++ .../xdg-desktop-portal-hyprland-.ebuild| 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-_use_sys_sdbus-c++.patch b/gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-_use_sys_sdbus-c++.patch new file mode 100644 index 00..c86c5c2c1a --- /dev/null +++ b/gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-_use_sys_sdbus-c++.patch @@ -0,0 +1,32 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 73f429b..e760098 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -38,17 +38,12 @@ add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value + message(STATUS "Checking deps...") + add_subdirectory(hyprland-share-picker) + ++find_package(sdbus-c++ REQUIRED) + find_package(Threads REQUIRED) + find_package(PkgConfig REQUIRED) + pkg_check_modules(deps REQUIRED IMPORTED_TARGET wayland-client wayland-protocols libpipewire-0.3 libspa-0.2 libdrm gbm hyprlang>=0.2.0) + + # check whether we can find sdbus-c++ through pkg-config +-pkg_check_modules(SDBUS IMPORTED_TARGET sdbus-c++) +-if(NOT SDBUS_FOUND) +-include_directories("subprojects/sdbus-cpp/include/") +-add_subdirectory(subprojects/sdbus-cpp EXCLUDE_FROM_ALL) +-add_library(PkgConfig::SDBUS ALIAS sdbus-c++) +-endif() + + # same for hyprland-protocols + pkg_check_modules(HYPRLAND_PROTOS IMPORTED_TARGET hyprland-protocols) +@@ -60,7 +55,7 @@ endif() + + file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp") + add_executable(xdg-desktop-portal-hyprland ${SRCFILES}) +-target_link_libraries(xdg-desktop-portal-hyprland PRIVATE rt PkgConfig::SDBUS Threads::Threads PkgConfig::deps) ++target_link_libraries(xdg-desktop-portal-hyprland PRIVATE rt sdbus-c++ Threads::Threads PkgConfig::deps) + + # protocols + find_program(WaylandScanner NAMES wayland-scanner) diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild index 6c155b2200..af03bb435c 100644 --- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild @@ -83,7 +83,7 @@ src_unpack() { } src_prepare() { - eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.3.1_use_sys_sdbus-c++.patch" + eapply "${FILESDIR}/xdg-desktop-portal-hyprland-_use_sys_sdbus-c++.patch" sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die cmake_src_prepare }
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: ce3f01557ce2a7749376a5195a988d8d4223fcc7 Author: Gonçalo Negrier Duarte gmail com> AuthorDate: Wed Jan 3 12:31:13 2024 + Commit: David Roman gmail com> CommitDate: Wed Jan 3 12:35:21 2024 + 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 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
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/, ...
commit: 43b3fe5beb391c5907d9b7cc71c95db3c4065703 Author: Remigiusz Micielski purelymail com> AuthorDate: Mon Dec 25 16:36:54 2023 + Commit: David Roman gmail com> CommitDate: Mon Dec 25 16:44:55 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=43b3fe5b gui-libs/xdg-desktop-portal-hyprland: add 1.2.6 Closes: https://bugs.gentoo.org/920249 Signed-off-by: Remigiusz Micielski purelymail.com> gui-libs/xdg-desktop-portal-hyprland/Manifest | 2 + ...p-portal-hyprland-1.2.6_use_sys_sdbus-c++.patch | 24 + .../xdg-desktop-portal-hyprland-1.2.6.ebuild | 108 + 3 files changed, 134 insertions(+) diff --git a/gui-libs/xdg-desktop-portal-hyprland/Manifest b/gui-libs/xdg-desktop-portal-hyprland/Manifest index c2317ed891..919bef8d19 100644 --- a/gui-libs/xdg-desktop-portal-hyprland/Manifest +++ b/gui-libs/xdg-desktop-portal-hyprland/Manifest @@ -1,5 +1,7 @@ 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 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 diff --git a/gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-1.2.6_use_sys_sdbus-c++.patch b/gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-1.2.6_use_sys_sdbus-c++.patch new file mode 100644 index 00..186a51c41b --- /dev/null +++ b/gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-1.2.6_use_sys_sdbus-c++.patch @@ -0,0 +1,24 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 8a5bee3..c3a377e 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -21,7 +21,6 @@ endif() + include_directories( + . + "protocols/" +- "subprojects/sdbus-cpp/include/" + ) + + set(CMAKE_CXX_STANDARD 23) +@@ -30,9 +29,10 @@ add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value + -fpermissive -Wno-address-of-temporary) + + message(STATUS "Checking deps...") +-add_subdirectory(subprojects/sdbus-cpp) + add_subdirectory(hyprland-share-picker) + ++find_package(sdbus-c++ REQUIRED) ++ + find_package(Threads REQUIRED) + + find_package(PkgConfig REQUIRED) 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 new file mode 100644 index 00..d32db50ddc --- /dev/null +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.6.ebuild @@ -0,0 +1,108 @@ +# 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; + +KEYWORDS="~amd64" +PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: a8607eef71bdd2163d34919625bad603c75afd0e Author: Remigiusz Micielski purelymail com> AuthorDate: Sun Dec 10 07:49:04 2023 + Commit: Viorel Munteanu gentoo org> CommitDate: Sun Dec 10 07:49:04 2023 + 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 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
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: 89f04be2a6bf5f4afad340fb68afd5015b0e745a Author: Remigiusz Micielski purelymail com> AuthorDate: Wed Nov 22 18:24:30 2023 + Commit: David Roman gmail com> CommitDate: Wed Nov 22 18:24:36 2023 + 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 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} == ]]; 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/" +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" }
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: 482dc3358ca90dec7d44ffcb799aaa22cebf9173 Author: Mia Neufeld xenialinux com> AuthorDate: Wed Oct 11 13:43:59 2023 + Commit: Rui Huang gmail com> CommitDate: Wed Oct 11 13:43:59 2023 + 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 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..00 --- 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} == ]]; 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/" -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
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: 544c5427d0aaf4e5286ed132597848dc25d329ca Author: Remigiusz Micielski purelymail com> AuthorDate: Sun Oct 8 05:52:54 2023 + Commit: David Roman gmail com> CommitDate: Sun Oct 8 05:53:12 2023 + 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 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 00..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} == ]]; 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/" +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" +}
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: b6feeed9e16a2b69f4639833eeb8f30fdeb0bb7a Author: Remigiusz Micielski purelymail com> AuthorDate: Sat Oct 7 09:11:18 2023 + Commit: David Roman gmail com> CommitDate: Sat Oct 7 09:11:18 2023 + 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 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..00 --- 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} == ]]; 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/" -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" -}
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: 5fb80bb1637c3be5125970cab0f84477e6a9c17b Author: Remigiusz Micielski purelymail com> AuthorDate: Sat Oct 7 09:10:16 2023 + Commit: David Roman gmail com> CommitDate: Sat Oct 7 09:10:16 2023 + 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 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 00..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} == ]]; 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/" +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" +}
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: ff97384e921a2610150d9112edd26c87a406aa63 Author: Mia Neufeld xenialinux com> AuthorDate: Sat Sep 30 13:31:10 2023 + Commit: David Roman gmail com> CommitDate: Sat Sep 30 14:05:04 2023 + 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 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 @@ rmiciel...@purelymail.com Remigiusz Micielski + + m...@xenialinux.com + Mia Neufeld + https://wiki.hyprland.org/hyprland-wiki/pages/Useful-Utilities/Hyprland-desktop-portal/ hyprwm/xdg-desktop-portal-hyprland
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/files/, ...
commit: 2487eafda90ed51e414083ee0a11e71918cbdb18 Author: Mia Neufeld xenialinux com> AuthorDate: Wed Sep 27 11:36:53 2023 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Fri Sep 29 17:05:55 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2487eafd gui-libs/xdg-desktop-portal-hyprland: Add patch for clang Signed-off-by: Mia Neufeld xenialinux.com> Signed-off-by: Remigiusz Micielski purelymail.com> Closes: #110 ...g-desktop-portal-hyprland-1.1.0_fix_clang.patch | 207 + .../xdg-desktop-portal-hyprland-1.1.0.ebuild | 18 +- 2 files changed, 218 insertions(+), 7 deletions(-) diff --git a/gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-1.1.0_fix_clang.patch b/gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-1.1.0_fix_clang.patch new file mode 100644 index 00..ba30747e96 --- /dev/null +++ b/gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-1.1.0_fix_clang.patch @@ -0,0 +1,207 @@ +From 54b5467ec12fb115b537e0c86256226474edf8bb Mon Sep 17 00:00:00 2001 +From: Jan Beich +Date: Mon, 18 Sep 2023 19:00:21 + +Subject: [PATCH 1/3] build: Unbreak build on FreeBSD (#98) + +* helpers: add missing header after 9dfb9e125bf0 + +src/helpers/MiscFunctions.cpp: In function 'void addHyprlandNotification(const std::string&, float, const std::string&, const std::string&)': +src/helpers/MiscFunctions.cpp:24:9: error: 'fork' was not declared in this scope + 24 | if (fork() == 0) + | ^~~~ +src/helpers/MiscFunctions.cpp:25:9: error: 'execl' was not declared in this scope + 25 | execl("/bin/sh", "/bin/sh", "-c", CMD.c_str(), nullptr); + | ^ + +* build: add missing dependency for libc++ after 2f48e6550374 + +ld.lld: error: undefined symbol: pthread_create +>>> referenced by PortalManager.cpp +>>> src/xdg-desktop-portal-hyprland.p/core_PortalManager.cpp.o:(CPortalManager::startEventLoop()) +>>> referenced by PortalManager.cpp +>>> src/xdg-desktop-portal-hyprland.p/core_PortalManager.cpp.o:(CPortalManager::startEventLoop()) +--- + CMakeLists.txt| 4 +++- + src/helpers/MiscFunctions.cpp | 1 + + src/meson.build | 1 + + 3 files changed, 5 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e39b72c..44d1689 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -31,12 +31,14 @@ message(STATUS "Checking deps...") + add_subdirectory(subprojects/sdbus-cpp) + add_subdirectory(hyprland-share-picker) + ++find_package(Threads REQUIRED) ++ + find_package(PkgConfig REQUIRED) + pkg_check_modules(deps REQUIRED IMPORTED_TARGET wayland-client wayland-protocols libpipewire-0.3 libspa-0.2 libdrm gbm) + + file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp") + add_executable(xdg-desktop-portal-hyprland ${SRCFILES}) +-target_link_libraries(xdg-desktop-portal-hyprland PRIVATE rt sdbus-c++ PkgConfig::deps) ++target_link_libraries(xdg-desktop-portal-hyprland PRIVATE rt sdbus-c++ Threads::Threads PkgConfig::deps) + + # protocols + find_program(WaylandScanner NAMES wayland-scanner) +diff --git a/src/helpers/MiscFunctions.cpp b/src/helpers/MiscFunctions.cpp +index da05ee6..353c8f0 100644 +--- a/src/helpers/MiscFunctions.cpp b/src/helpers/MiscFunctions.cpp +@@ -1,5 +1,6 @@ + #include "MiscFunctions.hpp" + #include ++#include + #include "../helpers/Log.hpp" + + std::string execAndGet(const char* cmd) { +diff --git a/src/meson.build b/src/meson.build +index 444d3bd..c3d3735 100644 +--- a/src/meson.build b/src/meson.build +@@ -8,6 +8,7 @@ executable('xdg-desktop-portal-hyprland', + dependency('libdrm'), + dependency('libpipewire-0.3'), + dependency('sdbus-c++'), ++dependency('threads'), + dependency('wayland-client'), + ], + include_directories: inc, +-- +2.42.0 + +From b6e1732fdac623638dbc12db00e10ac4b5bd791f Mon Sep 17 00:00:00 2001 +From: vaxerski <43317083+vaxer...@users.noreply.github.com> +Date: Fri, 22 Sep 2023 19:28:47 +0100 +Subject: [PATCH 2/3] picker: start on index 0 + +--- + hyprland-share-picker/mainpicker.ui | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/hyprland-share-picker/mainpicker.ui b/hyprland-share-picker/mainpicker.ui +index c14d1d6..95a3c65 100644 +--- a/hyprland-share-picker/mainpicker.ui b/hyprland-share-picker/mainpicker.ui +@@ -66,7 +66,7 @@ + QTabWidget::North + + +- 1 ++ 0 + + + +-- +2.42.0 + +From f9461b0b7d3071347390feee534638555ff76c7d Mon Sep 17 00:00:00 2001 +From: Rudolchr <72916442+rudol...@users.noreply.github.com> +Date: Tue, 26 Sep 2023 23:23:02 +0200 +Subject: [PATCH 3/3] build: Fix build when using clang (#100) + +* Add -Wno-address-of-temporary to allow taking an address of temporary like -fpermissive does for gcc + +* Make some implicit casts explicit + +* Implement the wl_array_for_each macro inline as
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: 2adb9b1822170a276938cf337210c3e76b26cce4 Author: Remigiusz Micielski purelymail com> AuthorDate: Fri Sep 29 13:23:24 2023 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Fri Sep 29 13:23:24 2023 + 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 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!"
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: e95407f656294e5d2d2990f6dbf9f3cabb103d42 Author: Remigiusz Micielski purelymail com> AuthorDate: Fri Sep 29 15:59:23 2023 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Fri Sep 29 15:59:23 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e95407f6 gui-libs/xdg-desktop-portal-hyprland: fix WhitespaceFound in Signed-off-by: Remigiusz Micielski purelymail.com> .../xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild index 22f9cd8cc1..1fd568fcd7 100644 --- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.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() {
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: 192c2f7dc8a109423241141ede9be3860a4f3866 Author: Remigiusz Micielski purelymail com> AuthorDate: Fri Sep 29 13:19:55 2023 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Fri Sep 29 13:19:55 2023 + 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 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 ' | $(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 }
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: 4bf432e6ea3025693cf6cb9c650b483792ad3b22 Author: Remigiusz Micielski purelymail com> AuthorDate: Fri Sep 29 16:00:50 2023 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Fri Sep 29 16:00:50 2023 + 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 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..00 --- 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} == ]]; 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/" -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" -}
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: e487bbdcc9cc77184afdd2bd3ef4ec2d3ac58b01 Author: Remigiusz Micielski purelymail com> AuthorDate: Fri Sep 29 13:26:45 2023 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Fri Sep 29 13:26:45 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e487bbdc gui-libs/xdg-desktop-portal-hyprland: update Signed-off-by: Remigiusz Micielski purelymail.com> .../xdg-desktop-portal-hyprland-.ebuild | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild index 62aa1bd3e5..22f9cd8cc1 100644 --- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.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 ' | $(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 }
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: 8a834cded9de79becd18b62238ccd0a6a1b6d210 Author: Remigiusz Micielski purelymail com> AuthorDate: Sun Sep 24 18:38:21 2023 + Commit: Florian Schmaus gentoo org> CommitDate: Sun Sep 24 18:39:55 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8a834cde gui-libs/xdg-desktop-portal-hyprland: add 1.1.0, update Signed-off-by: Remigiusz Micielski purelymail.com> gui-libs/xdg-desktop-portal-hyprland/Manifest | 1 + ...ld => xdg-desktop-portal-hyprland-1.1.0.ebuild} | 23 +- .../xdg-desktop-portal-hyprland-.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-.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-.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-.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 ' | $(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-.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild index 17ebcc66ec..62aa1bd3e5 100644 --- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.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} ==
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: f76548c361572ef00018d60b540c502eaddd2c48 Author: Remigiusz Micielski purelymail com> AuthorDate: Fri Aug 11 14:13:28 2023 + Commit: David Roman gmail com> CommitDate: Fri Aug 11 14:17:05 2023 + 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 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 dddbf1b71da391aa9d6d030fd9bdeb7819e44f6d283aec75cea2d37c0d27468fe633f235679f62b9ca1b98d919c449c0006d40495fb60a3627270e7aa087 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..00 --- 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} == ]]; 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/" -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..00 --- 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 -
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: e2f022b1a006b60083858b076ef8270d069b168b Author: Remigiusz Micielski gmail com> AuthorDate: Tue May 30 15:43:53 2023 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Tue May 30 15:44:41 2023 + 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 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 dddbf1b71da391aa9d6d030fd9bdeb7819e44f6d283aec75cea2d37c0d27468fe633f235679f62b9ca1b98d919c449c0006d40495fb60a3627270e7aa087 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 0..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} == ]]; 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/" +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" +}
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: a979daf19910867c6fe21eb2b03e090b0a0b878a Author: Remigiusz Micielski gmail com> AuthorDate: Mon Apr 24 20:30:59 2023 + Commit: Florian Schmaus gentoo org> CommitDate: Mon Apr 24 20:37:57 2023 + 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 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..0 --- 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} == ]]; 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/" -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 -
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: bd31f0665567ffc272e41d8c61bbaea0662f44e4 Author: Remigiusz Micielski gmail com> AuthorDate: Mon Apr 24 20:25:16 2023 + Commit: Florian Schmaus gentoo org> CommitDate: Mon Apr 24 20:37:57 2023 + 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 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-.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-.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild index 17ebcc66e..2db31ff4d 100644 --- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.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 }
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: 3d6e6056b4659710955f5f6095cf69cbf098085f Author: Remigiusz Micielski gmail com> AuthorDate: Mon Apr 24 20:34:51 2023 + Commit: Florian Schmaus gentoo org> CommitDate: Mon Apr 24 20:37:57 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3d6e6056 gui-libs/xdg-desktop-portal-hyprland: add 0.3.0-r1, update Closes: https://bugs.gentoo.org/904889 Signed-off-by: Remigiusz Micielski gmail.com> ...nd-.ebuild => xdg-desktop-portal-hyprland-0.3.0-r1.ebuild} | 8 .../xdg-desktop-portal-hyprland-.ebuild | 8 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.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-.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-.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-.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild index 2db31ff4d..17ebcc66e 100644 --- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.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 }
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: 8dfa4652d619f3361b531f64d33c8547dcbac62f Author: Remigiusz Micielski gmail com> AuthorDate: Mon Apr 24 12:25:38 2023 + Commit: Florian Schmaus gentoo org> CommitDate: Mon Apr 24 12:27:51 2023 + 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 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-.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-.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild index 2db31ff4d..17ebcc66e 100644 --- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.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 }
[gentoo-commits] repo/proj/guru:master commit in: gui-libs/xdg-desktop-portal-hyprland/
commit: 31f45d67fc498ab207fa834219f78c9ed2df97ed Author: Remigiusz Micielski gmail com> AuthorDate: Sat Apr 22 09:42:18 2023 + Commit: Florian Schmaus gentoo org> CommitDate: Sat Apr 22 09:45:20 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=31f45d67 gui-libs/xdg-desktop-portal-hyprland: add 0.3.0, update Signed-off-by: Remigiusz Micielski gmail.com> gui-libs/xdg-desktop-portal-hyprland/Manifest | 1 + ....ebuild => xdg-desktop-portal-hyprland-0.3.0.ebuild} | 13 ++--- .../xdg-desktop-portal-hyprland-.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-.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-.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-.ebuild +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-0.3.0.ebuild @@ -13,11 +13,8 @@ if [[ ${PV} == ]]; 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-.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild index 10b789489..2db31ff4d 100644 --- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-.ebuild @@ -13,11 +13,8 @@ if [[ ${PV} == ]]; 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