commit:     36e195e462bc8468b399b7f1d96f7d25111b9cc4
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Jan  4 07:50:42 2026 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Jan  4 07:50:42 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=36e195e4

phosh-base/xdg-desktop-portal-phosh: add 0.52.0, drop 0.48.0

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

 phosh-base/xdg-desktop-portal-phosh/Manifest       |   4 +-
 .../xdg-desktop-portal-phosh-0.48.0.ebuild         |  48 ----
 .../xdg-desktop-portal-phosh-0.52.0.ebuild         | 290 +++++++++++++++++++++
 3 files changed, 292 insertions(+), 50 deletions(-)

diff --git a/phosh-base/xdg-desktop-portal-phosh/Manifest 
b/phosh-base/xdg-desktop-portal-phosh/Manifest
index ac98f647be..4de33b70f2 100644
--- a/phosh-base/xdg-desktop-portal-phosh/Manifest
+++ b/phosh-base/xdg-desktop-portal-phosh/Manifest
@@ -206,12 +206,12 @@ DIST winnow-0.7.12.crate 174403 BLAKE2B 
10087d32ed9f1d3ea69607f314f92d17882efab7
 DIST wit-bindgen-rt-0.39.0.crate 12241 BLAKE2B 
c8cda3c7a513dca58e2ad52b03692714750870801af37a235bfe1f217afe880f36df56d8e54b52ee1cb9f4e30f5580b8a28519b44084d2191146977f237e406f
 SHA512 
24b559688991083057b7fc0b6fa9f84445ae11cf53fca20887f55da93c24d97c9a3ed6488b3a845fe88243530b46442d3c2de70da4dc1c64f3ac632a440ea2c7
 DIST writeable-0.6.1.crate 24068 BLAKE2B 
c513c806d6abf7459db1a203c7b4aed4766e6f75cd82a40a874fac50cb50d03970d0500251551192164da14bd7d2341961fff78b7e01c88bab83007008c3e1b2
 SHA512 
686ca04702815096ac529ae6b9b80a30338f42eb5d414331992518c467c1827462673fcbbeb293818bbe570bd2723e9c60324522071c1b790c862fa6652c1385
 DIST x11-2.21.0.crate 67810 BLAKE2B 
075a51fd5f20b700389625b7f582a1d946d810d08f559df6fc4a8214e9383817578079402394420a5591872c29fc7ba440b992b4ed792a3a4db836804f25cb3b
 SHA512 
1586ba1c0e77e70075ccbb9f3b88ab5af862d7f76f7d8108d4fc95fa87cb316865b593ec62aae53ab7ea0b90541e2b2db8806ea1b3fe9306b98ff4ac69daf674
-DIST xdg-desktop-portal-phosh-0.48.0.tar.xz 77048 BLAKE2B 
19b720f344ba357dd1b09c74d075d02c39e385511ed3fa0dcd6f8899547ff52f700cdbbf3c7234f8eaf7b0e3161bb682ffd5973adc414fa1067ce22226ec353e
 SHA512 
7bd0a06402b77a371377fc38e6f9a9af707115e551c55ea8d5563cff12a385a2075af4b7fbe741deb2966a5b48c443dc1b9160bd091efb7a7007ddbd2eea4189
-DIST xdg-desktop-portal-phosh-0.48.0.tar.xz.asc 833 BLAKE2B 
91f5f4ce133492d11e378288128490f96d24775353fca51794172a5e935ce1bac13e9ef4cacca0aecf7789b76f93021be1e048a66ba44edefa42d545f8228add
 SHA512 
e39097d70fc43bb0dc2b5936475a4571aa8548cef0fbb6ce10e79b4ab7dcbcf747c9bf7adb672fc736b95daaf7ccaf7e3cdf0a68d01f93bc5a3ef8d04467bf77
 DIST xdg-desktop-portal-phosh-0.49.0.tar.xz 94900 BLAKE2B 
8a485f48e195e6cff5c0e766ca063f6962a05a4dd35da896c32db197121791a58fd52b1e9867a99afbbdfc0af326b9b634c2000767facea0c55bbe2d95faa6ec
 SHA512 
