From 09fd975ec233c4faa7bf2bb439feb3db26ba8ed2 Mon Sep 17 00:00:00 2001 From: Artem Tarasov Date: Sun, 19 May 2024 09:13:46 +0200 Subject: [PATCH] use utfcpp package and specify the include path --- alpine/taglib/APKBUILD | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/alpine/taglib/APKBUILD b/alpine/taglib/APKBUILD index e04e0c38..6da6c1af 100644 --- a/alpine/taglib/APKBUILD +++ b/alpine/taglib/APKBUILD @@ -7,7 +7,7 @@ pkgdesc="Library for reading and editing metadata of several popular audio forma url="https://taglib.github.io/" arch="all" license="LGPL-2.1-only OR MPL-1.1" -makedepends="zlib-dev git cmake samurai" +makedepends="zlib-dev utfcpp cmake samurai" checkdepends="cppunit-dev" subpackages=" $pkgname-dev @@ -23,8 +23,6 @@ builddir="$srcdir/taglib-$pkgver" # - CVE-2018-11439 build() { - git clone --depth=1 --branch v3.2.5 https://github.com/nemtrif/utfcpp.git 3rdparty/utfcpp - CFLAGS="$CFLAGS -flto=auto" \ CXXFLAGS="$CXXFLAGS -flto=auto" \ cmake -B build -G Ninja \ @@ -35,7 +33,8 @@ build() { -DBUILD_EXAMPLES=OFF \ -DBUILD_TESTING="$(want_check && echo ON || echo OFF)" \ -DVISIBILITY_HIDDEN=ON - cmake --build build + CPLUS_INCLUDE_PATH="/usr/include/utf8cpp" \ + cmake --build build } check() {