diff --git a/srcpkgs/xdg-desktop-portal/patches/fix-pipewire-dependency.patch b/srcpkgs/xdg-desktop-portal/patches/fix-pipewire-dependency.patch new file mode 100644 index 00000000000..28e21ce6eb8 --- /dev/null +++ b/srcpkgs/xdg-desktop-portal/patches/fix-pipewire-dependency.patch @@ -0,0 +1,21 @@ +From 7fe4cbe6d42d1358980464c70bba445a2c4695bb Mon Sep 17 00:00:00 2001 +From: Jan Grulich +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"]) + diff --git a/srcpkgs/xdg-desktop-portal/template b/srcpkgs/xdg-desktop-portal/template index 81ddd9e9137..8233c6afb7e 100644 --- a/srcpkgs/xdg-desktop-portal/template +++ b/srcpkgs/xdg-desktop-portal/template @@ -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 " @@ -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"