sci-calculators/qalculate-qt: Switch to Qt6

- Convert dependencies to Qt6 variants
- Convert build instructions to Qt6 variants
- Verified in-program that it was using Qt6
- Inherit `xdg` to fix QA warnings
- Add binding slot operator to properly rebuild

Closes: https://bugs.gentoo.org/940133
Signed-off-by: Christopher Fore <csfore@posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/38759
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Christopher Fore
2024-09-25 22:28:03 +02:00
committed by Andreas Sturmlechner
parent f9efe39363
commit dc6462daca
@@ -0,0 +1,32 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# Bump with sci-libs/libqalculate and sci-calculators/qalculate-gtk!
inherit qmake-utils xdg
DESCRIPTION="Qt-based UI for libqalculate"
HOMEPAGE="https://github.com/Qalculate/qalculate-qt"
SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-qt/qtbase:6[gui,network,widgets]
>=sci-libs/libqalculate-${PV}:=
"
RDEPEND="${DEPEND}"
BDEPEND="dev-qt/qttools:6[linguist]"
src_configure() {
eqmake6 PREFIX="${EPREFIX}/usr"
}
src_install() {
emake INSTALL_ROOT="${ED}" install
}