Rebuild PipeWire 0.2.2

This commit is contained in:
Jan Grulich 2018-08-01 09:43:07 +02:00
parent 614235ef3f
commit a46f4b041b
2 changed files with 27 additions and 2 deletions

View File

@ -0,0 +1,19 @@
From 7fe4cbe6d42d1358980464c70bba445a2c4695bb Mon Sep 17 00:00:00 2001
From: Jan Grulich <jgrulich@redhat.com>
Date: Wed, 1 Aug 2018 09:15:57 +0200
Subject: Depend on current PipeWire library and API
diff --git a/configure.ac b/configure.ac
index 0f2f275..a3d02aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,7 +67,7 @@ AC_ARG_ENABLE(pipewire,
[AS_HELP_STRING([--enable-pipewire],[Enable PipeWire support. Needed for screen cast portal])],
enable_pipewire=$enableval, enable_pipewire=yes)
if test x$enable_pipewire = xyes ; then
- PKG_CHECK_MODULES(PIPEWIRE, [libpipewire-0.1 >= 0.1.8])
+ PKG_CHECK_MODULES(PIPEWIRE, [libpipewire-0.2 >= 0.2.2])
AC_DEFINE([HAVE_PIPEWIRE],[1], [Define to enable PipeWire support])
fi
AM_CONDITIONAL([HAVE_PIPEWIRE],[test "$enable_pipewire" = "yes"])

View File

@ -1,17 +1,19 @@
Name: xdg-desktop-portal
Version: 0.99
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Portal frontend service to flatpak
License: LGPLv2+
URL: https://github.com/flatpak/xdg-desktop-portal/
Source0: https://github.com/flatpak/xdg-desktop-portal/releases/download/%{version}/%{name}-%{version}.tar.xz
Patch0: xdg-desktop-portal-libpipewire_0_2.patch
BuildRequires: gcc
BuildRequires: pkgconfig(flatpak)
BuildRequires: pkgconfig(fuse)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(libpipewire-0.1)
BuildRequires: pkgconfig(libpipewire-0.2)
BuildRequires: /usr/bin/xmlto
%{?systemd_requires}
BuildRequires: systemd
@ -38,6 +40,7 @@ The pkg-config file for %{name}.
%prep
%setup -q
%patch0 -p1 -b .libpipewire_0_2
%build
%configure --enable-docbook-docs
@ -87,6 +90,9 @@ install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals
%changelog
* Wed Aug 01 2018 Jan Grulich <jgrulich@redhat.com> - 0.99-2
- Rebuild PipeWire 0.2.2
* Tue Jul 24 2018 David King <amigadave@amigadave.com> - 0.99-1
- Update to 0.99