mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
kcompletion: bump version
This commit is contained in:
96
kde-frameworks/kcompletion/kcompletion-5.115.0.recipe
Normal file
96
kde-frameworks/kcompletion/kcompletion-5.115.0.recipe
Normal file
@@ -0,0 +1,96 @@
|
||||
SUMMARY="Powerful completion framework"
|
||||
DESCRIPTION="When typing filenames, email addresses and other text where the \
|
||||
user often wants to select from existing data (including what they previously \
|
||||
typed) rather than enter anything wholly original, users often find it \
|
||||
helpful if they only need to type the first few characters, and then have the \
|
||||
application offer them a set of choices or attempt to finish off what they \
|
||||
were typing. Email clients, shells and \"open file\" dialogs often provide \
|
||||
this functionality.
|
||||
|
||||
This framework helps implement this in Qt-based applications. You can use one \
|
||||
of the completion-ready widgets provided by this framework, or integrate it \
|
||||
into your application's other widgets directly."
|
||||
HOMEPAGE="https://invent.kde.org/frameworks/kcompletion/"
|
||||
COPYRIGHT="2010-2024 KDE Organisation"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kcompletion-${portVersion}.tar.xz"
|
||||
CHECKSUM_SHA256="b134a5c9535589c8a1e694286cd1cddc6b9df77f2330f101dec155568f710dc7"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kcompletion$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5Completion$secondaryArchSuffix = $portVersion compat >= 5
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5ConfigGui$secondaryArchSuffix
|
||||
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kcompletion${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5Completion$secondaryArchSuffix = $portVersion compat >= 5
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kcompletion$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
extra_cmake_modules$secondaryArchSuffix >= $portVersion
|
||||
devel:libKF5ConfigGui$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix == $portVersion
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:lrelease$secondaryArchSuffix >= 5
|
||||
cmd:make
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5Completion
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user