summaryrefslogtreecommitdiff
path: root/dev-libs/qxlsx
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/qxlsx')
-rw-r--r--dev-libs/qxlsx/Manifest2
-rw-r--r--dev-libs/qxlsx/qxlsx-1.4.8.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-libs/qxlsx/Manifest b/dev-libs/qxlsx/Manifest
index 6a8e2bdf15d7..2121e2a49494 100644
--- a/dev-libs/qxlsx/Manifest
+++ b/dev-libs/qxlsx/Manifest
@@ -1,3 +1,5 @@
DIST qxlsx-1.4.7.tar.gz 4705261 BLAKE2B 8be35b86ef7f025d5cc0875275406a65e1624592d7c8fa97d743223ab143011de9e71dc40eb62d83edc28c16c5d9e9c8092ea082cd8898db277e8a94e1ea10e6 SHA512 5ca8841413d5bddf1cec2c6eb4434ae18c533231adf32a8157790ba81c0b305c7f02a70475492a45ce11d1d6cf6e483bd30cafe8629aa564a46cb749e1b43f43
+DIST qxlsx-1.4.8.tar.gz 4705148 BLAKE2B 5b24716f1aa99233a51b1290e12d51fc532c21b5397cae84bd524d11a977d18d7178cc3e9f6bd66b5d837bafea1872d981ce2cf4724821e2fb40ba10feb152a8 SHA512 309560bde9da6461c52e883466908d493986251b0ef89d74fb3ddcec374f8a4f9d96f61f5be96431f224484e778388be8d78244f4d8ebd7de3250e65ec60edda
EBUILD qxlsx-1.4.7.ebuild 993 BLAKE2B 0ad989e2b2910ec12f99533c14e2d85d21dd6566e28db29adb88ddae476a46cd5165c29a3bd74e13412b271a342a3b18cbf5de8cc38961ed23ca2b32e6bd3ede SHA512 c360d10afdb1e620e2c279e6e5b24b5c8221a444cb419880e0a28422491a4133ac9a3045f8b7ed4913788aa041f1edcc9d336cec7a51fc1d9cd7f75c2474cebb
+EBUILD qxlsx-1.4.8.ebuild 995 BLAKE2B eb430c5c4fb9fb40cfbd79c4309597d012cc9a1b5bed9e4d3a3ef24f828f86222951b583bb3652bd4f2eecd79ddda13dbbdb5f1d83b8a109e45443f016bc93bd SHA512 dbbdc5a00f6279a3d4ee437fd29f5216672428ba3e5dd453b4acd4f0eacb794a94aaf9b3722d43a20aa015150dd2849b019c626559589aa602253228d11b8b88
MISC metadata.xml 451 BLAKE2B 72b39f0c97bb2d329e87abf678364a963a0e1cceda24106ed304f50258418595349f2b88ad5d34b82677dda655d20b05176d7bd8b2e2ca2215bcf1264b5412cc SHA512 5e9172c378f82bd9fbe16f8acbc877934ebac97d5603ad471f5ad0e4c729f69fb7942125ad7cd70047a28b78b63f3fc670023018cee113061ed2a668c5fd2897
diff --git a/dev-libs/qxlsx/qxlsx-1.4.8.ebuild b/dev-libs/qxlsx/qxlsx-1.4.8.ebuild
new file mode 100644
index 000000000000..6a00e2a091a6
--- /dev/null
+++ b/dev-libs/qxlsx/qxlsx-1.4.8.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multibuild cmake
+
+DESCRIPTION="Excel file(*.xlsx) reader/writer library using Qt"
+HOMEPAGE="https://github.com/QtExcel/QXlsx"
+SRC_URI="https://github.com/QtExcel/QXlsx/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/QXlsx-${PV}/QXlsx"
+
+LICENSE="MIT"
+# soversion
+SLOT="0/0.1.4.4"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86"
+
+IUSE="+qt5 qt6"
+REQUIRED_USE="|| ( qt5 qt6 )"
+
+RDEPEND="
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5=
+ )
+ qt6? (
+ dev-qt/qtbase:6=[gui]
+ )
+"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ MULTIBUILD_VARIANTS=( $(usev qt5) $(usev qt6) )
+}
+
+src_configure() {
+ my_src_configure() {
+ local mycmakeargs=(
+ -DQT_VERSION_MAJOR="${MULTIBUILD_VARIANT/qt/}"
+ )
+
+ cmake_src_configure
+ }
+
+ multibuild_foreach_variant my_src_configure
+}
+
+src_compile() {
+ multibuild_foreach_variant cmake_src_compile
+}
+
+src_install() {
+ multibuild_foreach_variant cmake_src_install
+}