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

Signed-off-by: jan Anja (cybertailor) <cyber+gentoo@sysrq.in>
This commit is contained in:
jan Anja (cybertailor)
2025-05-20 13:16:53 +05:00
parent 0faef2085b
commit 812b4238cb
3 changed files with 64 additions and 0 deletions

View File

@@ -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

View File

@@ -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>cyber+gentoo@sysrq.in</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>

View File

@@ -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
}