Files
guru/net-im/nheko/nheko-0.8.1.ebuild
Ronny (tastytea) Gutbrod 3b913fd5b3 net-im/nheko: Fix dependencies.
dev-libs/tweeny and dev-db/lmdb++ are build-time dependencies.

There are 2 incompatible repositories for lmdb++. The old one is
<https://github.com/drycpp/lmdbxx> and the new one is
<https://github.com/hoytech/lmdbxx>.

<=net-im/nheko-0.8.1 needs the old one. dev-db/lmdb++-0.9.14.0 installs
the old one. dev-db/lmdb++-1.0.0 installs the new one.
>net-im/nheko-0.8.1 will need the new one. So the version pinning will
go away in the ebuild for the next version.

Closes: https://bugs.gentoo.org/781662

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
2021-04-09 18:35:10 +02:00

55 lines
1.3 KiB
Bash

# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake 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=""
RDEPEND="
dev-qt/qtmultimedia:5[gstreamer,qml]
dev-qt/qtquickcontrols2:5
dev-qt/qtgraphicaleffects:5
dev-qt/qtsvg:5
dev-qt/qtconcurrent:5
app-text/cmark
>=dev-libs/mtxclient-0.4.1
dev-cpp/nlohmann_json
dev-libs/qtkeychain
"
DEPEND="
${RDEPEND}
dev-libs/spdlog
dev-libs/tweeny
<dev-db/lmdb++-1.0.0
"
BDEPEND="dev-qt/linguist-tools:5"
src_prepare() {
cmake_src_prepare
xdg_src_prepare
}
# # Preparation for when gstreamer >= 1.18 lands in ::gentoo.
# MY_GSTREAMER_V="1.18"
#
# voip? (
# >=media-libs/gstreamer-${MY_GSTREAMER_V}
# >=media-plugins/gst-plugins-meta-${MY_GSTREAMER_V}[opus,vpx]
# >=media-libs/gst-plugins-base-${MY_GSTREAMER_V}[opengl]
# >=media-libs/gst-plugins-good-${MY_GSTREAMER_V}
# >=media-libs/gst-plugins-bad-${MY_GSTREAMER_V}
# >=media-plugins/gst-plugins-dtls-${MY_GSTREAMER_V}
# >=media-plugins/gst-plugins-srtp-${MY_GSTREAMER_V}
# >=media-plugins/gst-plugins-webrtc-${MY_GSTREAMER_V}
# net-libs/libnice
# )