blob: 94986ea3003dcfc352d3a9eb392f23bafe22bdf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
From 9d450037f708cc2300d2767e5171bb08e48077a9 Mon Sep 17 00:00:00 2001
From: Lars Wendler <polynomial-c@gentoo.org>
Date: Sat, 8 Jan 2022 20:35:37 +0100
Subject: [PATCH] Fix build without HAVE_TAGLIB
Gentoo-bug: https://bugs.gentoo.org/830806
CCBUG: 446551
---
src/translators/audiofileimporter.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/translators/audiofileimporter.cpp b/src/translators/audiofileimporter.cpp
index 2b3372f4..a18ed14a 100644
--- a/src/translators/audiofileimporter.cpp
+++ b/src/translators/audiofileimporter.cpp
@@ -57,6 +57,7 @@
#include <QVBoxLayout>
#include <QApplication>
+#ifdef HAVE_TAGLIB
namespace {
bool hasValue(const TagLib::PropertyMap& pmap, const char* key) {
const TagLib::String keyString(key);
@@ -70,6 +71,7 @@ namespace {
QString();
}
}
+#endif
using Tellico::Import::AudioFileImporter;
--
2.34.1
|