mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
kpublictransport_kf6, bump to 25.12.0 (#13384)
This commit is contained in:
@@ -3,12 +3,12 @@ DESCRIPTION="A library for accessing realtime public transport data and for perf
|
||||
transport journey queries.
|
||||
This includes:
|
||||
|
||||
Finding bus stops or train stations, departures/arrivals from there, and journeys between those.
|
||||
Path and routing information for individual transport sections of a journey.
|
||||
Information about train coach and train station platform layouts.
|
||||
Information about rental vehicle positions and availability, such as shared bikes or scooters.
|
||||
Realtime information about the operational status of elevators or escalators.
|
||||
Unified access to onboard API on trains for obtaining the current position and journey.
|
||||
* Finding bus stops or train stations, departures/arrivals from there, and journeys between those.
|
||||
* Path and routing information for individual transport sections of a journey.
|
||||
* Information about train coach and train station platform layouts.
|
||||
* Information about rental vehicle positions and availability, such as shared bikes or scooters.
|
||||
* Realtime information about the operational status of elevators or escalators.
|
||||
* Unified access to onboard API on trains for obtaining the current position and journey.
|
||||
|
||||
!! Before using this, please read the license compliance and attribution section below !!
|
||||
|
||||
@@ -25,7 +25,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kpublictransport-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="fd0190081f4be172711ec1e0e5702805bcf9c00c73a08a42ba3790167cabab0a"
|
||||
CHECKSUM_SHA256="5dbbbfa2313950a0d4e0cb87c8c91a243de64e3786438ebe9240545057e05a35"
|
||||
SOURCE_DIR="kpublictransport-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
@@ -41,15 +41,20 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
cmd:osmconvert
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libKirigamiAddonsStatefulApp$secondaryArchSuffix
|
||||
lib:libpolyclipping$secondaryArchSuffix
|
||||
lib:libprotobuf$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
# KF6
|
||||
lib:libKF6I18n$secondaryArchSuffix
|
||||
lib:libKF6ItemModels$secondaryArchSuffix
|
||||
# Qt6
|
||||
lib:libQt6Core$secondaryArchSuffix
|
||||
lib:libQt6Location$secondaryArchSuffix
|
||||
lib:libQt6Positioning$secondaryArchSuffix
|
||||
lib:libQt6Qml$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
REPLACES="
|
||||
kpublictransport24$secondaryArchSuffix
|
||||
@@ -76,6 +81,7 @@ REPLACES_doc="
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKirigamiAddonsStatefulApp$secondaryArchSuffix
|
||||
devel:libpolyclipping$secondaryArchSuffix
|
||||
devel:libprotobuf$secondaryArchSuffix >= 31
|
||||
devel:libz$secondaryArchSuffix
|
||||
# KF6
|
||||
@@ -85,16 +91,21 @@ BUILD_REQUIRES="
|
||||
# Qt6
|
||||
qt6_tools${secondaryArchSuffix}_devel
|
||||
devel:libQt6Core$secondaryArchSuffix
|
||||
devel:libQt6Location$secondaryArchSuffix
|
||||
devel:libQt6Positioning$secondaryArchSuffix
|
||||
devel:libQt6Qml$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:bison
|
||||
cmd:cmake
|
||||
cmd:dot
|
||||
cmd:doxygen
|
||||
cmd:flex
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:msgfmt$secondaryArchSuffix
|
||||
cmd:msgmerge$secondaryArchSuffix
|
||||
cmd:osmconvert
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
@@ -102,12 +113,10 @@ BUILD()
|
||||
{
|
||||
cmake -B build -S. -DCMAKE_BUILD_TYPE=Release \
|
||||
$cmakeDirArgs \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
|
||||
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
|
||||
-DKDE_INSTALL_QTQCHDIR=$documentationDir/packages/qt6_base \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DBUILD_QCH=ON \
|
||||
-DBUILD_TESTING=OFF
|
||||
-DCMAKE_SKIP_RPATH=YES \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-Wno-dev
|
||||
|
||||
make -C build $jobArgs
|
||||
}
|
||||
Reference in New Issue
Block a user