mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
kasts, bump version (#11745)
This commit is contained in:
@@ -10,24 +10,17 @@ Its main features are:
|
||||
HOMEPAGE="https://apps.kde.org/kasts/"
|
||||
COPYRIGHT="2010-2024 KDE Organisation"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kasts-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="1b04c81d5a8adbc6f89120e0fafaf123c8d7e677c850ba3921de4e66d3abf00c"
|
||||
CHECKSUM_SHA256="afe8bbcf907caea592448a7c93bdc461d5fb28c3c247a552fbbbb69d7afa3ac9"
|
||||
ADDITIONAL_FILES="kasts.rdef.in"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
commandBinDir=$binDir
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
PROVIDES="
|
||||
kasts$secondaryArchSuffix = $portVersion
|
||||
cmd:kasts$commandSuffix = $portVersion
|
||||
app:Kasts$commandSuffix = $portVersion
|
||||
lib:libKastsSolidExtras$secondaryArchSuffix
|
||||
lib:libKMediaSession$secondaryArchSuffix
|
||||
"
|
||||
@@ -102,13 +95,14 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -Bbuild -S. $cmakeDirArgs \
|
||||
-DCMAKE_INSTALL_BINDIR=$commandBinDir \
|
||||
cmake -B build -S . $cmakeDirArgs \
|
||||
-DCMAKE_INSTALL_BINDIR=$appsDir \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DBUILD_TESTING=ON \
|
||||
-Wno-dev
|
||||
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
@@ -116,7 +110,7 @@ INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
|
||||
mv $commandBinDir/kasts $commandBinDir/Kasts
|
||||
mv $appsDir/kasts $appsDir/Kasts
|
||||
|
||||
rm -rf $dataDir/{applications,icons,metainfo}
|
||||
|
||||
@@ -135,8 +129,8 @@ INSTALL()
|
||||
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||
$portDir/additional-files/kasts.rdef.in > kasts.rdef
|
||||
|
||||
addResourcesToBinaries kasts.rdef $commandBinDir/Kasts
|
||||
addAppDeskbarSymlink $commandBinDir/Kasts
|
||||
addResourcesToBinaries kasts.rdef $appsDir/Kasts
|
||||
addAppDeskbarSymlink $appsDir/Kasts
|
||||
}
|
||||
|
||||
TEST()
|
||||
Reference in New Issue
Block a user