SHA256
1
0
forked from pool/libportal

Accepting request 1199694 from GNOME:Factory

(forwarded request 1199395 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/1199694
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libportal?expand=0&rev=8
This commit is contained in:
Ana Guerrero 2024-09-10 19:12:35 +00:00 committed by Git OBS Bridge
commit b39c926794
4 changed files with 57 additions and 5 deletions

BIN
libportal-0.7.1.tar.xz (Stored with Git LFS)

Binary file not shown.

3
libportal-0.8.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:281e54e4f8561125a65d20658f1462ab932b2b1258c376fed2137718441825ac
size 103136

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Wed Sep 4 15:31:43 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.8.1:
+ Fix a regression in the Remote Desktop where it wouldn't work
with the ScreenCast portal correctly.
+ Use non-deprecated functions in the GTK4 code.
+ Run tests in CI so we catch regressions earlier.
+ Make Qt tests use QTEST_GUILESS_MAIN.
+ Fix an Input Capture test.
- Changes from version 0.8.0:
+ Add API to allow for persistence on RemoteDesktop sessions.
+ Implement support for the Input Capture portal.
+ Add support for Qt 6.
+ Support xdg-foreign with Qt 6.
+ Fix screencasting on wlroots-based compositors.
- Build the new Qt 6 support:
+ Add qt6-gui-private-devel, pkgconfig(Qt6Core), pkgconfig(Qt6Gui),
pkgconfig(Qt6Test) and pkgconfig(Qt6Widgets) BuildRequires.
+ Add new sub-packages: libportal-qt6-1 and libportal-qt6-devel.
+ Use ldconfig_scriptlets macro for post(un) handling of the new
shared library.
-------------------------------------------------------------------
Wed Nov 22 00:17:28 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package libportal
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%define sover 1
Name: libportal
Version: 0.7.1
Version: 0.8.1
Release: 0
Summary: A GIO-style async API for most Flatpak portals
License: LGPL-3.0-or-later
@ -29,12 +29,17 @@ Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: c++_compiler
BuildRequires: c_compiler
BuildRequires: meson >= 0.46.0
BuildRequires: qt6-gui-private-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: pkgconfig(Qt6Core)
BuildRequires: pkgconfig(Qt6Gui)
BuildRequires: pkgconfig(Qt6Test)
BuildRequires: pkgconfig(Qt6Widgets)
BuildRequires: pkgconfig(gi-docgen)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
@ -76,6 +81,13 @@ Summary: Qt5 integration for libportal
A GIO-style async API for most Flatpak portals.
This package contains the shared library of %{name}.
%package -n %{name}-qt6-%{sover}
Summary: Qt6 integration for libportal
%description -n %{name}-qt6-%{sover}
A GIO-style async API for most Flatpak portals.
This package contains the shared library of %{name}.
%package -n typelib-1_0-Xdp-1_0
Summary: Introspections files for libportal
@ -132,6 +144,14 @@ Requires: %{name}-qt5-%{sover} = %{version}
The %{name}-qt5-devel package contains libraries, build data, and
header files for developing applications that use %{name}.
%package qt6-devel
Summary: Headers for libportal Qt6 integration library
Requires: %{name}-qt6-%{sover} = %{version}
%description qt6-devel
The %{name}-qt6-devel package contains libraries, build data, and
header files for developing applications that use %{name}.
%prep
%autosetup -p1
@ -147,6 +167,7 @@ header files for developing applications that use %{name}.
%ldconfig_scriptlets -n %{name}-gtk3-%{sover}
%ldconfig_scriptlets -n %{name}-gtk4-%{sover}
%ldconfig_scriptlets -n %{name}-qt5-%{sover}
%ldconfig_scriptlets -n %{name}-qt6-%{sover}
%files -n %{name}%{sover}
%license COPYING
@ -161,6 +182,9 @@ header files for developing applications that use %{name}.
%files -n %{name}-qt5-%{sover}
%{_libdir}/libportal-qt5.so.%{sover}*
%files -n %{name}-qt6-%{sover}
%{_libdir}/libportal-qt6.so.%{sover}*
%files -n typelib-1_0-Xdp-1_0
%{_libdir}/girepository-1.0/Xdp-1.0.typelib
@ -204,4 +228,9 @@ header files for developing applications that use %{name}.
%{_libdir}/libportal-qt5.so
%{_libdir}/pkgconfig/libportal-qt5.pc
%files qt6-devel
%{_includedir}/libportal-qt6
%{_libdir}/libportal-qt6.so
%{_libdir}/pkgconfig/libportal-qt6.pc
%changelog