mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
katomic, bump to 25.04.0 (#12392)
This commit is contained in:
@@ -8,7 +8,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/katomic-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="99a20cc9576a31325ddace24ce478b52b720429f2f082cf2f53c0c09ced4e496"
|
||||
CHECKSUM_SHA256="cfed286bf061a02fb769ce4973da20e27218a57916570e1fd8b5d3e886456635"
|
||||
SOURCE_DIR="katomic-$portVersion"
|
||||
ADDITIONAL_FILES="katomic.rdef.in"
|
||||
|
||||
@@ -17,7 +17,7 @@ SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
katomic$secondaryArchSuffix = $portVersion
|
||||
app:KAtomic$secondaryArchSuffix = $portVersion
|
||||
app:KAtomic = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -117,6 +117,8 @@ PATCH()
|
||||
sed -e '/kdoctools_install(po)/ s/^#*/#/' -i CMakeLists.txt
|
||||
# remove dbus service
|
||||
sed -e '/KDBusService service;/d' -i src/main.cpp
|
||||
# use Haiku's icon theme
|
||||
sed -e 's,\ KIconTheme::initTheme();,\// KIconTheme::initTheme();,g' -i src/main.cpp
|
||||
}
|
||||
|
||||
BUILD()
|
||||
@@ -125,29 +127,30 @@ BUILD()
|
||||
$cmakeDirArgs \
|
||||
-DCMAKE_INSTALL_BINDIR=$appsDir \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make -Cbuild $jobArgs
|
||||
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -Cbuild install
|
||||
make -C build install
|
||||
|
||||
# cleanup
|
||||
rm -rf $dataDir/{applications,icons,metainfo}
|
||||
|
||||
mv $appsDir/katomic $appsDir/KAtomic
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.kde-katomic"
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
local LONG_INFO="$SUMMARY"
|
||||
local APP_SIGNATURE="application/x-vnd.kde-katomic"
|
||||
sed \
|
||||
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
||||
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||
$portDir/additional-files/katomic.rdef.in > katomic.rdef
|
||||
|
||||
addResourcesToBinaries katomic.rdef $appsDir/KAtomic
|
||||
Reference in New Issue
Block a user