ktrip, bump to 25.08.3 (#13472)

drop old  kbrunch recipe (obsolete)
This commit is contained in:
Schrijvers Luc
2025-12-23 08:08:32 +01:00
committed by GitHub
parent 1b11687d48
commit 7019a82054
2 changed files with 1 additions and 117 deletions

View File

@@ -1,116 +0,0 @@
SUMMARY="A Practice Fractions"
DESCRIPTION="KBruch is a small program to practice calculating with fractions and percentages. \
Different exercises are provided for this purpose and you can use the learning mode to practice \
with fractions. The program checks the user's input and gives feedback.
Features:
* Arithmetic exercise - in this exercise you have to solve a given fraction task. You have to \
enter the numerator and the denominator. This is the main exercise.
* Comparison exercise - in this exercise you have to compare the size of 2 given fractions, using \
the symbols >, < or =.
* Conversion exercise - in this exercise you have to convert a given number into a fraction.
* Factorization exercise - in this exercise you have to factorize a given number into its prime \
factors.
* Percentage exercise - in this exercise you have to calculate percentages."
HOMEPAGE="https://invent.kde.org/education/kbruch"
COPYRIGHT="2002-2011 Sebastian Stein
2010-2025 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kbruch-$portVersion.tar.xz"
CHECKSUM_SHA256="28ba55e51ce49b56ce30061667ae89f6965cf8d9186a985858647ab31a904e3d"
SOURCE_DIR="kbruch-$portVersion"
ADDITIONAL_FILES="kbruch.rdef.in"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
kbruch$secondaryArchSuffix = $portVersion
app:KBruch = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
# KF6
lib:libKF6AuthCore$secondaryArchSuffix
lib:libKF6AuthCore$secondaryArchSuffix
lib:libKF6Codecs$secondaryArchSuffix
lib:libKF6ColorScheme$secondaryArchSuffix
lib:libKF6ConfigCore$secondaryArchSuffix
lib:libKF6ConfigWidgets$secondaryArchSuffix
lib:libKF6CoreAddons$secondaryArchSuffix
lib:libKF6Crash$secondaryArchSuffix
lib:libKF6GuiAddons$secondaryArchSuffix
lib:libKF6I18n$secondaryArchSuffix
lib:libKF6WidgetsAddons$secondaryArchSuffix
lib:libKF6XmlGui$secondaryArchSuffix
# Qt6
lib:libQt6Core$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix
# KF6
devel:libKF6AuthCore$secondaryArchSuffix
devel:libKF6Codecs$secondaryArchSuffix
devel:libKF6ColorScheme$secondaryArchSuffix
devel:libKF6ConfigCore$secondaryArchSuffix
devel:libKF6ConfigWidgets$secondaryArchSuffix
devel:libKF6CoreAddons$secondaryArchSuffix
devel:libKF6Crash$secondaryArchSuffix
devel:libKF6GuiAddons$secondaryArchSuffix
devel:libKF6I18n$secondaryArchSuffix
devel:libKF6WidgetsAddons$secondaryArchSuffix
devel:libKF6XmlGui$secondaryArchSuffix
# Qt6
devel:libQt6Core$secondaryArchSuffix
devel:libQt6Qml$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:make
cmd:msgfmt$secondaryArchSuffix
cmd:msgmerge$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DCMAKE_INSTALL_BINDIR=$appsDir \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
make -Cbuild $jobArgs
}
INSTALL()
{
make -Cbuild install
# cleanup
rm -rf $dataDir/{applications,icons,metainfo}
mv $appsDir/kbruch $appsDir/KBruch
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
local MINOR="`echo "$portVersion" | cut -d. -f3`"
local APP_NAME="KBruch"
local LONG_INFO="$SUMMARY"
local APP_SIGNATURE="application/x-vnd.kde-kbruch"
sed \
-e "s|@MAJOR@|$MAJOR|" \
-e "s|@MIDDLE@|$MIDDLE|" \
-e "s|@MINOR@|$MINOR|" \
-e "s|@LONG_INFO@|$LONG_INFO|" \
-e "s|@APP_NAME@|$APP_NAME|" \
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
$portDir/additional-files/kbruch.rdef.in > kbruch.rdef
addResourcesToBinaries kbruch.rdef $appsDir/KBruch
addAppDeskbarSymlink $appsDir/KBruch
}

View File

@@ -7,7 +7,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU GPL v2" LICENSE="GNU GPL v2"
REVISION="1" REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/ktrip-$portVersion.tar.xz" SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/ktrip-$portVersion.tar.xz"
CHECKSUM_SHA256="bfcadd7101809c0ae371e0050485c669ad1636440dd22fc352db895a949460b7" CHECKSUM_SHA256="ebb5d68338e1291f343456917c1d277de957256463bf7f743005d452750220bf"
SOURCE_DIR="ktrip-$portVersion" SOURCE_DIR="ktrip-$portVersion"
ADDITIONAL_FILES="ktrip.rdef.in ADDITIONAL_FILES="ktrip.rdef.in
applications-development.svg" applications-development.svg"