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

Reply via email to