mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
kdiff3, bump to 1.12.3 (#12401)
This commit is contained in:
@@ -17,7 +17,7 @@ COPYRIGHT="2016-2024 Michael Reeves
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/kdiff3/kdiff3-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="31a37cbcf9d42078a7b4845d42ac1a033a7d7232a5abaeaa028f6425bb9fa439"
|
||||
CHECKSUM_SHA256="e22654c457881799808305529c6b596c0c9dc38b5a2ecc142ec76d46f6873f4c"
|
||||
SOURCE_DIR="kdiff3-$portVersion"
|
||||
ADDITIONAL_FILES="kdiff3.rdef.in"
|
||||
|
||||
@@ -27,7 +27,6 @@ SECONDARY_ARCHITECTURES="x86"
|
||||
PROVIDES="
|
||||
kdiff3$secondaryArchSuffix = $portVersion
|
||||
app:KDiff3 = $portVersion
|
||||
cmd:kdiff3$commandSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -67,7 +66,7 @@ REQUIRES="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libboost_system$secondaryArchSuffix >= 1.83.0
|
||||
devel:libboost_system$secondaryArchSuffix >= 1.85.0
|
||||
devel:libicuuc$secondaryArchSuffix >= 74
|
||||
# KF6
|
||||
extra_cmake_modules$secondaryArchSuffix
|
||||
@@ -129,17 +128,17 @@ INSTALL()
|
||||
# cleanup
|
||||
rm -rf $dataDir/{applications,icons,metainfo}
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.Qt6-kdiff3"
|
||||
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-kdiff3"
|
||||
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/kdiff3.rdef.in > kdiff3.rdef
|
||||
|
||||
addResourcesToBinaries kdiff3.rdef $appsDir/KDiff3
|
||||
Reference in New Issue
Block a user