1 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=libmusicbrainz5
6 pkgdesc="Library That Provides Access to the MusicBrainz Server"
8 url='https://musicbrainz.org/doc/libmusicbrainz'
10 depends=('neon' 'libxml2')
12 source=("https://github.com/metabrainz/libmusicbrainz/releases/download/release-${pkgver}/libmusicbrainz-$pkgver.tar.gz"
14 sha256sums=('6749259e89bbb273f3f5ad7acdffb7c47a2cf8fcaeab4c4695484cef5f4c6b46'
15 '5ad7e45b191cceca3bb71c92adb6c767ae8079bf2814354341fae829d4328ae9')
18 cd libmusicbrainz-$pkgver
20 # https://github.com/metabrainz/libmusicbrainz/pull/16
21 patch -Np1 -i ../16.patch
26 CXXFLAGS+=" $CPPFLAGS"
27 cmake -Hlibmusicbrainz-$pkgver -Bbuild \
28 -DCMAKE_INSTALL_PREFIX=/usr \
29 -DCMAKE_BUILD_TYPE=None
34 DESTDIR="$pkgdir" cmake --build build --target install