5aef585fe5e995bb393d695f1260e5ff1818781b6b9f27c0136afb57c4f9685530ec7e5c86c282a57d002409aaa54bd2739194bb8b65081c85799266b8273c19
 DIST xdg-desktop-portal-phosh-0.49.0.tar.xz.asc 833 BLAKE2B 
907bd36a31155de53165a76e60689c34b0eeeb78777e5fbed2880d103f4d531df61d08c08b875abca82c26d34cec8c9b9ea8219c0b11faeeb6a92c2fec7abdc2
 SHA512 
8de58e00f3ef288768693e4d4e8804642cae2b9fef9d1ce086b3bd59bf396f0e626b6c27da17b6f7e9098a4c7d3f35f7b012f0eb5aed7d5809bc595e919d2e06
 DIST xdg-desktop-portal-phosh-0.50.0.tar.xz 96948 BLAKE2B 
4e8238f9d286fae53aa74858b1b4aa925bfb1642b0508a4b99f7c2ced49f76a79359c3968080205b1382e2a801955b792b95d61c99c3ae3e65c2e63c6c5a07ed
 SHA512 
b9f8b95955b358b76e1c72d34a4daf16686a706f5b3f43c99365403e9c4c98cd2fb0474674d42f9002b70eb996a3a73640ca9e06bd011cb464b1d61725b40ebe
 DIST xdg-desktop-portal-phosh-0.50.0.tar.xz.asc 833 BLAKE2B 
c5ced24790e97686b7447c6218184727b3b5453eb415cddfe1d6434bc446755f13fa5af96468a0b597a56f32e7f00c98e496103670fedd2610214459bb2bc02b
 SHA512 
0ee38e4b54649f718a99cba18e83938a371213ca9e16923877b101ec58d5d6fed3f57d810cda0e48f44bbc7e4c3bd381ae26270a6d7dc20acb6ad12328152504
+DIST xdg-desktop-portal-phosh-0.52.0.tar.xz 174700 BLAKE2B 
06474943bc7c4b8494cbb3760bd1c8dace0e2f7300ea3a6dfb1ebd96865f5bfffbdf267f38240b0f5340c5e62d405a9681dc82fa99bc8efbcc33713276333fc8
 SHA512 
48060cf95168e379c2610450e443f19c4bc6030c5ca447f31e13f5663081f5f01b921c33df1e1a2676fd8413b7d05157063998dca34637ca62bf5bf19da92c75
+DIST xdg-desktop-portal-phosh-0.52.0.tar.xz.asc 833 BLAKE2B 
46fb4c4c1fc2ef3ec1336a8157297afaf50dbe0ffb5a2dd70901070276abe2e5d71d50406342754583fbad9c42d28b2ae8d8ea29b61d33a9af50737d21db94db
 SHA512 
759cc61f2bbc672e66804b9552d79a0327a08ba750c408bb038eb41b5b2b42c9ddc1825e76828ee982e998156caf49f6fd76e9c91eb45fc072d4956a014551cc
 DIST yoke-0.8.0.crate 28726 BLAKE2B 
1013ebf0478242d9172179b53a638fcf7a167e554b40464ba67a4c4db17f75963703b2c9aba29f9368af7530f475ed79a43672bf6f0840b0d77fb0d2539f8c3d
 SHA512 
6b6efbfd2bcb7e06fd6f9ae7bd213a54fedc7550273e2613fee3b8791bbe1038a7e7209142cc673d71fd57b7184cbb1209115ecd15c647db1a74f2966d593276
 DIST yoke-derive-0.8.0.crate 7521 BLAKE2B 
088fc7f5954704c453dbd2abd2a9a5a779552067aec8e51793cb6fb8144f0bee7a7b04d777bbd05c1c62f49c9c75c7f3df09b5497d35eb64c079bc04867e42f2
 SHA512 
