SwordArMor-gentoo-overlay/net-im/neochat/neochat-22.02.ebuild

57 lines
1.4 KiB
Bash
Raw Normal View History

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
KFMIN=5.88.0
QTMIN=5.15.2
inherit ecm kde.org
DESCRIPTION="Client for Matrix, the decentralized communication protocol"
HOMEPAGE="https://apps.kde.org/neochat/"
if [[ ${KDE_BUILD_TYPE} = release ]]; then
#SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
SRC_URI="https://invent.kde.org/network/${PN}/-/archive/v${PV}/${P}.tar.bz2"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT="0"
DEPEND="
app-text/cmark:=
dev-libs/qtkeychain:=
dev-libs/qcoro:=
>=dev-qt/qtdeclarative-${QTMIN}:5
>=dev-qt/qtgui-${QTMIN}:5
>=dev-qt/qtmultimedia-${QTMIN}:5
>=dev-qt/qtnetwork-${QTMIN}:5
>=dev-qt/qtquickcontrols2-${QTMIN}:5
>=dev-qt/qtsvg-${QTMIN}:5
>=dev-qt/qtwidgets-${QTMIN}:5
>=kde-frameworks/kconfig-${KFMIN}:5
>=kde-frameworks/kcoreaddons-${KFMIN}:5
>=kde-frameworks/kdbusaddons-${KFMIN}:5
>=kde-frameworks/ki18n-${KFMIN}:5
>=kde-frameworks/kio-${KFMIN}:5
>=kde-frameworks/kirigami-${KFMIN}:5
>=kde-frameworks/knotifications-${KFMIN}:5
>=kde-frameworks/sonnet-${KFMIN}:5
media-libs/kquickimageeditor:5
>=net-libs/libquotient-0.6
"
RDEPEND="${DEPEND}
>=dev-qt/qtgraphicaleffects-${QTMIN}:5
>=dev-qt/qtmultimedia-${QTMIN}:5[qml]
>=kde-frameworks/kitemmodels-${KFMIN}:5[qml]
>=kde-frameworks/qqc2-desktop-style-${KFMIN}:5
"
BDEPEND="virtual/pkgconfig"
src_unpack() {
default
mv "${WORKDIR}/${PN}-v${PV}"* "${S}" || die
}