summaryrefslogtreecommitdiff
path: root/user/tellico
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2021-01-28 04:56:36 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2021-01-28 04:56:36 +0000
commit2621803827440ac870deea8a55188b4121be8f37 (patch)
treef369dd2983a14892c9962f22c84d5ccf9944fd84 /user/tellico
parent9479a8a8d206954a53176bd24adfbbadcbefbf32 (diff)
downloadpackages-2621803827440ac870deea8a55188b4121be8f37.tar.gz
packages-2621803827440ac870deea8a55188b4121be8f37.tar.bz2
packages-2621803827440ac870deea8a55188b4121be8f37.tar.xz
packages-2621803827440ac870deea8a55188b4121be8f37.zip
user/tellico: Fix build with modern Taglib
Diffstat (limited to 'user/tellico')
-rw-r--r--user/tellico/APKBUILD1
-rw-r--r--user/tellico/modern-taglib.patch13
2 files changed, 14 insertions, 0 deletions
diff --git a/user/tellico/APKBUILD b/user/tellico/APKBUILD
index c0e220d92..ebb4ead3b 100644
--- a/user/tellico/APKBUILD
+++ b/user/tellico/APKBUILD
@@ -19,6 +19,7 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev libxml2-dev libxslt-dev
subpackages="$pkgname-doc $pkgname-lang"
source="http://tellico-project.org/files/tellico-$pkgver.tar.xz
btparse-strcasecmp.patch
+ modern-taglib.patch
"
build() {
diff --git a/user/tellico/modern-taglib.patch b/user/tellico/modern-taglib.patch
new file mode 100644
index 000000000..194914da8
--- /dev/null
+++ b/user/tellico/modern-taglib.patch
@@ -0,0 +1,13 @@
+Fix build with Taglib's built-in CMake module.
+--- tellico-3.3.1/CMakeLists.txt.old 2020-06-01 00:57:12.000000000 +0000
++++ tellico-3.3.1/CMakeLists.txt 2021-01-28 04:48:08.457839033 +0000
+@@ -128,7 +128,8 @@
+ TYPE OPTIONAL)
+ if(TAGLIB_FOUND)
+ add_definitions(${TAGLIB_CFLAGS})
+- include_directories(${TAGLIB_INCLUDES})
++ include_directories(${Taglib_INCLUDE_DIRS})
++ set(TAGLIB_LIBRARIES ${Taglib_LIBRARIES})
+ endif(TAGLIB_FOUND)
+
+ find_package(Yaz 2.0)