mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
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:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user