mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
net-im/nheko: drop 0.11.3
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST nheko-0.11.3.tar.gz 1780179 BLAKE2B 095314ea420bd78cff71fe9e8bd48c1319248fa5c31bfc3741aa72cfa7585660f74f7eb3b9848b53ccfbc979283db8ca2e52e8e4f2749280ee1c867a35baf075 SHA512 bd5b94def3c56bb2c91c40c3ef967ee3b14cb71a7e5b01028743a849932c918620c2b1a1b822705e49dacc80dae6c48712f63bf9a68698858b0faaf1a816c9cd
|
||||
DIST nheko-v0.11.3.tar.bz2 1222761 BLAKE2B 218246824512b13fc3448142e5e127b207952e3f66c2b308ca281d7f9e6b0198760d9408b467bf9442a0df306d2b23ffc5034cba5c675299aac85ac4ebe23280 SHA512 bd051144a16cd628d6259a7ce4acf10fd7b7ef3d8b0036cbf1f2a80c550062a04062a61c66e7a060f853d53c1eaa50fadb0223641e98283001aabf037c0e4de1
|
||||
|
||||
@@ -1,100 +0,0 @@
|
||||
# Copyright 2020-2023 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 +pie video voip"
|
||||
REQUIRED_USE="video? ( voip )"
|
||||
|
||||
MY_GST_V="1.18"
|
||||
RDEPEND="
|
||||
app-text/cmark:=
|
||||
>=dev-cpp/blurhash-0.2.0:=
|
||||
dev-cpp/cpp-httplib:=
|
||||
dev-cpp/qt-jdenticon
|
||||
dev-db/lmdb:=
|
||||
>=dev-db/lmdb++-1.0.0
|
||||
dev-libs/libfmt:=
|
||||
>=dev-libs/mtxclient-0.9.0:=
|
||||
>=dev-libs/qtkeychain-0.12.0:=
|
||||
>=dev-libs/re2-0.2022.04.01:=
|
||||
dev-libs/spdlog:=
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtdeclarative:5[widgets]
|
||||
dev-qt/qtgraphicaleffects:5
|
||||
dev-qt/qtgui:5[dbus,jpeg,png]
|
||||
dev-qt/qtimageformats:5
|
||||
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/libxcb:=
|
||||
x11-libs/xcb-util-wm
|
||||
)
|
||||
)
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
dev-cpp/nlohmann_json
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
dev-qt/linguist-tools:5
|
||||
|| (
|
||||
app-text/asciidoc
|
||||
dev-ruby/asciidoctor
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-fix-explicit-optional-construction.patch
|
||||
"${FILESDIR}"/${P}-fix-build-against-fmt10.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local -a mycmakeargs=(
|
||||
-DVOIP=$(usex voip)
|
||||
-DCMAKE_POSITION_INDEPENDENT_CODE=$(usex pie)
|
||||
-DUSE_BUNDLED_CPPHTTPLIB=no
|
||||
-DUSE_BUNDLED_BLURHASH=no
|
||||
)
|
||||
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[keyring]"
|
||||
optfeature "additional, less common, image format support" \
|
||||
"kde-frameworks/kimageformats"
|
||||
|
||||
xdg_pkg_postinst
|
||||
}
|
||||
Reference in New Issue
Block a user