aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/futuresql5/futuresql5-0.1.1.ebuild')
-rw-r--r--dev-db/futuresql5/futuresql5-0.1.1.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-db/futuresql5/futuresql5-0.1.1.ebuild b/dev-db/futuresql5/futuresql5-0.1.1.ebuild
new file mode 100644
index 0000000000..b21bf2f723
--- /dev/null
+++ b/dev-db/futuresql5/futuresql5-0.1.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_EXAMPLES="true"
+ECM_TEST="true"
+KDE_ORG_NAME="${PN/5/}"
+inherit ecm kde.org
+
+DESCRIPTION="Non-blocking Qt database framework"
+HOMEPAGE="https://api.kde.org/futuresql/html/index.html https://invent.kde.org/libraries/futuresql"
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ SRC_URI="mirror://kde/stable/${PN/5/}/${KDE_ORG_NAME}-${PV}.tar.xz"
+ S="${WORKDIR}/${KDE_ORG_NAME}-${PV}"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-qt/qtsql:5"
+DEPEND="${RDEPEND}
+ examples? ( dev-libs/qcoro5 )
+ test? ( dev-libs/qcoro5 )
+"
+
+src_install() {
+ if use examples; then
+ docinto examples
+ dodoc -r examples/*
+ fi
+ ecm_src_install
+}