You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.0 KiB
49 lines
1.0 KiB
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
|
ECM_TEST="true"
|
||
|
KDE_GEAR="true"
|
||
|
PVCUT=$(ver_cut 1-3)
|
||
|
KFMIN=5.80.0
|
||
|
QTMIN=5.15.2
|
||
|
inherit ecm kde.org
|
||
|
|
||
|
DESCRIPTION="Data Model and Extraction System for Travel Reservation information"
|
||
|
HOMEPAGE="https://invent.kde.org/libraries/kosmindoormap"
|
||
|
|
||
|
LICENSE="LGPL-2+"
|
||
|
SLOT="5"
|
||
|
KEYWORDS="~amd64"
|
||
3 years ago
|
IUSE="+openinghours"
|
||
3 years ago
|
|
||
|
COMMON_DEPEND="
|
||
|
>=dev-libs/kpublictransport-${PVCUT}:5
|
||
|
dev-libs/protobuf:=
|
||
|
>=dev-qt/qtdeclarative-${QTMIN}:5
|
||
|
>=dev-qt/qtgui-${QTMIN}:5
|
||
|
>=dev-qt/qtnetwork-${QTMIN}:5
|
||
|
>=kde-frameworks/ki18n-${KFMIN}:5
|
||
|
sys-libs/zlib
|
||
3 years ago
|
openinghours? ( >=dev-libs/kopeninghours-${PVCUT}:5 )
|
||
3 years ago
|
"
|
||
|
DEPEND="${COMMON_DEPEND}
|
||
|
test? ( >=dev-qt/qtwidgets-${QTMIN}:5 )
|
||
|
"
|
||
|
RDEPEND="${COMMON_DEPEND}
|
||
|
>=dev-qt/qtquickcontrols2-${QTMIN}:5
|
||
|
"
|
||
|
BDEPEND="
|
||
|
sys-devel/bison
|
||
|
sys-devel/flex
|
||
|
"
|
||
|
|
||
|
src_configure() {
|
||
|
local mycmakeargs=(
|
||
|
-DCMAKE_DISABLE_FIND_PACKAGE_OsmTools=ON # we have no use for it
|
||
3 years ago
|
$(cmake_use_find_package openinghours KOpeningHours)
|
||
3 years ago
|
)
|
||
|
ecm_src_configure
|
||
|
}
|