mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-10 00:10:19 +03:00
50 lines
1.1 KiB
Bash
50 lines
1.1 KiB
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
ECM_TEST="true"
|
|
PVCUT=$(ver_cut 1-3)
|
|
KFMIN=6.16.0
|
|
QTMIN=6.9.1
|
|
inherit ecm gear.kde.org
|
|
|
|
DESCRIPTION="Data Model and Extraction System for Travel Reservation information"
|
|
HOMEPAGE="https://invent.kde.org/libraries/kosmindoormap"
|
|
|
|
LICENSE="LGPL-2+"
|
|
SLOT="6/$(ver_cut 1-2)"
|
|
KEYWORDS="~amd64 ~arm64"
|
|
IUSE="+gui"
|
|
|
|
# kservice is optional and only used to find and open josm
|
|
RDEPEND="
|
|
>=dev-libs/kirigami-addons-1.6.0:6
|
|
dev-libs/protobuf:=
|
|
>=dev-qt/qtbase-${QTMIN}:6[gui?,network]
|
|
virtual/zlib:=
|
|
gui? (
|
|
>=dev-libs/kopeninghours-${PVCUT}:6=
|
|
>=dev-libs/kpublictransport-${PVCUT}:6=
|
|
>=dev-qt/qtdeclarative-${QTMIN}:6
|
|
>=kde-frameworks/kcoreaddons-${KFMIN}:6
|
|
>=kde-frameworks/ki18n-${KFMIN}:6
|
|
>=kde-frameworks/kservice-${KFMIN}:6
|
|
)
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
test? ( >=dev-qt/qtbase-${QTMIN}:6[widgets] )
|
|
"
|
|
BDEPEND="
|
|
app-alternatives/lex
|
|
app-alternatives/yacc
|
|
"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DBUILD_TOOLS_ONLY=$(usex !gui)
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_OsmTools=ON # we have no use for it
|
|
)
|
|
ecm_src_configure
|
|
}
|