totem/0001-lirc-Fix-lirc-plugin-dependency-checks.patch
Kalev Lember 2d3075783b Update to 3.25.90.1
- Switch to the meson build system
2017-08-16 15:38:22 +02:00

33 lines
1.1 KiB
Diff

From 09de336619ec177e6943fcc2cb2817f1b4366ea8 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Mon, 14 Aug 2017 10:40:46 +0200
Subject: [PATCH] lirc: Fix lirc plugin dependency checks
The pkg-config file is called lirc, not lirc_client (the name of the
library), and the function check didn't link against liblirc_client
either.
https://bugzilla.gnome.org/show_bug.cgi?id=786258
---
src/plugins/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/plugins/meson.build b/src/plugins/meson.build
index 83d76d86..95af6485 100644
--- a/src/plugins/meson.build
+++ b/src/plugins/meson.build
@@ -70,8 +70,8 @@ if plugins_option != 'none'
message(str)
endif
- lirc_dep = dependency('lirc_client', required: false)
- if lirc_dep.found() and cc.has_function('lirc_init') and cc.has_header('lirc/lirc_client.h')
+ lirc_dep = dependency('lirc', required: false)
+ if lirc_dep.found() and cc.has_function('lirc_init', dependencies: lirc_dep) and cc.has_header('lirc/lirc_client.h')
plugins += 'lirc'
else
str = 'you need lirc_client installed for the lirc plugin'
--
2.13.0