commit: 332a96d5117a16b765ce83fc9ffc9d493a7c59de Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> AuthorDate: Fri Nov 19 00:50:33 2021 +0000 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> CommitDate: Fri Nov 19 00:50:33 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=332a96d5
net-im/nheko: Version bump 0.9.0. Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> net-im/nheko/Manifest | 1 + net-im/nheko/nheko-0.9.0.ebuild | 65 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/net-im/nheko/Manifest b/net-im/nheko/Manifest index 66478361d..2078691f6 100644 --- a/net-im/nheko/Manifest +++ b/net-im/nheko/Manifest @@ -1,2 +1,3 @@ DIST nheko-0.8.2.tar.gz 1232245 BLAKE2B cb7397a2247c280cac23efe4a5983e43ebe9a6cacbadfdb3798b856633bd9e9c1ac1c56750373817373691d5d3624aec815040743d44c60dcb900f8616498d8f SHA512 907b5fd770c2e451ee4d5a4483810cf87529f643d584784b2f3c471b54229243842313206bbd38c8b6ca9a91bf505b683d6741bdce8ea24407ae4178da579465 +DIST nheko-0.9.0.tar.gz 1398941 BLAKE2B 353ac9a70282281ac9a9351df6f17e11ba06844b1116255ddf9a1135ecbfc5773ecf0e8a38944c398fb6d69db72d1819d8b86fb14ee69f4d0aed64f4b675b033 SHA512 277d322a2c5cf4631814bb57bf49e26bafdc0a048c17b821b02bbec19e9d12bff91697d307f5ebc2192e1fe0ebc394ba3342d4c3f0d4ad890d0aa9dc59c344a8 DIST nheko-0.9.0_pre20211003.tar.gz 1378662 BLAKE2B 84c1a0cc49b2f230e80e79bcf2681d4395d43bae521d8c5f38df06788fb93633e0a70db2a6df9cc0a72b94d0d40cea72a559a93edcc1c0f248c17ffd27d2d278 SHA512 be5f16ec446d1ab373bcc19afae1f2f1b90d701403c19e47ee172a716606640f8af7135f614aa6a8a913b9a864ce77af41ee5ae8270eaf40a3fc8a1797726920 diff --git a/net-im/nheko/nheko-0.9.0.ebuild b/net-im/nheko/nheko-0.9.0.ebuild new file mode 100644 index 000000000..aaff5f4d0 --- /dev/null +++ b/net-im/nheko/nheko-0.9.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake optfeature xdg + +DESCRIPTION="Desktop client for Matrix using Qt and C++14" +HOMEPAGE="https://github.com/Nheko-Reborn/nheko" +SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="video voip" +REQUIRED_USE="video? ( voip )" + +MY_GST_V="1.18" +RDEPEND=" + app-text/cmark + dev-cpp/qt-jdenticon + >=dev-db/lmdb++-1.0.0 + >=dev-libs/mtxclient-0.6.0 + >=dev-libs/qtkeychain-0.12.0 + dev-libs/spdlog + dev-qt/qtconcurrent:5 + dev-qt/qtgraphicaleffects:5 + dev-qt/qtgui:5[gif,jpeg,png] + dev-qt/qtmultimedia:5[gstreamer,qml] + dev-qt/qtquickcontrols2:5 + dev-qt/qtsvg:5 + voip? ( + >=media-plugins/gst-plugins-dtls-${MY_GST_V} + media-plugins/gst-plugins-libnice + >=media-plugins/gst-plugins-meta-${MY_GST_V}[opus] + >=media-plugins/gst-plugins-srtp-${MY_GST_V} + >=media-plugins/gst-plugins-webrtc-${MY_GST_V} + video? ( + >=media-libs/gst-plugins-base-${MY_GST_V}[opengl] + >=media-plugins/gst-plugins-meta-${MY_GST_V}[v4l,vpx] + >=media-plugins/gst-plugins-qt5-${MY_GST_V} + >=media-plugins/gst-plugins-ximagesrc-${MY_GST_V} + x11-libs/xcb-util-wm + ) + ) +" +DEPEND=" + dev-cpp/nlohmann_json + ${RDEPEND} +" +BDEPEND="dev-qt/linguist-tools:5" + +src_configure() { + local -a mycmakeargs=( + "-DVOIP=$(usex voip)" + "-DSCREENSHARE_X11=$(usex video)" + ) + + cmake_src_configure +} + +pkg_postinst() { + optfeature "Audio & video file playback support" \ + "media-plugins/gst-plugins-meta[ffmpeg]" +}
