[arch-commits] Commit in taglib/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Feb 15 15:14:07 UTC 2021
Date: Monday, February 15, 2021 @ 15:14:06
Author: arojas
Revision: 408166
Update to 1.12
Modified:
taglib/trunk/PKGBUILD
----------+
PKGBUILD | 26 +++++++-------------------
1 file changed, 7 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-15 12:27:54 UTC (rev 408165)
+++ PKGBUILD 2021-02-15 15:14:06 UTC (rev 408166)
@@ -5,8 +5,8 @@
# Contributor: Tobias Powalowski <tpowa at archlinux.org>
pkgname=taglib
-pkgver=1.11.1
-pkgrel=4
+pkgver=1.12
+pkgrel=1
pkgdesc="A Library for reading and editing the meta-data of several popular audio formats"
arch=(x86_64)
url="https://taglib.github.io/"
@@ -13,30 +13,18 @@
license=(LGPL MPL)
depends=(zlib)
makedepends=(cmake boost)
-source=("https://taglib.github.io/releases/$pkgname-$pkgver.tar.gz"
- taglib-ogg-corruption.patch::"https://github.com/taglib/taglib/commit/9336c82d.patch")
-sha256sums=('b6d1a5a610aae6ff39d93de5efd0fdc787aa9e9dc1e7026fa4c961b26563526b'
- 'bf15f9d99263ca9e3cd96ee16dbfe38ca02932a0e8e2d77696d7188679bda272')
+source=("https://taglib.github.io/releases/$pkgname-$pkgver.tar.gz")
+sha256sums=('7fccd07669a523b07a15bd24c8da1bbb92206cb19e9366c3692af3d79253b703')
-prepare() {
- mkdir -p build
-
- cd $pkgname-$pkgver
- patch -p1 -i ../taglib-ogg-corruption.patch # Fix occasional OGG file corruption
-}
-
build() {
- cd build
- cmake ../$pkgname-$pkgver \
+ cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=ON \
-DWITH_MP4=ON \
-DWITH_ASF=ON
- make
+ cmake --build build
}
package() {
- cd build
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --install build
}
More information about the arch-commits
mailing list