* update taglib to 2.0-1

This commit is contained in:
Alexander Baldeck 2024-01-27 21:45:07 +01:00
parent 989182e820
commit 9f706ba6be

View File

@ -1,3 +1,4 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Tom Gundersen <teg@jklm.no>
# Contributor: Ike Devolder <ike.devolder@gmail.com>
@ -5,17 +6,28 @@
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=taglib
pkgver=1.13.1
pkgver=2.0
pkgrel=1
pkgdesc='A Library for reading and editing the meta-data of several popular audio formats'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://taglib.github.io/'
license=(LGPL MPL)
depends=(gcc-libs zlib)
makedepends=(cmake)
license=(LGPL-2.1-only
MPL-1.1)
depends=(gcc-libs
glibc
sh
zlib)
makedepends=(cmake
utf8cpp)
checkdepends=(cppunit)
source=(https://taglib.github.io/releases/$pkgname-$pkgver.tar.gz)
sha256sums=('c8da2b10f1bfec2cd7dbfcd33f4a2338db0765d851a50583d410bacf055cfd0b')
source=(https://taglib.github.io/releases/$pkgname-$pkgver.tar.gz
https://github.com/taglib/taglib/commit/dfef09f1.patch)
sha256sums=('e36ea877a6370810b97d84cf8f72b1e4ed205149ab3ac8232d44c850f38a2859'
'bef9bf3cb5cb342e339612ca9fb9d9020ddd3307af15db0402507e7dcbcf35a2')
prepare() {
patch -d $pkgname-$pkgver -Rp1 < dfef09f1.patch # https://github.com/taglib/taglib/issues/1211
}
build() {
cmake -B build -S $pkgname-$pkgver \