mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
113 lines
3.3 KiB
Bash
113 lines
3.3 KiB
Bash
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-2026 KDE Organisation"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/baloo-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="d7746f5742d96f85c11b64a1aae8a6af1f20e55b815f81da8a4e6c3c5172a2d9"
|
|
SOURCE_DIR="baloo-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="$portVersion"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
baloo6$secondaryArchSuffix = $portVersion
|
|
lib:libKF6Baloo$secondaryArchSuffix = $libVersionCompat
|
|
lib:libKF6BalooEngine$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libKF6ConfigCore$secondaryArchSuffix
|
|
lib:libKF6CoreAddons$secondaryArchSuffix
|
|
lib:libKF6FileMetaData$secondaryArchSuffix
|
|
lib:libKF6I18n$secondaryArchSuffix
|
|
lib:libKF6Solid$secondaryArchSuffix
|
|
lib:liblmdb$secondaryArchSuffix
|
|
lib:libQt6Core$secondaryArchSuffix
|
|
lib:libQt6DBus$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
baloo6${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libKF6Baloo$secondaryArchSuffix = $libVersionCompat
|
|
devel:libKF6BalooEngine$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES_devel="
|
|
baloo6$secondaryArchSuffix == $portVersion base
|
|
devel:libKF6FileMetaData$secondaryArchSuffix
|
|
"
|
|
|
|
ARCHITECTURES_doc="any"
|
|
|
|
PROVIDES_doc="
|
|
baloo6_doc = $portVersion
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
extra_cmake_modules$secondaryArchSuffix >= $portVersion
|
|
qt6_tools${secondaryArchSuffix}_devel
|
|
devel:libKF6ConfigCore$secondaryArchSuffix >= $libVersion
|
|
devel:libKF6CoreAddons$secondaryArchSuffix >= $libVersion
|
|
devel:libKF6Crash$secondaryArchSuffix >= $libVersion
|
|
devel:libKF6DbusAddons$secondaryArchSuffix >= $libVersion
|
|
devel:libKF6FileMetaData$secondaryArchSuffix >= $libVersion
|
|
devel:libKF6I18n$secondaryArchSuffix >= $libVersion
|
|
devel:libKF6IdleTime$secondaryArchSuffix >= $libVersion
|
|
devel:libKF6KIOCore$secondaryArchSuffix >= $libVersion
|
|
devel:libKF6Solid$secondaryArchSuffix >= $libVersion
|
|
devel:liblmdb$secondaryArchSuffix
|
|
devel:libQt6Core$secondaryArchSuffix
|
|
devel:libQt6Qml$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
kde_qdoc_common
|
|
cmd:cmake
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:msgfmt$secondaryArchSuffix
|
|
cmd:msgmerge$secondaryArchSuffix
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
export KDE_DOCS="`finddir B_SYSTEM_DATA_DIRECTORY`"/kde-qdoc-common
|
|
|
|
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
|
|
$cmakeDirArgs \
|
|
-DCMAKE_SKIP_RPATH=YES \
|
|
-DBUILD_TESTING=OFF \
|
|
-Wno-dev
|
|
|
|
make -C build $jobArgs
|
|
cmake --build build --target prepare_docs
|
|
cmake --build build --target generate_docs
|
|
cmake --build build --target generate_qch
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make -C build install
|
|
cmake --build build --target install_html_docs
|
|
cmake --build build --target install_qch_docs
|
|
|
|
prepareInstalledDevelLibs \
|
|
libKF6Baloo \
|
|
libKF6BalooEngine
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir \
|
|
$libDir/cmake
|
|
|
|
packageEntries doc \
|
|
$documentationDir
|
|
}
|