[arch-commits] Commit in liblastfm/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat May 26 15:08:30 UTC 2018
Date: Saturday, May 26, 2018 @ 15:08:30
Author: arojas
Revision: 325029
Suffix Qt5 include dir
Modified:
liblastfm/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-26 14:46:12 UTC (rev 325028)
+++ PKGBUILD 2018-05-26 15:08:30 UTC (rev 325029)
@@ -6,19 +6,22 @@
pkgbase=liblastfm
pkgname=(liblastfm-qt4 liblastfm-qt5)
pkgver=1.0.9
-pkgrel=1
+pkgrel=2
pkgdesc="A Qt C++ library for the Last.fm webservices"
arch=('x86_64')
url='https://github.com/lastfm/liblastfm/'
license=('GPL3')
makedepends=('cmake' 'qt4' 'qt5-base' 'fftw' 'libsamplerate')
-source=(${pkgbase}-${pkgver}.tar.gz::"https://github.com/lastfm/${pkgbase}/tarball/${pkgver}" liblastfm-qt5.11.patch)
+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')
+ '40d84032eaeae32072715732b9fe67295483ffad'
+ '8c36936b2259771db4cf6ac55cd2201800a4623e')
prepare() {
cd lastfm-${pkgbase}-*
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() {
@@ -53,7 +56,6 @@
package_liblastfm-qt5() {
depends=('qt5-base' 'fftw' 'libsamplerate')
- conflicts=('liblastfm')
cd build5
make DESTDIR="${pkgdir}" install
More information about the arch-commits
mailing list