commit:     c4376ef6dd9f85c6563d79d3b264caf649e3327e
Author:     Lukas Schmelting <lschmelting <AT> posteo <DOT> com>
AuthorDate: Sun Sep 21 07:59:56 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Dec 22 11:04:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4376ef6

gnome-base/gvfs: add 1.58.0

Signed-off-by: Lukas Schmelting <lschmelting <AT> posteo.com>
Part-of: https://github.com/gentoo/gentoo/pull/43870
Closes: https://github.com/gentoo/gentoo/pull/43870
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 gnome-base/gvfs/Manifest           |   1 +
 gnome-base/gvfs/gvfs-1.58.0.ebuild | 166 +++++++++++++++++++++++++++++++++++++
 2 files changed, 167 insertions(+)

diff --git a/gnome-base/gvfs/Manifest b/gnome-base/gvfs/Manifest
index 78702618cbe9..cc335a962365 100644
--- a/gnome-base/gvfs/Manifest
+++ b/gnome-base/gvfs/Manifest
@@ -1,2 +1,3 @@
 DIST gvfs-1.52.3.tar.xz 1233584 BLAKE2B 
056e548442b9d149fcd82f0a9b62dc2c7cab5528d3b19f5b8d5f36d1c4d590e91a12f02b1b8660ca4d7ea08eef47f444d749e8258404b4462d6cf9b17e14b8b0
 SHA512 
7116d79db932d7d6388f3b292f1ab28926679bbbf4a59ec2eb5a4c5da4df26c94d9972e105a7c8b64fb1aa4ee2f928817766be3ffc63ed50d8bb9273a489566c
 DIST gvfs-1.56.1.tar.xz 1266412 BLAKE2B 
e9249a89b7af4633dd407d068ae0b07258340bc2fc52d6bba4758ef26b876d06b5ecfda96d53194e69d1cd2b6587beab5104012bd6988a223149d4135a7cfef8
 SHA512 
09a6fef47c7689437bb6ddf98baf228c25731e82ac6165838c55c8255c2079795e5bb824983a691c976875b2a086c46246a65979c54fdebb41a241ad983c3c33
+DIST gvfs-1.58.0.tar.xz 1283696 BLAKE2B 
25a323afacba5183734b2627188db6b1274de838e4748606f7942062ea5f35a72afda3a9bfbe8d130cc9d7358173b5bad34d3975842a21caa3e879e72ce45d75
 SHA512 
b77e1d6184be7310ffad74a45598c07ebc9555d4a5b72d2c2be535e3258a7a2da73f68f74e4ff669988410688e5592e33cf68e30e5ac12d28e9b70d36a4a9b42

