commit:     48b8bdc528f15751de9c800f609190d6a5f0ebea
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  5 11:16:03 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct  5 11:48:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48b8bdc5

gnome-extra/gnome-user-share: add 47.2

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 gnome-extra/gnome-user-share/Manifest              |  1 +
 .../gnome-user-share/gnome-user-share-47.2.ebuild  | 52 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/gnome-extra/gnome-user-share/Manifest 
b/gnome-extra/gnome-user-share/Manifest
index f8cc8c3d131d..b5c752a4c5c8 100644
--- a/gnome-extra/gnome-user-share/Manifest
+++ b/gnome-extra/gnome-user-share/Manifest
@@ -1 +1,2 @@
 DIST gnome-user-share-43.0.tar.xz 107912 BLAKE2B 
252c6a7077710d55321a249521a856d2b45c71fb418cd7e552b0e840c74dfba70c73ba29e0e5dbbd5dc79e2a3152226b635b8956d7a4e0013da4f2e21dc81578
 SHA512 
a63b2ad6502a907f2e476ac9dd49beaa74da6169d929783b744877558d52087198a6e95bf206af0c3fc0d6875d3d864948374dbe94734379431399939e4749ae
+DIST gnome-user-share-47.2.tar.xz 108804 BLAKE2B 
ba8142d6fbd34034e0669cf0d99adc5a5c89983c91b1147011be3f8ae83af569554a5a96106f55bffbe780cbedeb9be33f3253e6209481c9f1218549d93de2c5
 SHA512 
7e7d2be4c706050fb186aaf83db45b01413e96c09771414b3290137d6212f4f4490fb4ac228387b8b70f8fbfa83dc7df6a220af50a62303151e15c8568a9e6a0

diff --git a/gnome-extra/gnome-user-share/gnome-user-share-47.2.ebuild 
b/gnome-extra/gnome-user-share/gnome-user-share-47.2.ebuild
new file mode 100644
index 000000000000..44175f68fe9f
--- /dev/null
+++ b/gnome-extra/gnome-user-share/gnome-user-share-47.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org gnome2-utils meson systemd xdg
+
+DESCRIPTION="Personal file sharing for the GNOME desktop"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-user-share";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
+
+# FIXME: could libnotify be made optional ?
+# FIXME: selinux automagic support
+RDEPEND="
+       >=dev-libs/glib-2.74.0:2
+       >=www-apache/mod_dnssd-0.6
+       
>=www-servers/apache-2.4[apache2_modules_dav,apache2_modules_dav_fs,apache2_modules_authn_file,apache2_modules_auth_digest,apache2_modules_authz_groupfile]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       >=sys-devel/gettext-0.19.8
+       virtual/pkgconfig
+"
+
+PATCHES=(
+       # Upstream forces to use prefork because of Fedora defaults, but
+       # that is problematic for us (bug #551012)
+       # https://bugzilla.gnome.org/show_bug.cgi?id=750525#c2
+       "${FILESDIR}"/${PN}-3.18.1-no-prefork.patch
+)
+
+src_configure() {
+       local emesonargs=(
+               -Dsystemduserunitdir="$(systemd_get_userunitdir)"
+               -Dhttpd=apache2
+               -Dmodules_path=/usr/$(get_libdir)/apache2/modules/
+       )
+       meson_src_configure
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       gnome2_schemas_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       gnome2_schemas_update
+}

Reply via email to