diff options
author | Bart Ribbers <bribbers@disroot.org> | 2020-03-19 14:34:54 +0100 |
---|---|---|
committer | Bart Ribbers <bribbers@disroot.org> | 2020-03-19 14:35:00 +0100 |
commit | dbddfa912684c3a58d17207907fab0aa72da8db4 (patch) | |
tree | 3492e85297c42cedc54115f51e9f934067f10a30 | |
parent | net-im/riot-web: upgrade to 1.5.13 (diff) | |
download | matrix-dbddfa912684c3a58d17207907fab0aa72da8db4.tar.gz matrix-dbddfa912684c3a58d17207907fab0aa72da8db4.tar.bz2 matrix-dbddfa912684c3a58d17207907fab0aa72da8db4.zip |
{dev-libs/mtxclient,net-im/nheko}-9999: use CXX17
Fixes #40
-rw-r--r-- | dev-libs/mtxclient/mtxclient-9999.ebuild | 1 | ||||
-rw-r--r-- | net-im/nheko/nheko-9999.ebuild | 16 |
2 files changed, 14 insertions, 3 deletions
diff --git a/dev-libs/mtxclient/mtxclient-9999.ebuild b/dev-libs/mtxclient/mtxclient-9999.ebuild index eea34c8..c3311fd 100644 --- a/dev-libs/mtxclient/mtxclient-9999.ebuild +++ b/dev-libs/mtxclient/mtxclient-9999.ebuild @@ -36,6 +36,7 @@ src_configure() { local mycmakeargs=( -DBUILD_LIB_TESTS="$(usex test)" -DBUILD_LIB_EXAMPLES=OFF + -DCMAKE_CXX_STANDARD=17 ) cmake-utils_src_configure 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 } |