xdg-desktop-portal: rebuild against pipewire-0.2.2

This commit is contained in:
maxice8 2018-07-31 14:11:51 -03:00
parent 36da092f6f
commit fbf28e62f4
2 changed files with 27 additions and 3 deletions

View File

@ -0,0 +1,21 @@
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: [PATCH] Depend on current PipeWire library and API
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- configure.ac
+++ 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,9 +1,9 @@
# Template file for 'xdg-desktop-portal'
pkgname=xdg-desktop-portal
version=0.11
revision=2
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config glib-devel"
hostmakedepends="pkg-config glib-devel automake libtool gettext-devel"
makedepends="flatpak-devel fuse-devel pipewire-devel libspa-lib-devel"
short_desc="Portal frontend service for Flatpak"
maintainer="Duncaen <duncaen@voidlinux.eu>"
@ -11,7 +11,10 @@ license="LGPL-2.1-or-later"
homepage="https://github.com/flatpak/xdg-desktop-portal"
distfiles="https://github.com/flatpak/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.xz"
checksum=c33e0093800ecc227c6b962417214774ceda70c16cb921576709b2d7c4921a4c
nocross=yes
pre_configure() {
autoreconf -fi
}
post_install() {
rm -rf "${DESTDIR}/usr/lib/systemd"