gnome-extra/gnome-color-manager: fix build without libcanberra[gtk]

Closes: https://bugs.gentoo.org/733302
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
This commit is contained in:
Mart Raudsepp
2020-07-21 21:41:35 +03:00
parent 05b340639e
commit 8b6af0b875
2 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
From 66aea36411477f284fa8a379b3bde282385d281c Mon Sep 17 00:00:00 2001
From: Jan Tojnar <jtojnar@gmail.com>
Date: Wed, 8 Apr 2020 16:41:32 +0200
Subject: [PATCH] Remove forgotten libcanberra include
---
src/gcm-viewer.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/gcm-viewer.c b/src/gcm-viewer.c
index 77463af5..d778877d 100644
--- a/src/gcm-viewer.c
+++ b/src/gcm-viewer.c
@@ -12,7 +12,6 @@
#include <gdk/gdkx.h>
#include <glib/gstdio.h>
#include <locale.h>
-#include <canberra-gtk.h>
#include <colord.h>
#include <math.h>
--
2.20.1

View File

@@ -30,6 +30,10 @@ BDEPEND="
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${PV}-remove-libcanberra-include.patch # should be in next upstream release
)
src_configure() {
# Always enable tests since they are check_PROGRAMS anyway
local emesonargs=(