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-2017 KDE Organisation" LICENSE="GNU LGPL v2" REVISION="1" SOURCE_URI="https://github.com/KDE/kunitconversion/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="d4051c40a9b34fa8fdeec5bf6fcebc2c735289daeb13b785f7644a27f5067214" 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.39 haiku${secondaryArchSuffix}_devel devel:libKF5I18n$secondaryArchSuffix 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 }