aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-03-19 14:34:54 +0100
committerBart Ribbers <bribbers@disroot.org>2020-03-19 14:35:00 +0100
commitdbddfa912684c3a58d17207907fab0aa72da8db4 (patch)
tree3492e85297c42cedc54115f51e9f934067f10a30 /net-im
parentnet-im/riot-web: upgrade to 1.5.13 (diff)
downloadmatrix-dbddfa912684c3a58d17207907fab0aa72da8db4.tar.gz
matrix-dbddfa912684c3a58d17207907fab0aa72da8db4.tar.bz2
matrix-dbddfa912684c3a58d17207907fab0aa72da8db4.zip
{dev-libs/mtxclient,net-im/nheko}-9999: use CXX17
Fixes #40
Diffstat (limited to 'net-im')
-rw-r--r--net-im/nheko/nheko-9999.ebuild16
1 files changed, 13 insertions, 3 deletions
diff --git a/net-im/nheko/nheko-9999.ebuild b/net-im/nheko/nheko-9999.ebuild
index b8c1fc4..a136a47 100644
--- a/net-im/nheko/nheko-9999.ebuild
+++ b/net-im/nheko/nheko-9999.ebuild
@@ -27,20 +27,30 @@ RDEPEND=">=dev-qt/qtgui-5.7.1
media-libs/fontconfig
app-text/cmark
dev-libs/tweeny
- dev-db/lmdb++"
+ dev-db/lmdb++
+ "
DEPEND="${RDEPEND}
>=dev-qt/linguist-tools-5.7.1
dev-util/ninja
- >=dev-libs/mtxclient-0.3.0"
+ >=dev-libs/mtxclient-0.3.0
+ dev-libs/spdlog
+ "
CMAKE_BUILD_TYPE=Release
-src_prepare ()
+src_prepare()
{
sed -i '/-Werror/d' CMakeLists.txt || die
cmake-utils_src_prepare
}
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_CXX_STANDARD=17
+ )
+ cmake-utils_src_configure
+}
+
pkg_postinst() {
xdg_desktop_database_update
}