mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
kde-frameworks: bump revision
This commit is contained in:
82
kde-frameworks/ki18n/ki18n-5.65.0.recipe
Normal file
82
kde-frameworks/ki18n/ki18n-5.65.0.recipe
Normal file
@@ -0,0 +1,82 @@
|
||||
SUMMARY="KDE Gettext-based UI text internationalization"
|
||||
DESCRIPTION="KI18n provides functionality for internationalizing user \
|
||||
interface text in applications, based on the GNU Gettext translation system. \
|
||||
It wraps the standard Gettext functionality, so that the programmers and \
|
||||
translators can use the familiar Gettext tools and workflows.
|
||||
|
||||
KI18n provides additional functionality as well, for both programmers and \
|
||||
translators, which can help to achieve a higher overall quality of source \
|
||||
and translated text. This includes argument capturing, customizable markup, \
|
||||
and translation scripting."
|
||||
HOMEPAGE="https://github.com/KDE/ki18n/"
|
||||
COPYRIGHT="2010-2019 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/ki18n/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="294a77be442f7979776099dd43f8e03b245df65540a37f335c6ec30ea7b1e219"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
ki18n$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5I18n$secondaryArchSuffix = $portVersion compat >= 5
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
ki18n${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5I18n$secondaryArchSuffix = $portVersion compat >= 5
|
||||
"
|
||||
REQUIRES_devel="
|
||||
ki18n$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
extra_cmake_modules$secondaryArchSuffix >= $portVersion
|
||||
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DBUILD_TESTING=OFF
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5I18n
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user