Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:openSUSE:Factory:rpmlint
xdg-desktop-portal-gtk
xdg-desktop-portal-gtk.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xdg-desktop-portal-gtk.spec of Package xdg-desktop-portal-gtk
# # spec file for package xdg-desktop-portal-gtk # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: xdg-desktop-portal-gtk Version: 1.15.1 Release: 0 Summary: Backend implementation for xdg-desktop-portal using GTK+ License: LGPL-2.1-or-later Group: System/Libraries URL: https://github.com/flatpak/xdg-desktop-portal-gtk Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz BuildRequires: meson BuildRequires: pkgconfig BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(fontconfig) # Needed for use of gtk apps outside of gnome BuildRequires: pkgconfig(gsettings-desktop-schemas) BuildRequires: pkgconfig(gtk+-3.0) >= 3.14 BuildRequires: pkgconfig(gtk+-unix-print-3.0) BuildRequires: pkgconfig(gtk+-x11-3.0) BuildRequires: pkgconfig(xdg-desktop-portal) >= 1.14 # Requires the xdg-desktop-portal service to be available Requires: xdg-desktop-portal # Needed for use of gtk apps outside of gnome Requires: gsettings-desktop-schemas # Users of GTK+ 3.0 and flatpak would enjoy this integration Supplements: (gtk3-schema and (flatpak or snapd)) # Users of GTK4 and flatpak would enjoy this integration Supplements: (gtk4-schema and (flatpak or snapd)) %if 0%{?suse_version} >= 1330 BuildRequires: pkgconfig(gtk+-wayland-3.0) >= 3.21.5 %endif %description A backend implementation for xdg-desktop-portal that is using GTK+ and various pieces of GNOME infrastructure, such as the org.gnome.Shell.Screenshot or org.gnome.SessionManager D-Bus interfaces. %lang_package %prep %autosetup -p1 %build # All backends that are disabled are instead provided by # xdg-desktop-portal-gnome, to keep this package free of GNOME dependencies. %meson \ -D appchooser=enabled \ -D settings=enabled \ -D wallpaper=disabled \ -D lockdown=disabled \ %{nil} %meson_build %install %meson_install %find_lang %{name} %post %systemd_user_post %{name}.service %preun %systemd_user_preun %{name}.service %files %license COPYING %{_libexecdir}/xdg-desktop-portal-gtk %{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.gtk.service %dir %{_datadir}/xdg-desktop-portal %dir %{_datadir}/xdg-desktop-portal/portals %{_datadir}/xdg-desktop-portal/portals/gtk.portal %{_datadir}/applications/xdg-desktop-portal-gtk.desktop %{_userunitdir}/xdg-desktop-portal-gtk.service %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor