mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-21 02:42:18 +00:00
38 lines
774 B
Bash
38 lines
774 B
Bash
# Copyright 2023-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
ECM_EXAMPLES="true"
|
|
ECM_TEST="true"
|
|
KDE_ORG_CATEGORY="libraries"
|
|
KFMIN=5.249.0
|
|
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}/${P}.tar.xz"
|
|
KEYWORDS="amd64 arm64 ~loong ~riscv ~x86"
|
|
fi
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
IUSE=""
|
|
|
|
RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND="dev-qt/qtbase:6[sql]"
|
|
DEPEND="${RDEPEND}
|
|
examples? ( dev-libs/qcoro )
|
|
test? ( dev-libs/qcoro )
|
|
"
|
|
|
|
src_install() {
|
|
if use examples; then
|
|
docinto examples
|
|
dodoc -r examples/*
|
|
fi
|
|
ecm_src_install
|
|
}
|