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() {
