mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 14:08:51 +02:00
kde-frameworks: bump to 5.47.0
This commit is contained in:
104
kde-frameworks/kunitconversion/kunitconversion-5.47.0.recipe
Normal file
104
kde-frameworks/kunitconversion/kunitconversion-5.47.0.recipe
Normal file
@@ -0,0 +1,104 @@
|
||||
SUMMARY="Converting physical units"
|
||||
DESCRIPTION="KUnitConversion provides functions to convert values in \
|
||||
different physical units. It supports converting different prefixes \
|
||||
(e.g. kilo, mega, giga) as well as converting between different unit \
|
||||
systems (e.g. liters, gallons). The following areas are supported:
|
||||
|
||||
* Acceleration
|
||||
* Angle
|
||||
* Area
|
||||
* Currency
|
||||
* Density
|
||||
* Electrical Current
|
||||
* Electrical Resistance
|
||||
* Energy
|
||||
* Force
|
||||
* Frequency
|
||||
* Fuel efficiency
|
||||
* Length
|
||||
* Mass
|
||||
* Power
|
||||
* Pressure
|
||||
* Temperature
|
||||
* Thermal Conductivity
|
||||
* Thermal Flux
|
||||
* Thermal Generation
|
||||
* Time
|
||||
* Velocity
|
||||
* Volume
|
||||
* Voltage"
|
||||
HOMEPAGE="https://github.com/KDE/kunitconversion/"
|
||||
COPYRIGHT="2010-2018 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kunitconversion/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="cc0d7e4b3c744a7fdb24e97e47e097e6699d6bb082a149be0bff2cf6758fab63"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kunitconversion$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5UnitConversion$secondaryArchSuffix = $portVersion compat >= 5
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5I18n$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Network$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kunitconversion${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5UnitConversion$secondaryArchSuffix = $portVersion compat >= 5
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kunitconversion$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules >= 5.46
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5I18n$secondaryArchSuffix == $portVersion
|
||||
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
||||
devel:libQt5Network$secondaryArchSuffix >= 5.7
|
||||
devel:libQt5Xml$secondaryArchSuffix >= 5.7
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5UnitConversion
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user