1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
8 pkgdesc='A C++/Qt client library for gpodder.net'
10 url="http://wiki.gpodder.org/wiki/Libmygpo-qt"
13 makedepends=('cmake' 'doxygen' 'qt5-base')
14 source=("http://stefan.derkits.at/files/libmygpo-qt/libmygpo-qt.${pkgver}.tar.gz"
15 libmygpo-qt5.11a.patch::"https://github.com/gpodder/libmygpo-qt/commit/0d76d960.patch"
16 libmygpo-qt5.11b.patch::"https://github.com/gpodder/libmygpo-qt/commit/1b53767b.patch")
17 sha256sums=('82765a9baa7b6bb3a3277759cec9c3779eee691db9180affe35a67813346e1cd'
18 '4894360b246edd38024b8a60b66e3219494655e9d5ed7b3ed7f03958b796ac98'
19 'a4d02a6d15eef8ce08888a4090f5cbb50f744d8af85011ee8e54e84e99756e75')
24 cd libmygpo-qt.${pkgver}
25 patch -p1 -i ../libmygpo-qt5.11a.patch # Fix build with Qt 5.11
26 patch -p1 -i ../libmygpo-qt5.11b.patch
31 cmake ../libmygpo-qt.${pkgver} \
32 -DCMAKE_BUILD_TYPE='Release' \
33 -DCMAKE_INSTALL_PREFIX='/usr' \
34 -DMYGPO_BUILD_TESTS=OFF
38 package_libmygpo-qt5() {
41 make DESTDIR="${pkgdir}" install