commit:     812b4238cbe9c1281e7e3adbd69675cd36971de4
Author:     jan Anja (cybertailor) <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue May 20 08:16:53 2025 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue May 20 08:37:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=812b4238

phosh-base/xdg-desktop-portal-phosh: new package, add 0.47.0

Signed-off-by: jan Anja (cybertailor) <cyber+gentoo <AT> sysrq.in>

 phosh-base/xdg-desktop-portal-phosh/Manifest       |  2 +
 phosh-base/xdg-desktop-portal-phosh/metadata.xml   | 16 ++++++++
 .../xdg-desktop-portal-phosh-0.47.0.ebuild         | 46 ++++++++++++++++++++++
 3 files changed, 64 insertions(+)

diff --git a/phosh-base/xdg-desktop-portal-phosh/Manifest 
b/phosh-base/xdg-desktop-portal-phosh/Manifest
new file mode 100644
index 000000000..a36ae2e73
--- /dev/null
+++ b/phosh-base/xdg-desktop-portal-phosh/Manifest
@@ -0,0 +1,2 @@
+DIST xdg-desktop-portal-phosh-0.47.0.tar.xz 76912 BLAKE2B 
db78f558f2c894af8c18e763bf442523d7f6d5c6c5a46f48e15bb7721cfe5d3af3e942d95d24cdec95c8c6c4e6bc194ebd2bc09cf79a3418aee3fa3d83270395
 SHA512 
f13689eccb8d42b2ad86fce32cb8a014a855d516722d396b917f16327dd8ee4e2cbe4e02f12b421d5fb1b4c506954354dda7db63e49ecd5134bae2fe08750b36
+DIST xdg-desktop-portal-phosh-0.47.0.tar.xz.asc 833 BLAKE2B 
7b880080cae94598be79f98e1df696ab2564ca0da9241ea44d095c2641cfe10d8cd09743e78f357ba7c082607e7784187042a6b5f28b7dd0c5f44e3257eb0268
 SHA512 
dde857b3f65462ba751f33a62e7a43b866bd4be65ef4f8f6a610d660d3e93423ff5e1ff3d35fe9e267dcff704219f1bddbc14e1a821c11974128dbf97c2555aa

diff --git a/phosh-base/xdg-desktop-portal-phosh/metadata.xml 
b/phosh-base/xdg-desktop-portal-phosh/metadata.xml
new file mode 100644
index 000000000..fa45ef62e
--- /dev/null
+++ b/phosh-base/xdg-desktop-portal-phosh/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Anna</name>
+       </maintainer>
+       <longdescription>
+               xdg-desktop-portal-phosh provides a GTK and Adwaita based 
implementation for
+               the desktop-agnostic xdg-desktop-portal service. This allows 
sandboxed
+               applications to request services from outside the sandbox.
+       </longdescription>
+       <upstream>
+               <remote-id 
type="gnome-gitlab">guidog/xdg-desktop-portal-phosh</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git 
a/phosh-base/xdg-desktop-portal-phosh/xdg-desktop-portal-phosh-0.47.0.ebuild 
b/phosh-base/xdg-desktop-portal-phosh/xdg-desktop-portal-phosh-0.47.0.ebuild
new file mode 100644
index 000000000..29401af40
--- /dev/null
+++ b/phosh-base/xdg-desktop-portal-phosh/xdg-desktop-portal-phosh-0.47.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson systemd verify-sig xdg
+
+DESCRIPTION="Phosh portal backend for xdg-desktop-portal"
+HOMEPAGE="https://gitlab.gnome.org/guidog/xdg-desktop-portal-phosh";
+SRC_URI="https://sources.phosh.mobi/releases/${PN}/${P}.tar.xz
+       verify-sig? ( https://sources.phosh.mobi/releases/${PN}/${P}.tar.xz.asc 
)"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+       >=dev-libs/glib-2.76:2
+       >=gnome-base/gnome-desktop-43:4
+       >=gnome-base/gsettings-desktop-schemas-47
+       >=gui-libs/gtk-4.12:4[wayland]
+       >=gui-libs/libadwaita-1.6:1
+       media-libs/fontconfig:1.0
+       phosh-base/pfs
+       sys-apps/dbus
+       >=sys-apps/xdg-desktop-portal-1.19.1
+"
+RDEPEND="${DEPEND}
+       !<phosh-base/phosh-shell-0.44.0
+"
+BDEPEND="
+       dev-libs/glib:2
+       dev-util/gdbus-codegen
+       sys-devel/gettext
+       virtual/pkgconfig
+       verify-sig? ( sec-keys/openpgp-keys-phosh )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/phosh.asc"
+
+src_configure() {
+       local emesonargs=(
+               -Dsystemd_user_unit_dir="$(systemd_get_userunitdir)"
+       )
+       meson_src_configure
+}

Reply via email to