mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-05 09:27:19 +02:00
47 lines
1.6 KiB
Text
47 lines
1.6 KiB
Text
# Contributor: knuxify <knuxify@gmail.com>
|
|
# Maintainer:
|
|
pkgname=libmygpo-qt
|
|
pkgver=1.1.0
|
|
pkgrel=2
|
|
pkgdesc="A C++/Qt client library for gpodder.net"
|
|
url="http://wiki.gpodder.org/wiki/Libmygpo-qt"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="cmake doxygen graphviz qt5-qtbase-dev"
|
|
subpackages="$pkgname-dev"
|
|
source="libmygpo-qt-$pkgver.tar.gz::https://github.com/gpodder/libmygpo-qt/archive/refs/tags/$pkgver.tar.gz
|
|
libmygpo-qt5.11a.patch::https://github.com/gpodder/libmygpo-qt/commit/0d76d960.patch
|
|
libmygpo-qt5.11b.patch::https://github.com/gpodder/libmygpo-qt/commit/1b53767b.patch
|
|
fix-tests.patch
|
|
"
|
|
|
|
build() {
|
|
if [ "$CBUILD" != "$CHOST" ]; then
|
|
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
|
|
fi
|
|
cmake -B build \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DBUILD_SHARED_LIBS=True \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DMYGPO_BUILD_TESTS=ON \
|
|
-DBUILD_WITH_QT4=OFF \
|
|
$CMAKE_CROSSOPTS .
|
|
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
a24243a98b8e3544127b09e5c678d692e11ad0ad7ee8427e71b0d7cfd9455d068e4445bcd4d8d5ba94d8c0ef1b8f42390b544585ef258b5ec175546ee7bcd86a libmygpo-qt-1.1.0.tar.gz
|
|
babf6aa9d6fbe27e92d5969815e7f39ec974ade234d5ddab407df73e2e9fe0331f9119a0aea2adb462a95a3a44acd675aee1e375b745ce5c6d728d1356ebbb1b libmygpo-qt5.11a.patch
|
|
6306dc12a8eb2baafedad73289cbb545927d0711ca2441fcd0270b1731451e26732c9f3d855962bdb4882e27c41817fc013cf1492b629dbd8a702a143d6e7cbb libmygpo-qt5.11b.patch
|
|
dbbb5d44c2e1744c9e7425348187ff2d57bd1532d64094ed3d17f9d569c1c31a7dc43ff84d49d35ce8c22210412cf8657286396a020ab32723a4574f8d7c68de fix-tests.patch
|
|
"
|