diff options
author | Bart Ribbers <bribbers@disroot.org> | 2020-01-11 19:17:28 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-01-12 11:32:01 +0100 |
commit | bafee5f1e08c692aa0444ae2ad8f4cd90c80f7d1 (patch) | |
tree | da84043ae66216213a4d59ed9d60d0933bbc1971 | |
parent | 27d2d1d458af5ae6e9fd710984c9174e63eae796 (diff) | |
download | aports-bafee5f1e08c692aa0444ae2ad8f4cd90c80f7d1.tar.bz2 aports-bafee5f1e08c692aa0444ae2ad8f4cd90c80f7d1.tar.xz |
testing/spectral: new aport
-rw-r--r-- | testing/spectral/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/spectral/APKBUILD b/testing/spectral/APKBUILD new file mode 100644 index 0000000000..f5cbef96b5 --- /dev/null +++ b/testing/spectral/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=spectral +pkgver=0.0.0.648 +_pkgver=${pkgver##*.} +pkgrel=0 +_commit_libquotient="89e0cec42fe9538cbd170a9dc3fcf6dd18b5ac02" +_commit_sortfilterproxymodel="35ffc48d7f516607832cd56f88be9a022f0ab2f9" +# Blocked on armhf by qt5-qtdeclarative +# Broken on s390x +arch="all !armhf !s390x" +url="https://gitlab.com/b0/spectral" +pkgdesc="A glossy cross-platform Matrix client" +license="GPL-3.0-or-later" +makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtmultimedia-dev" +source="$pkgname-$pkgver.tar.gz::https://gitlab.com/b0/spectral/-/archive/$_pkgver/spectral-$_pkgver.tar.gz + libQuotient-$_commit_libquotient.tar.gz::https://github.com/quotient-im/libQuotient/archive/$_commit_libquotient.tar.gz + SortFilterProxyModel-$_commit_sortfilterproxymodel.tar.gz::https://github.com/oKcerG/SortFilterProxyModel/archive/$_commit_sortfilterproxymodel.tar.gz" +options="!check" # No tests +builddir="$srcdir/$pkgname-$_pkgver" + +prepare() { + default_prepare + + rmdir \ + include/libQuotient \ + include/SortFilterProxyModel + mv "$srcdir"/libQuotient-$_commit_libquotient include/libQuotient + mv "$srcdir"/SortFilterProxyModel-$_commit_sortfilterproxymodel include/SortFilterProxyModel +} + +build() { + # TODO: set USE_SYSTEM_QMATRIXCLIENT to true once libQuotient 0.6.0 is out + qmake-qt5 \ + PREFIX=/usr \ + USE_SYSTEM_QMATRIXCLIENT=false \ + USE_SYSTEM_SORTFILTERPROXYMODEL=false + make +} + +package() { + INSTALL_ROOT="$pkgdir" make install +} + +sha512sums="4802e1e6b0e18cae58f999d6352806179c3bd749bdff9a9dd95ea53367da2a37d4195ffaf9afe9613a8da67ad9d1d4ce1363870f1db9ecbb1e94ee236a6bd27c spectral-0.0.0.648.tar.gz +aa5cb722f3cd3549cd1e8e0531bb1586ff8f1134e384bc8b68cef40c960171607d569efa4d318cc59a92e1dd72d52495d62cc1bec9b75a07b12fa3e5a7992a5f libQuotient-89e0cec42fe9538cbd170a9dc3fcf6dd18b5ac02.tar.gz +e1f49e8a2fa6649d28d8777d3d1489341e31f94afdb383c81b98ff14a8d705db02be304173398333fad4c68fd42263ef8fd34ffe2f546aeb328e50106a34fdee SortFilterProxyModel-35ffc48d7f516607832cd56f88be9a022f0ab2f9.tar.gz" |