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

atler atler at pld-linux.org
Mon Nov 27 23:34:31 CET 2023


commit 4cbea2abbb40f34a74bccf083eff168ee72fd689
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Nov 27 23:33:33 2023 +0100

    new

 xdg-desktop-portal-wlr.spec | 58 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)
---
diff --git a/xdg-desktop-portal-wlr.spec b/xdg-desktop-portal-wlr.spec
new file mode 100644
index 0000000..fa79f5f
--- /dev/null
+++ b/xdg-desktop-portal-wlr.spec
@@ -0,0 +1,58 @@
+Summary:	xdg-desktop-portal backend for wlroots
+Name:		xdg-desktop-portal-wlr
+Version:	0.7.0
+Release:	1
+License:	MIT
+Group:		X11/Applications
+Source0:	https://github.com/emersion/xdg-desktop-portal-wlr/releases/download/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	df5c89e0e99bacfd2cd65d6774a8a125
+URL:		https://github.com/emersion/xdg-desktop-portal-wlr
+BuildRequires:	Mesa-libgbm-devel
+BuildRequires:	inih-devel
+BuildRequires:	libdrm-devel
+BuildRequires:	meson >= 0.58.0
+BuildRequires:	ninja >= 1.5
+BuildRequires:	pipewire-devel >= 0.3.62
+BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.736
+BuildRequires:	scdoc >= 1.9.7
+BuildRequires:	systemd-devel
+BuildRequires:	wayland-devel
+BuildRequires:	wayland-protocols >= 1.24
+Requires:	pipewire-libs >= 0.3.62
+Requires:	xdg-desktop-portal
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+xdg-desktop-portal backend for wlroots.
+
+%prep
+%setup -q
+
+%build
+%meson build
+
+%ninja_build -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%ninja_install -C build
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%systemd_user_post xdg-desktop-portal-wlr.service
+
+%preun
+%systemd_user_preun xdg-desktop-portal-wlr.service
+
+%files
+%defattr(644,root,root,755)
+%doc CONTRIBUTING.md LICENSE README.md
+%attr(755,root,root) %{_libexecdir}/xdg-desktop-portal-wlr
+%{systemduserunitdir}/xdg-desktop-portal-wlr.service
+%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.wlr.service
+%{_datadir}/xdg-desktop-portal/portals/wlr.portal
+%{_mandir}/man5/xdg-desktop-portal-wlr.5*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xdg-desktop-portal-wlr.git/commitdiff/4cbea2abbb40f34a74bccf083eff168ee72fd689



More information about the pld-cvs-commit mailing list