mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
It's not backwards compatible with 0.8. Closes: https://bugs.gentoo.org/945314 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
52 lines
977 B
Bash
52 lines
977 B
Bash
# Copyright 2019-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake xdg-utils
|
|
|
|
DESCRIPTION="A Qt-based IM client for Matrix"
|
|
HOMEPAGE="https://github.com/quotient-im/Quaternion https://matrix.org/ecosystem/clients/quaternion/"
|
|
GITHUB_PV=${PV//_/-}
|
|
SRC_URI="https://github.com/quotient-im/${PN}/archive/refs/tags/${GITHUB_PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
S="${WORKDIR}/${PN}-${GITHUB_PV}"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
RDEPEND="
|
|
dev-qt/qtbase:6[widgets,network,gui]
|
|
dev-qt/qttools:6[linguist]
|
|
dev-qt/qtdeclarative:6[widgets]
|
|
>=net-libs/libquotient-0.8.0:=
|
|
<net-libs/libquotient-0.9.0
|
|
dev-libs/qtkeychain:=[qt6]
|
|
"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
dev-qt/qtmultimedia:6
|
|
"
|
|
BDEPEND="
|
|
dev-qt/qttools:6[linguist]
|
|
"
|
|
|
|
DOCS=( {README,SECURITY}.md )
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DBUILD_WITH_QT6=On
|
|
)
|
|
|
|
cmake_src_configure
|
|
}
|
|
|
|
pkg_postinst() {
|
|
xdg_icon_cache_update
|
|
}
|
|
|
|
pkg_postrm() {
|
|
xdg_icon_cache_update
|
|
}
|