-
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check out utfcpp (taglib2 dependency) from git, because Alpine 3.19 packages incompatible utfcpp 4.0, resulting in build failure
- Loading branch information
1 parent
14c34c6
commit dfdff8e
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Contributor: Leo <[email protected]> | ||
# Maintainer: Natanael Copa <[email protected]> | ||
pkgname=taglib2 | ||
pkgver=2.0 | ||
pkgver=2.0.1 | ||
pkgrel=0 | ||
pkgdesc="Library for reading and editing metadata of several popular audio formats" | ||
url="https://taglib.github.io/" | ||
arch="all" | ||
license="LGPL-2.1-only OR MPL-1.1" | ||
makedepends="zlib-dev utfcpp cmake samurai" | ||
makedepends="zlib-dev git cmake samurai" | ||
checkdepends="cppunit-dev" | ||
subpackages=" | ||
$pkgname-dev | ||
|
@@ -23,14 +23,16 @@ 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 \ | ||
-DCMAKE_INSTALL_PREFIX=/usr \ | ||
-DCMAKE_BUILD_TYPE=MinSizeRel \ | ||
-DWITH_ZLIB=ON \ | ||
-DBUILD_SHARED_LIBS=ON \ | ||
-DBUILD_EXAMPLES=ON \ | ||
-DBUILD_EXAMPLES=OFF \ | ||
-DBUILD_TESTING="$(want_check && echo ON || echo OFF)" \ | ||
-DVISIBILITY_HIDDEN=ON | ||
cmake --build build | ||
|
@@ -51,5 +53,5 @@ _lib() { | |
} | ||
|
||
sha512sums=" | ||
099d02b2eab033f5702a8cb03e70752d7523c6f8c2f3eebdd0bcd939eafbdca3f2a6c82452983904b5822cfa45f2707ed866c3419508df9d43bf5c0b3a476f6c taglib-2.0.tar.gz | ||
25ee89293a96d7f8dca6276f822bdaef01fd98503b78c20ffeac8e1d9821de7273a5127146aa798d304c6a995cb2b7229a205aff1cc261b5d4fa9e499dda0439 taglib-2.0.1.tar.gz | ||
" |