mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-18 01:30:07 +02:00
gear-apps, bump to 25.08.0, part1 (#12764)
This commit is contained in:
126
dev-util/kdevelop_php/kdevelop_php-25.08.0.recipe
Normal file
126
dev-util/kdevelop_php/kdevelop_php-25.08.0.recipe
Normal file
@@ -0,0 +1,126 @@
|
||||
SUMMARY="PHP plugin for KDevelop"
|
||||
DESCRIPTION="kdev-php is a KDevelop PHP language support plugin."
|
||||
HOMEPAGE="https://invent.kde.org/kdevelop/kdev-php"
|
||||
COPYRIGHT="2010-2025 KDE Organisation"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kdev-php-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="25d0420fc41db12acb52c01b62cbee12a4aae2a72bcf8f6ddfbcdf668878c7cf"
|
||||
SOURCE_DIR="kdev-php-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kdevelop_php$secondaryArchSuffix = $portVersion
|
||||
lib:libkdevphpcompletion$secondaryArchSuffix = $portVersion
|
||||
lib:libkdevphpduchain$secondaryArchSuffix = $portVersion
|
||||
lib:libkdevphpparser$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libKDevPlatformInterfaces$secondaryArchSuffix
|
||||
lib:libKDevPlatformLanguage$secondaryArchSuffix
|
||||
lib:libKDevPlatformOutputView$secondaryArchSuffix
|
||||
lib:libKDevPlatformProject$secondaryArchSuffix
|
||||
lib:libKDevPlatformSerialization$secondaryArchSuffix
|
||||
lib:libKDevPlatformShell$secondaryArchSuffix
|
||||
lib:libKDevPlatformSublime$secondaryArchSuffix
|
||||
lib:libKDevPlatformTests$secondaryArchSuffix
|
||||
lib:libKDevPlatformUtil$secondaryArchSuffix
|
||||
lib:libKDevPlatformVcs$secondaryArchSuffix
|
||||
# KF6
|
||||
lib:libKF6ColorScheme$secondaryArchSuffix
|
||||
lib:libKF6Completion$secondaryArchSuffix
|
||||
lib:libKF6ConfigCore$secondaryArchSuffix
|
||||
lib:libKF6ConfigWidgets$secondaryArchSuffix
|
||||
lib:libKF6CoreAddons$secondaryArchSuffix
|
||||
lib:libKF6GuiAddons$secondaryArchSuffix
|
||||
lib:libKF6I18n$secondaryArchSuffix
|
||||
lib:libKF6KIOCore$secondaryArchSuffix
|
||||
lib:libKF6Parts$secondaryArchSuffix
|
||||
lib:libKF6SyntaxHighlighting$secondaryArchSuffix
|
||||
lib:libKF6TextEditor$secondaryArchSuffix
|
||||
lib:libKF6ThreadWeaver$secondaryArchSuffix
|
||||
lib:libKF6WidgetsAddons$secondaryArchSuffix
|
||||
lib:libKF6XmlGui$secondaryArchSuffix
|
||||
# Qt6
|
||||
lib:libQt6Core$secondaryArchSuffix
|
||||
lib:libQt6Core5Compat$secondaryArchSuffix
|
||||
lib:libQt6Gui$secondaryArchSuffix
|
||||
lib:libQt6Network$secondaryArchSuffix
|
||||
lib:libQt6Widgets$secondaryArchSuffix
|
||||
lib:libQt6Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kdevelop_php${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libkdevphpcompletion$secondaryArchSuffix = $portVersion
|
||||
devel:libkdevphpduchain$secondaryArchSuffix = $portVersion
|
||||
devel:libkdevphpparser$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kdevelop_php$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
kdevelop_pg_qt6${secondaryArchSuffix}_devel
|
||||
devel:libKDevPlatformUtil$secondaryArchSuffix
|
||||
# KF6
|
||||
extra_cmake_modules$secondaryArchSuffix
|
||||
devel:libKF6GuiAddons$secondaryArchSuffix
|
||||
devel:libKF6I18n$secondaryArchSuffix
|
||||
devel:libKF6KCMUtils$secondaryArchSuffix
|
||||
devel:libKF6TextEditor$secondaryArchSuffix
|
||||
devel:libKF6ThreadWeaver$secondaryArchSuffix
|
||||
# Qt6
|
||||
devel:libQt6Core$secondaryArchSuffix
|
||||
devel:libQt6Core5Compat$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:msgfmt$secondaryArchSuffix
|
||||
cmd:msgmerge$secondaryArchSuffix
|
||||
cmd:php
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
qthaikuplugins
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
||||
$cmakeDirArgs \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-Wno-dev
|
||||
make -Cbuild $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -Cbuild install
|
||||
|
||||
rm -rf $dataDir/metainfo
|
||||
|
||||
prepareInstalledDevelLibs libkdevphpcompletion \
|
||||
libkdevphpduchain \
|
||||
libkdevphpparser
|
||||
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$libDir/cmake
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
# 29% tests passed, 5 tests failed out of 7
|
||||
ctest --test-dir build --output-on-failure
|
||||
}
|
||||
Reference in New Issue
Block a user