From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 589CB158013 for ; Sun, 3 Dec 2023 09:32:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 990522BC01A; Sun, 3 Dec 2023 09:32:23 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 80DAB2BC01A for ; Sun, 3 Dec 2023 09:32:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9652D335C7E for ; Sun, 3 Dec 2023 09:32:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE172ACB for ; Sun, 3 Dec 2023 09:32:20 +0000 (UTC) From: "Remigiusz Micielski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Remigiusz Micielski" Message-ID: <1701595844.21bb8280314df3c51a74c8bf2c964a018424f66f.remigiusz.micielski@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/ X-VCS-Repository: repo/proj/guru X-VCS-Files: gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.2.ebuild gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.2.5.ebuild X-VCS-Directories: gui-libs/xdg-desktop-portal-hyprland/ X-VCS-Committer: remigiusz.micielski X-VCS-Committer-Name: Remigiusz Micielski X-VCS-Revision: 21bb8280314df3c51a74c8bf2c964a018424f66f X-VCS-Branch: dev Date: Sun, 3 Dec 2023 09:32:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c7464d0e-7a6f-467a-8fe0-1fef42183e53 X-Archives-Hash: 4b330ea79dbdec7d25f420ff423e2565 commit: 21bb8280314df3c51a74c8bf2c964a018424f66f Author: Remigiusz Micielski purelymail com> AuthorDate: Sun Dec 3 09:27:50 2023 +0000 Commit: Remigiusz Micielski gmail 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 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}" }