mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
kigo, bump to 25.04.0 (#12368)
This commit is contained in:
@@ -10,7 +10,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kigo-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="11f5e9176baef6c84e4626622c8269b1dd3b80ab176a83e20c2c0ece37d5935b"
|
||||
CHECKSUM_SHA256="3874277aed3586b01b258a6c317fb44c2595c5e30ab529a15873aa5c7ed649be"
|
||||
ADDITIONAL_FILES="kigo.rdef.in"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
@@ -119,6 +119,8 @@ PATCH()
|
||||
sed -e '/kdoctools_install(po)/ s/^#*/#/' -i CMakeLists.txt
|
||||
# remove dbus
|
||||
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
|
||||
# fix knsrcfiles path
|
||||
sed -e 's|{KDE_INSTALL_KNSRCDIR}|{CMAKE_INSTALL_DATADIR}/knsrcfiles|g' -i src/CMakeLists.txt
|
||||
}
|
||||
@@ -143,17 +145,17 @@ INSTALL()
|
||||
|
||||
mv $appsDir/kigo $appsDir/Kigo
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.kde-kigo"
|
||||
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-kigo"
|
||||
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/kigo.rdef.in > kigo.rdef
|
||||
|
||||
addResourcesToBinaries kigo.rdef $appsDir/Kigo
|
||||
Reference in New Issue
Block a user