Install SPA hooks

This commit is contained in:
Wim Taymans 2017-09-08 20:09:26 +02:00
parent bd20a91475
commit 7062ea37f2
2 changed files with 35 additions and 1 deletions

View File

@ -0,0 +1,28 @@
From ff363cc7bf1db8da7ffe3423de0fb85fd1531bc2 Mon Sep 17 00:00:00 2001
From: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Date: Mon, 4 Sep 2017 06:09:18 -0300
Subject: [PATCH] spa/include/meson: Install hook.h (#11)
When compiling some application and include spa/loop.h, it needs hook.h,
so install it.
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
---
spa/include/spa/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/spa/include/spa/meson.build b/spa/include/spa/meson.build
index 1d08868..64431a4 100644
--- a/spa/include/spa/meson.build
+++ b/spa/include/spa/meson.build
@@ -10,6 +10,7 @@ spa_headers = [
'format.h',
'format-builder.h',
'format-utils.h',
+ 'hook.h',
'list.h',
'log.h',
'loop.h',
--
2.13.5

View File

@ -14,7 +14,7 @@
Name: pipewire
Summary: Media Sharing Server
Version: 0.1.4
Release: 1%{?snap:.%{snap}git%{shortcommit}}%{?dist}
Release: 2%{?snap:.%{snap}git%{shortcommit}}%{?dist}
License: LGPLv2+
URL: http://www.freedesktop.org/wiki/Software/PipeWire
%if 0%{?gitrel}
@ -26,6 +26,7 @@ Source0: http://freedesktop.org/software/pipewire/releases/pipewire-%{ver
%endif
## upstream patches
Patch1: 0001-spa-include-meson-Install-hook.h-11.patch
## upstreamable patches
@ -96,6 +97,8 @@ This package contains command line utilities for the PipeWire media server.
%prep
%setup -q -T -b0 -n %{name}-%{version}%{?gitrel:-%{gitrel}-g%{shortcommit}}
%patch1 -p1 -b .0001
%build
%meson
%meson_build
@ -154,6 +157,9 @@ exit 0
%{_bindir}/spa-inspect
%changelog
* Fri Sep 08 2017 Wim Taymans <wtaymans@redhat.com> - 0.1.4-2
- Install SPA hooks
* Wed Aug 23 2017 Wim Taymans <wtaymans@redhat.com> - 0.1.4-1
- Update to 0.1.4