From e7b008c0acceac4476d35f5ddf70c7c97770d64f Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Sat, 24 Apr 2021 18:15:21 +0300 Subject: [PATCH 1/4] lmdb++: change to an active fork --- srcpkgs/lmdb++/template | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/srcpkgs/lmdb++/template b/srcpkgs/lmdb++/template index f1d8add382ef..1b4a6b5b747f 100644 --- a/srcpkgs/lmdb++/template +++ b/srcpkgs/lmdb++/template @@ -1,14 +1,15 @@ # Template file for 'lmdb++' pkgname=lmdb++ -version=0.9.14.0+20160229 -revision=3 -_commit=0b43ca87d8cfabba392dfe884eb1edb83874de02 -wrksrc="lmdbxx-${_commit}" +version=1.0.0 +revision=1 +wrksrc="lmdbxx-${version}" build_style=gnu-makefile depends="lmdb-devel" short_desc="C++11 wrapper for the LMDB database library" maintainer="Lorem " license="Unlicense" -homepage="https://github.com/drycpp/lmdbxx/" -distfiles="https://github.com/drycpp/lmdbxx/archive/${_commit}.tar.gz" -checksum=93721132bbf5045d38ad62de2997655e9984c48ea5c9886746d42128f4b26fbd +homepage="https://github.com/hoytech/lmdbxx/" +distfiles="https://github.com/hoytech/lmdbxx/archive/${version}.tar.gz" +checksum=5e12eb3aefe9050068af7df2c663edabc977ef34c9e7ba7b9d2c43e0ad47d8df +# Check links against libsanitizer, not available on all platforms +make_check=no From 6330e527bc8d4f915cf014a053868f95a8a5b25f Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Sat, 24 Apr 2021 18:11:40 +0300 Subject: [PATCH 2/4] libunwind: enable c++ exception handling for cross --- srcpkgs/libunwind/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template index 3ef73d90d5bf..1d217e066c36 100644 --- a/srcpkgs/libunwind/template +++ b/srcpkgs/libunwind/template @@ -1,7 +1,7 @@ # Template file for 'libunwind' pkgname=libunwind version=1.5.0 -revision=2 +revision=3 build_style=gnu-configure hostmakedepends="libtool automake" makedepends="liblzma-devel" @@ -14,6 +14,11 @@ checksum=90337653d92d4a13de590781371c604f9031cdb50520366aa1e3a91e1efb1017 CFLAGS="-fcommon" +# Turn on libunwind for c++ exception handling (doesn't work too well on x86) +if [ "$CROSS_BUILD" ]; then + configure_args+=" --enable-cxx-exceptions" +fi + # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext case "$XBPS_TARGET_MACHINE" in i686-musl) LDFLAGS=" -lssp_nonshared" ;; From e1cf10c989f178689baaf5f0dbea5c3cb88b2210 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Mon, 8 Mar 2021 13:53:11 +0300 Subject: [PATCH 3/4] mtxclient: update to 0.5.1 --- common/shlibs | 2 +- srcpkgs/mtxclient/template | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common/shlibs b/common/shlibs index a6895b823c6b..7d849ce76d0e 100644 --- a/common/shlibs +++ b/common/shlibs @@ -416,7 +416,7 @@ libField3D.so.1.7 Field3D-1.7.3_1 libMAC.so.6 libMAC-5.28_1 libmad.so.0 libmad-0.15.1b_1 libmatroska.so.7 libmatroska-1.6.0_1 -libmatrix_client.so.0.3.1 mtxclient-0.3.1_3 +libmatrix_client.so.0.5.1 mtxclient-0.5.1_1 libebml.so.5 libebml-1.4.0_1 libdvdread.so.8 libdvdread-6.1.1_1 libdvdnav.so.4 libdvdnav-4.1.3_1 diff --git a/srcpkgs/mtxclient/template b/srcpkgs/mtxclient/template index 5c5806d3cf7d..35f3d4a10f42 100644 --- a/srcpkgs/mtxclient/template +++ b/srcpkgs/mtxclient/template @@ -1,17 +1,17 @@ # Template file for 'mtxclient' pkgname=mtxclient -version=0.3.1 -revision=3 +version=0.5.1 +revision=1 build_style=cmake -configure_args="-DBUILD_LIB_TESTS=OFF -DBUILD_LIB_EXAMPLES=OFF -DBUILD_SHARED_LIBS=ON" +configure_args="-DBUILD_LIB_TESTS=OFF -DBUILD_LIB_EXAMPLES=OFF" hostmakedepends="pkg-config" -makedepends="boost-devel json-c++ olm-devel openssl-devel libsodium-devel" +makedepends="boost-devel json-c++ olm-devel openssl-devel" short_desc="Client API library for the Matrix protocol" maintainer="Lorem " license="MIT" homepage="https://github.com/Nheko-Reborn/mtxclient" distfiles="https://github.com/Nheko-Reborn/mtxclient/archive/v${version}.tar.gz" -checksum=e4899cc4ce87397de2aef865e94ea2cdb8d9cb86253727e7d90532b925ecc770 +checksum=9478d870296ebe7679c90f563cb798eb3cdd3f9c4578ceea5af75b66f456baaa post_install() { vlicense LICENSE From 299819566293b375c8d8f6a7163c920d068f668f Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Mon, 8 Mar 2021 14:15:14 +0300 Subject: [PATCH 4/4] nheko: update to 0.8.2 --- common/shlibs | 1 + srcpkgs/nheko/template | 19 +++++++++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/common/shlibs b/common/shlibs index 7d849ce76d0e..0549d94dc568 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1132,6 +1132,7 @@ libgstbasevideo-1.0.so.0 gst-plugins-bad1-1.18.3_2 libgstbasecamerabinsrc-1.0.so.0 gst-plugins-bad1-1.18.3_2 libgstcodecparsers-1.0.so.0 gst-plugins-bad1-1.18.3_2 libgstplayer-1.0.so.0 gst-plugins-bad1-1.18.3_2 +libgstwebrtc-1.0.so.0 gst-plugins-bad1-1.18.4_2 libgstgl-1.0.so.0 gst-plugins-base1-1.14.0_1 libgnome-desktop-3.so.19 gnome-desktop-3.37.90.1_1 libsecret-1.so.0 libsecret-0.10_1 diff --git a/srcpkgs/nheko/template b/srcpkgs/nheko/template index dd635f70f249..7f3d69d93c45 100644 --- a/srcpkgs/nheko/template +++ b/srcpkgs/nheko/template @@ -1,18 +1,25 @@ # Template file for 'nheko' pkgname=nheko -version=0.7.2 -revision=3 +version=0.8.2 +revision=1 build_style=cmake hostmakedepends="qt5-host-tools qt5-qmake pkg-config qt5-declarative" makedepends="qt5-multimedia-devel qt5-svg-devel qt5-tools-devel fmt-devel - tweeny spdlog mtxclient-devel boost-devel cmark-devel olm-devel json-c++ - libsodium-devel lmdb++ qt5-declarative-devel qt5-quickcontrols2-devel" + spdlog mtxclient-devel boost-devel cmark-devel olm-devel json-c++ lmdb++ + qt5-declarative-devel qt5-quickcontrols2-devel qtkeychain-qt5-devel + gst-plugins-bad1-devel gst-plugins-base1-devel" depends="hicolor-icon-theme qt5-quickcontrols2 qt5-graphicaleffects - qt5-multimedia" + qt5-multimedia gst-plugins-good1 gst-plugins-good1-qt5" short_desc="Desktop client for Matrix using Qt and C++14" maintainer="Lorem " license="GPL-3.0-or-later" homepage="https://github.com/Nheko-Reborn/nheko" changelog="https://github.com/Nheko-Reborn/nheko/blob/master/CHANGELOG.md" distfiles="https://github.com/Nheko-Reborn/nheko/archive/v${version}.tar.gz" -checksum=412908fcec0e66a0557db5359556b65e85dd22b8644a6a2ed569a90dea4bde3c +checksum=df4575c47daab47d418637a4637b599e3848dd749132ca1e92f981d9212eabb2 + +case "$XBPS_TARGET_MACHINE" in + armv*-musl) + makedepends+=" libunwind-devel" + configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-lunwind" ;; +fi