commit:     dc6462dacad4847576afc9cc97daa4d992004362
Author:     Christopher Fore <csfore <AT> posteo <DOT> net>
AuthorDate: Wed Sep 25 12:22:22 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Sep 25 20:28:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc6462da

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 <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/38759
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../qalculate-qt/qalculate-qt-5.2.0-r1.ebuild      | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/sci-calculators/qalculate-qt/qalculate-qt-5.2.0-r1.ebuild 
b/sci-calculators/qalculate-qt/qalculate-qt-5.2.0-r1.ebuild
new file mode 100644
index 000000000000..bc7487dc9484
--- /dev/null
+++ b/sci-calculators/qalculate-qt/qalculate-qt-5.2.0-r1.ebuild
@@ -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
+}

Reply via email to