mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -04:00
net-im/nheko: add 0.10.2
fixes a security issue: <https://github.com/Nheko-Reborn/nheko/commit/67bee15> Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST nheko-0.10.0.tar.gz 1587008 BLAKE2B 207622bcc0fcbf4f1760481d3bdf35d5c025d9aa7d553c2dc4649841426481c88292966c35d44944434c1628c34017bb76f84136b6bcc8f8c3f32478156ac713 SHA512 c0aaf0f9ea657c43867fbb6857db45cac30f0cbaeaf8ad6a20a1a3e1ab9e6cf15266444eada060666db5b94be5a72b95b371a4da62e6705eed49f9907c576954
|
||||
DIST nheko-0.10.1.tar.gz 1608578 BLAKE2B 328255d6ea8ce3fd0d1bbe9f20bb9608eba4c479b6969db7bebc67f3406ae8c6e9d69432d304b28e49b8547cf293e4f103d3f8257df4fbc676db9e6ca037ff48 SHA512 898582c1a09ad9cfac3285f0bc5e80bb5e69b1d744118822167bbe09e9aa44c2b28438db2d3b6e1fa88835de2b0e2f58726d3876661f28c5eb46475e2f54bc20
|
||||
DIST nheko-0.10.2.tar.gz 1608905 BLAKE2B 10b7b7d1f3e7525ae5ec4b78af228382440c5c64a3716b530506346372856035435d6e2d4e1724f2580ee384852ab0dd4e4b728eed92df827dc5cb3f2853b30b SHA512 b00c45115ab52f9cce5958aa594f6d316bdb917004e284d28ba3003c815bdc532ff1e7bbd5e542bb89a43fd552af3fa44b70ce66eb26b0bcff65beaea1f6b3cd
|
||||
|
||||
88
net-im/nheko/nheko-0.10.2.ebuild
Normal file
88
net-im/nheko/nheko-0.10.2.ebuild
Normal file
@@ -0,0 +1,88 @@
|
||||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake optfeature xdg
|
||||
|
||||
DESCRIPTION="Native desktop client for Matrix using Qt"
|
||||
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="X video voip"
|
||||
REQUIRED_USE="video? ( voip )"
|
||||
|
||||
MY_GST_V="1.18"
|
||||
RDEPEND="
|
||||
app-text/cmark:=
|
||||
dev-cpp/qt-jdenticon
|
||||
dev-db/lmdb:=
|
||||
>=dev-db/lmdb++-1.0.0
|
||||
dev-libs/libfmt:=
|
||||
>=dev-libs/mtxclient-0.8.1:=
|
||||
>=dev-libs/qtkeychain-0.12.0:=
|
||||
dev-libs/spdlog:=
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtdeclarative:5[widgets]
|
||||
dev-qt/qtgraphicaleffects:5
|
||||
dev-qt/qtgui:5[dbus,gif,jpeg,png]
|
||||
dev-qt/qtimageformats
|
||||
dev-qt/qtmultimedia:5[gstreamer,qml,widgets]
|
||||
dev-qt/qtquickcontrols2:5[widgets]
|
||||
dev-qt/qtsvg:5
|
||||
virtual/notification-daemon
|
||||
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}
|
||||
X? (
|
||||
>=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
|
||||
|| (
|
||||
app-text/asciidoc
|
||||
dev-ruby/asciidoctor
|
||||
)
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local -a mycmakeargs=(
|
||||
"-DVOIP=$(usex voip)"
|
||||
)
|
||||
if use video && use X; then
|
||||
mycmakeargs+=("-DSCREENSHARE_X11=yes")
|
||||
else
|
||||
mycmakeargs+=("-DSCREENSHARE_X11=no")
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "audio & video file playback support" \
|
||||
"media-plugins/gst-plugins-meta[ffmpeg]"
|
||||
optfeature "secrets storage support other than kwallet (for example gnome-keyring or keepassxc)" \
|
||||
"dev-libs/qtkeychain[gnome-keyring]"
|
||||
optfeature "additional, less common, image format support" \
|
||||
"kde-frameworks/kimageformats"
|
||||
|
||||
xdg_pkg_postinst
|
||||
}
|
||||
Reference in New Issue
Block a user