[packages/xdg-desktop-portal-gnome] - new

qboosh qboosh at pld-linux.org
Sat Oct 30 22:49:13 CEST 2021


commit bf2ed75f13de8d9ac492aa940b97ba46dbdc34bc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Oct 30 22:54:30 2021 +0200

    - new

 xdg-desktop-portal-gnome.spec | 65 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
---
diff --git a/xdg-desktop-portal-gnome.spec b/xdg-desktop-portal-gnome.spec
new file mode 100644
index 0000000..5aad649
--- /dev/null
+++ b/xdg-desktop-portal-gnome.spec
@@ -0,0 +1,65 @@
+Summary:	GNOME Desktop Portal
+Summary(pl.UTF-8):	Implementacja XDG Desktop Portal dla GNOME
+Name:		xdg-desktop-portal-gnome
+Version:	41.1
+Release:	1
+License:	LGPL v2+
+Group:		X11/Applications
+Source0:	https://download.gnome.org/sources/xdg-desktop-portal-gnome/41/%{name}-%{version}.tar.xz
+# Source0-md5:	964bef41cea8c438bcccacf4dc7fdb08
+URL:		https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome
+BuildRequires:	fontconfig-devel
+BuildRequires:	glib2-devel >= 1:2.44
+BuildRequires:	gsettings-desktop-schemas-devel
+BuildRequires:	gtk4-devel >= 4.0
+BuildRequires:	meson >= 0.53.0
+BuildRequires:	ninja >= 1.5
+BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.736
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xdg-desktop-portal-devel >= 1.5
+BuildRequires:	xorg-lib-libX11-devel
+BuildRequires:	xz
+Requires:	glib2 >= 1:2.44
+Requires:	gsettings-desktop-schemas
+Requires:	gtk4 >= 4.0
+Requires:	systemd-units >= 1:242
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+XDG Desktop Portal implementation for GNOME. It uses GNOME-specific
+APIs and components, such as GNOME Shell, Mutter, and GNOME Settings
+Daemon, to provide various portal features.
+
+%description -l pl.UTF-8
+Implementacja XDG Desktop Portal dla GNOME. Wykorzystuje API i
+komponenty specyficzne dla GNOME, takie jak GNOME Shell, Mutter czy
+GNOME Settings Daemon, aby zapewnić różne funkcje portalu.
+
+%prep
+%setup -q
+
+%build
+%meson build \
+	-Dsystemduserunitdir=%{systemduserunitdir}
+
+%ninja_build -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%ninja_install -C build
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc NEWS README.md
+%attr(755,root,root) %{_libexecdir}/xdg-desktop-portal-gnome
+%{systemduserunitdir}/xdg-desktop-portal-gnome.service
+%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.gnome.service
+%{_datadir}/xdg-desktop-portal
+%{_desktopdir}/xdg-desktop-portal-gnome.desktop
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xdg-desktop-portal-gnome.git/commitdiff/bf2ed75f13de8d9ac492aa940b97ba46dbdc34bc



More information about the pld-cvs-commit mailing list