diff --git a/gnome-base/gvfs/gvfs-1.58.0.ebuild 
b/gnome-base/gvfs/gvfs-1.58.0.ebuild
new file mode 100644
index 000000000000..4fa7bd0bd7a8
--- /dev/null
+++ b/gnome-base/gvfs/gvfs-1.58.0.ebuild
@@ -0,0 +1,166 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+TMPFILES_OPTIONAL=1
+inherit gnome.org gnome2-utils meson systemd tmpfiles xdg
+
+DESCRIPTION="Virtual filesystem implementation for GIO"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gvfs";
+
+LICENSE="LGPL-2+"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+IUSE="afp archive bluray cdda cdr elogind fuse google keyring 
gnome-online-accounts gphoto2 +http ios mtp nfs onedrive policykit samba 
systemd test +udev udisks zeroconf"
+RESTRICT="!test? ( test )"
+# elogind/systemd only relevant to udisks (in v1.38.1)
+REQUIRED_USE="
+       ?? ( elogind systemd )
+       cdda? ( udev )
+       google? ( gnome-online-accounts )
+       gphoto2? ( udev )
+       onedrive? ( gnome-online-accounts )
+       mtp? ( udev )
+       udisks? ( udev )
+"
+
+RDEPEND="
+       >=dev-libs/glib-2.83.0:2
+       >=gnome-base/gsettings-desktop-schemas-3.33.0
+       afp? ( >=dev-libs/libgcrypt-1.2.2:0= )
+       sys-apps/dbus
+       app-crypt/gcr:4=
+       policykit? (
+               >=sys-auth/polkit-0.114
+               sys-libs/libcap
+       )
+       http? (
+               dev-libs/libxml2:2=
+               >=net-libs/libsoup-3.0.0:3.0
+       )
+       zeroconf? ( >=net-dns/avahi-0.6[dbus] )
+       udev? ( >=dev-libs/libgudev-147:= )
+       fuse? (
+               >=sys-fs/fuse-3.0.0:3=
+               virtual/tmpfiles
+       )
+       udisks? ( >=sys-fs/udisks-1.97:2 )
+       systemd? ( >=sys-apps/systemd-206:0= )
+       elogind? ( >=sys-auth/elogind-229:0= )
+       ios? (
+               >=app-pda/libimobiledevice-1.2:=
+               >=app-pda/libplist-1:=
+       )
+       gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.53.1:= )
+       keyring? ( app-crypt/libsecret )
+       bluray? ( media-libs/libbluray:= )
+       mtp? (
+               virtual/libusb:1
+               >=media-libs/libmtp-1.1.15:=
+       )
+       samba? ( >=net-fs/samba-4[client] )
+       archive? ( app-arch/libarchive:= )
+       cdda? (
+               dev-libs/libcdio:0=
+               >=dev-libs/libcdio-paranoia-0.78.2:=
+       )
+       google? ( >=dev-libs/libgdata-0.18.0:=[crypt,gnome-online-accounts] )
+       gphoto2? ( >=media-libs/libgphoto2-2.5.0:= )
+       nfs? ( >=net-fs/libnfs-1.9.8:= )
+       onedrive? (
+               >=dev-libs/libgdata-0.18.0:=[crypt,gnome-online-accounts]
+               >=net-libs/msgraph-0.3.0:=
+       )
+       virtual/openssh
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       dev-util/glib-utils
+       app-text/docbook-xsl-stylesheets
+       app-text/docbook-xml-dtd:4.2
+       dev-libs/libxslt
+       >=sys-devel/gettext-0.19.8
+       virtual/pkgconfig
+       dev-util/gdbus-codegen
+       test? ( dev-libs/libgdata )
+"
+
+src_configure() {
+       local enable_logind="false"
+       if use systemd || use elogind; then
+               enable_logind="true"
+       fi
+
+       # currently HAVE_GCRYPT and linkage only used with afp; check it on big
+       # bumps (grep for HAVE_GCRYPT and enable_gcrypt); adjust depends if 
changes
+       local enable_gcrypt="false"
+       if use afp; then
+               enable_gcrypt="true"
+       fi
+
+       # currently HAVE_LIBUSB and linkage only used with mtp; check it on big
+       # bumps (grep for HAVE_LIBUSB and enable_libusb); adjust depends if 
changes
+       local enable_libusb="false"
+       if use mtp; then
+               enable_libusb="true"
+       fi
+
+       local emesonargs=(
+               -Dsystemduserunitdir="$(systemd_get_userunitdir)"
+               -Dtmpfilesdir="${EPREFIX}"/usr/lib/tmpfiles.d
+               $(meson_use policykit admin)
+               $(meson_use ios afc)
+               $(meson_use afp)
+               $(meson_use archive)
+               $(meson_use cdr burn)
+               $(meson_use cdda)
+               -Ddeprecated_apis=false
+               $(meson_use zeroconf dnssd)
+               $(meson_use gnome-online-accounts goa)
+               $(meson_use google)
+               $(meson_use gphoto2)
+               $(meson_use http)
+               $(meson_use mtp)
+               $(meson_use nfs)
+               $(meson_use onedrive)
+               -Dsftp=true
+               $(meson_use samba smb)
+               $(meson_use udisks udisks2)
+               $(meson_use bluray)
+               $(meson_use fuse)
+               -Dgcr=true
+               -Dgcrypt=${enable_gcrypt}
+               $(meson_use udev gudev)
+               $(meson_use keyring keyring)
+               -Dlogind=${enable_logind}
+               -Dlibusb=${enable_libusb}
+               # wouldn't install any of it as of 1.38.1; some tests need it,
+               # but they aren't automated tests in 1.38.1
+               -Ddevel_utils=false
+               -Dinstalled_tests=false
+               -Dunit_tests=false
+               -Dman=true
+               -Dprivileged_group=wheel
+               # wsdd not in gentoo repository
+               -Dwsdd=false
+       )
+       meson_src_configure
+}
+
+pkg_postinst() {
+       if use fuse; then
+               tmpfiles_process gvfsd-fuse-tmpfiles.conf
+       fi
+
+       xdg_pkg_postinst
+       gnome2_schemas_update
+       gnome2_giomodule_cache_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       gnome2_schemas_update
+       gnome2_giomodule_cache_update
+}

Reply via email to