mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
baloo, add kde framework (#10197)
This commit is contained in:
116
kde-frameworks/baloo/baloo-5.115.0.recipe
Normal file
116
kde-frameworks/baloo/baloo-5.115.0.recipe
Normal file
@@ -0,0 +1,116 @@
|
||||
SUMMARY="A framework for searching and managing metadata"
|
||||
DESCRIPTION="Baloo is the file indexing and file search framework for KDE Plasma. It focuses on \
|
||||
speed and a very small memory footprint. It maintains an index of your files and optionally \
|
||||
their contents which [you can search](./docs/user/searching.md)."
|
||||
HOMEPAGE="https://invent.kde.org/frameworks/baloo"
|
||||
COPYRIGHT="2010-2024 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="$HOMEPAGE/-/archive/v$portVersion/baloo-v$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="158a8cd5e3fede7c1d9f4ed1a44e4cc228f4c1ed890161bff9e98c1b15e50af8"
|
||||
SOURCE_DIR="baloo-v$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
baloo$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5Baloo$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libKF5BalooEngine$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5FileMetaData$secondaryArchSuffix
|
||||
lib:libKF5I18n$secondaryArchSuffix
|
||||
lib:libKF5Solid$secondaryArchSuffix
|
||||
lib:liblmdb$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
baloo${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5Baloo$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libKF5BalooEngine$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
baloo$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
extra_cmake_modules$secondaryArchSuffix >= $portVersion
|
||||
devel:libKF5Auth$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5Bookmarks$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5Codecs$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5Completion$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5ConfigWidgets$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5Crash$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5DbusAddons$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5FileMetaData$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5I18n$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5IdleTime$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5ItemViews$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5JobWidgets$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5KIOCore$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5Service$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5Solid$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5WindowSystem$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5XmlGui$secondaryArchSuffix == $portVersion
|
||||
devel:liblmdb$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5DBus$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Network$secondaryArchSuffix
|
||||
devel:libQt5Qml$secondaryArchSuffix
|
||||
devel:libQt5Quick$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:msgfmt
|
||||
cmd:msgmerge
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:qdbuscpp2xml$secondaryArchSuffix >= 5
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -Bbuild -S. $cmakeDirArgs \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DKDE_INSTALL_QMLDIR=$dataDir/Qt5/qml \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5Baloo \
|
||||
libKF5BalooEngine
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user