38672da30ebb9657e2b5f3d509940ea80ee6cfbdad61b14b84ee8a7d96c1dc597eff7f3c75e5c375bcdcf8ef5bebe21f9f520844f448ca215a3be19763f578c3
 DIST zbus-5.9.0.crate 165564 BLAKE2B 
eaad6bfa24835869a3413123b654316610105222f27443de7ae2cccda60ce4507657ce4f4e261df3c747a9326b346589120689b3fbcd6dcc457a7bf2f8a4b405
 SHA512 
eeff076b74dc132e03c123fa8d120e0fefab025227ffbb874704816e0426864ce3ec0c99822b02a942ccdab813ebfa6b8fec0b516cbdb298643bb4fa28d399da

diff --git 
a/phosh-base/xdg-desktop-portal-phosh/xdg-desktop-portal-phosh-0.48.0.ebuild 
b/phosh-base/xdg-desktop-portal-phosh/xdg-desktop-portal-phosh-0.48.0.ebuild
deleted file mode 100644
index f17c645e42..0000000000
--- a/phosh-base/xdg-desktop-portal-phosh/xdg-desktop-portal-phosh-0.48.0.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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
-       x11-libs/cairo
-       x11-libs/gdk-pixbuf:2
-"
-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
-}

diff --git 
a/phosh-base/xdg-desktop-portal-phosh/xdg-desktop-portal-phosh-0.52.0.ebuild 
b/phosh-base/xdg-desktop-portal-phosh/xdg-desktop-portal-phosh-0.52.0.ebuild
new file mode 100644
index 0000000000..ff97756dc2
--- /dev/null
+++ b/phosh-base/xdg-desktop-portal-phosh/xdg-desktop-portal-phosh-0.52.0.ebuild
@@ -0,0 +1,290 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.15.0
+
+EAPI=8
+
+RUST_MIN_VER="1.86.0"
+CARGO_OPTIONAL=1
+
+CRATES="
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]+wasi-snapshot-preview1
+       [email protected]+wasi-0.2.4
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+"
+
+inherit cargo meson systemd verify-sig xdg
+
+DESCRIPTION="Phosh portal backend for xdg-desktop-portal"
+HOMEPAGE="https://gitlab.gnome.org/World/Phosh/xdg-desktop-portal-phosh";
+SRC_URI="https://sources.phosh.mobi/releases/${PN}/${P}.tar.xz
+       rust? ( ${CARGO_CRATE_URIS} )
+       verify-sig? ( https://sources.phosh.mobi/releases/${PN}/${P}.tar.xz.asc 
)"
+
+LICENSE="GPL-3+"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="man +rust"
+
+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
+       x11-libs/cairo
+       x11-libs/gdk-pixbuf:2
+       virtual/libintl
+       rust? (
+               gui-libs/gtk:4[X]
+               x11-libs/libX11
+       )
+"
+RDEPEND="${DEPEND}
+       !<phosh-base/phosh-shell-0.44.0
+"
+BDEPEND="
+       dev-libs/glib:2
+       dev-util/gdbus-codegen
+       sys-devel/gettext
+       virtual/pkgconfig
+       man? ( dev-python/docutils )
+       rust? ( ${RUST_DEPEND} )
+       verify-sig? ( sec-keys/openpgp-keys-phosh )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/phosh.asc"
+
+QA_FLAGS_IGNORED="usr/libexec/xdg-desktop-portal-phrosh"
+
+src_unpack() {
+       use verify-sig &&
+               verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
+
+       if use rust; then
+               cargo_src_unpack
+       else
+               default
+       fi
+}
+
+src_configure() {
+       unset RUSTC_WRAPPER
+       local emesonargs=(
+               -Dsystemd_user_unit_dir="$(systemd_get_userunitdir)"
+               $(meson_use man)
+               $(meson_use rust rust-portal)
+       )
+
+       meson_src_configure
+       if use rust; then
+               ln -s "${CARGO_HOME}" "${BUILD_DIR}/cargo" || die
+       fi
+}
+
+src_compile() {
+       $(usex rust cargo_env "") meson_src_compile
+}
+
+src_test() {
+       $(usex rust cargo_env "") meson_src_test
+}

Reply via email to