[arch-commits] Commit in liblastfm/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Oct 6 18:33:46 UTC 2021
Date: Wednesday, October 6, 2021 @ 18:33:46
Author: arojas
Revision: 425180
Update to 1.1.0
Modified:
liblastfm/trunk/PKGBUILD
----------+
PKGBUILD | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-06 17:34:26 UTC (rev 425179)
+++ PKGBUILD 2021-10-06 18:33:46 UTC (rev 425180)
@@ -4,8 +4,8 @@
pkgbase=liblastfm
pkgname=(liblastfm-qt5)
-pkgver=1.0.9
-pkgrel=5
+pkgver=1.1.0
+pkgrel=1
pkgdesc="A Qt C++ library for the Last.fm webservices"
arch=('x86_64')
url='https://github.com/lastfm/liblastfm/'
@@ -12,25 +12,24 @@
license=('GPL3')
depends=('qt5-base' 'fftw' 'libsamplerate')
makedepends=('cmake')
-source=(${pkgbase}-${pkgver}.tar.gz::"https://github.com/lastfm/${pkgbase}/tarball/${pkgver}" liblastfm-qt5.11.patch
- liblastfm-include-suffix.patch::"https://github.com/lastfm/liblastfm/commit/480e2ec6.patch")
-sha1sums=('cd8c6f160529dbf9e0566973a8f37130c83a78c0'
- '40d84032eaeae32072715732b9fe67295483ffad'
- '8c36936b2259771db4cf6ac55cd2201800a4623e')
+source=(https://github.com/lastfm/${pkgbase}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+ liblastfm-qt5.11.patch)
+sha1sums=('a84f00a42b3bb8c0f8845ce29c776d609a3b44ac'
+ '40d84032eaeae32072715732b9fe67295483ffad')
prepare() {
- cd lastfm-${pkgbase}-*
+ cd ${pkgbase}-${pkgver}
patch -p1 -i ../liblastfm-qt5.11.patch # Fix build with Qt 5.11
- patch -p1 -i ../liblastfm-include-suffix.patch # add suffix to Qt5 include dir
}
build() {
mkdir build
cd build
- cmake ../lastfm-${pkgbase}-* \
+ cmake ../${pkgbase}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DCMAKE_CXX_STANDARD=14 \
-DBUILD_TESTS=OFF
make
}
@@ -39,4 +38,3 @@
cd build
make DESTDIR="${pkgdir}" install
}
-
More information about the arch-commits
mailing list