diff options
author | Andrew Udvare <audvare@gmail.com> | 2023-09-16 18:47:29 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-09-18 12:14:04 +0100 |
commit | 4235a7c2d73e0b4f80bb915119d8bed2539fcf22 (patch) | |
tree | a08419b0e36a06c989fe26edc8db7e046e5ac12e /sci-calculators/qalculate-qt | |
parent | sci-calculators/qalculate-gtk: add 4.8.0 (diff) | |
download | gentoo-4235a7c2d73e0b4f80bb915119d8bed2539fcf22.tar.gz gentoo-4235a7c2d73e0b4f80bb915119d8bed2539fcf22.tar.bz2 gentoo-4235a7c2d73e0b4f80bb915119d8bed2539fcf22.zip |
sci-calculators/qalculate-qt: new package, add 4.8.0
Verified that Qt6 is not being automagically used when installed alongside 5.
readelf -d /usr/bin/qalculate-qt | grep libQt
0x0000000000000001 (NEEDED) Shared library: [libQt5Widgets.so.5]
0x0000000000000001 (NEEDED) Shared library: [libQt5Gui.so.5]
0x0000000000000001 (NEEDED) Shared library: [libQt5Network.so.5]
0x0000000000000001 (NEEDED) Shared library: [libQt5Core.so.5]
Signed-off-by: Andrew Udvare <audvare@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32859
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-calculators/qalculate-qt')
-rw-r--r-- | sci-calculators/qalculate-qt/Manifest | 1 | ||||
-rw-r--r-- | sci-calculators/qalculate-qt/metadata.xml | 22 | ||||
-rw-r--r-- | sci-calculators/qalculate-qt/qalculate-qt-4.8.0.ebuild | 29 |
3 files changed, 52 insertions, 0 deletions
diff --git a/sci-calculators/qalculate-qt/Manifest b/sci-calculators/qalculate-qt/Manifest new file mode 100644 index 000000000000..7975ae73c6f5 --- /dev/null +++ b/sci-calculators/qalculate-qt/Manifest @@ -0,0 +1 @@ +DIST qalculate-qt-4.8.0.tar.gz 1304320 BLAKE2B 586ae62f1408d71187eb371cc91e08a8ee9733a86ac1de98aa55c14bcc5c67a8c884e9dcdaeb651b26b287e0794e08630e90aadf55e9cb858c7a28ea0f6d2b00 SHA512 a980f65048b3469521e8eedacee370ebab26505a67e5493a64f1d18aab6f65a83f9031a8827bd27c299154b34e2f2e65cf1357348c52e210105db92677935ec7 diff --git a/sci-calculators/qalculate-qt/metadata.xml b/sci-calculators/qalculate-qt/metadata.xml new file mode 100644 index 000000000000..f424748639ae --- /dev/null +++ b/sci-calculators/qalculate-qt/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>audvare@gmail.com</email> + <name>Andrew Udvare</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription> + Qt equivalent to qalculate-gtk. + </longdescription> + <upstream> + <remote-id type="github">Qalculate/qalculate-qt</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-calculators/qalculate-qt/qalculate-qt-4.8.0.ebuild b/sci-calculators/qalculate-qt/qalculate-qt-4.8.0.ebuild new file mode 100644 index 000000000000..374318f1a4f6 --- /dev/null +++ b/sci-calculators/qalculate-qt/qalculate-qt-4.8.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit qmake-utils + +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 ~ppc64" + +DEPEND=">=sci-libs/libqalculate-${PV} + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5" +RDEPEND="${DEPEND}" + +src_prepare() { + default + eqmake5 PREFIX="${EPREFIX}/usr" +} + +src_install() { + emake INSTALL_ROOT="${ED}" install +} |