diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-25 00:27:04 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-25 00:27:04 -0500 |
commit | dd24d92e0e8749670488f2517d1e8c3c86d57d7c (patch) | |
tree | 5a019febeda0d62417bf73730e5f8d792fff4806 /user/quaternion/APKBUILD | |
parent | 5b91dcc065cbce17b1d6bba5e46cfca4174c92e5 (diff) | |
download | packages-dd24d92e0e8749670488f2517d1e8c3c86d57d7c.tar.gz packages-dd24d92e0e8749670488f2517d1e8c3c86d57d7c.tar.bz2 packages-dd24d92e0e8749670488f2517d1e8c3c86d57d7c.tar.xz packages-dd24d92e0e8749670488f2517d1e8c3c86d57d7c.zip |
user/quaternion: bump to 0.0.9.2, fix build
Diffstat (limited to 'user/quaternion/APKBUILD')
-rw-r--r-- | user/quaternion/APKBUILD | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/user/quaternion/APKBUILD b/user/quaternion/APKBUILD index 370e68900..a7337d03f 100644 --- a/user/quaternion/APKBUILD +++ b/user/quaternion/APKBUILD @@ -1,26 +1,21 @@ # Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=quaternion -pkgver=0.0.5 -_libver=0.2 +pkgver=0.0.9.2 pkgrel=0 pkgdesc="Qt5-based Matrix chat client" url="https://matrix.org/docs/projects/client/quaternion.html" arch="all" -license="GPL-3.0" -makedepends="cmake qt5-qtbase-dev qt5-qtdeclarative-dev" +license="GPL-3.0+" +depends="qt5-qtquickcontrols" +makedepends="cmake qt5-qtbase-dev qt5-qtdeclarative-dev libqmatrixclient-dev" subpackages="" source="quaternion-$pkgver.tar.gz::https://github.com/QMatrixClient/Quaternion/archive/v$pkgver.tar.gz - libqmatrixclient-$_libver.tar.gz::https://github.com/QMatrixClient/libqmatrixclient/archive/v0.2-q0.0.5.tar.gz - install-library.patch + unbundle-lib1.patch + unbundle-lib2.patch " builddir="$srcdir/Quaternion-$pkgver" -unpack() { - default_unpack - mv "$srcdir"/libqmatrixclient-$_libver-q$pkgver/* "$builddir"/lib/ -} - build() { cd "$builddir" if [ "$CBUILD" != "$CHOST" ]; then @@ -33,6 +28,7 @@ build() { -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ -DCMAKE_C_FLAGS="$CFLAGS" \ + -DUSE_DYNAMIC_LIB=True \ ${CMAKE_CROSSOPTS} make } @@ -43,12 +39,10 @@ check() { } package() { - for i in "$builddir" "$builddir"/lib; do - cd $i - make DESTDIR="$pkgdir" install - done + cd "$builddir" + make DESTDIR="$pkgdir" install } -sha512sums="ec4a6196ff687d08de49f47141a7869e8d0c56eee142a70682bd9880eb5ae8fb96c38616eec0d61b250a3f0a4cf358debeaa7c001f8dc88c58367bd0d125cb93 quaternion-0.0.5.tar.gz -3065793171ee60b5bc325756b9c82a57db0e4993b608d080ed6f54e9c55a835a594cf519681aede3063d0126c6f778ac885ab301569d25970aa22b7aa85bdadb libqmatrixclient-0.2.tar.gz -a814970d408bf43706c20f01a39b1503c5054efc5e8c36aadae36fd7a028e9ed286c79b846d960ca0c4791be463a5aa33ecf7a09d5dd6e87268af79b791fe58d install-library.patch" +sha512sums="9a72a39a8f353828d1322abce54f6ea5854346aa96c230684afee113142d1b5dfd521bf12dc29c397a39769b65e36c5b6c8b8de812011b4cd96c1570494803c5 quaternion-0.0.9.2.tar.gz +da88b919832a7d84375e7b698785941897e3f40c9afff1ced5a91b8f7f82f348b684cbd137232656ba66ba249ff8cd6a0952d13108131b98d28f98f616491a11 unbundle-lib1.patch +3573d21fb6170083f75c90eda599fd418c80f19b2127277a3df03cb74f6b7ff246dae67f50a04299c8953a12e163e28ff63a72f7ef30b988e39b5863a85c307e unbundle-lib2.patch" |