Kig: bump version

This commit is contained in:
Gerasim Troeglazov
2021-11-01 20:29:21 +10:00
parent 7d23f1e1e0
commit 73c3ad5b92

View File

@@ -4,12 +4,12 @@ It allows to explore mathematical figures and concepts using the computer and al
as a drawing tool for mathematical figures. Constructions can be made with points, vectors, \
lines, and polygons and all elements can be modified directly by using the mouse. Kig helps \
teachers and students to make conjectures and to understand how to prove geometric theorems."
HOMEPAGE="https://github.com/kde/kig"
COPYRIGHT="2010-2020 KDE Organisation"
HOMEPAGE="https://apps.kde.org/kig/"
COPYRIGHT="2010-2021 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kig/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="f45c220b39de2e9243edaabff51a82ad5ee9ecb457bb3c2bc6eb70831e55c5a6"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kig-$portVersion.tar.xz"
CHECKSUM_SHA256="35c6315496ea042be845624ed484631e75dafe320cb1b58f6a150021ffd7b4c4"
SOURCE_DIR="kig-$portVersion"
ADDITIONAL_FILES="kig.rdef.in"
@@ -46,6 +46,7 @@ REQUIRES="
lib:libKF5Service$secondaryArchSuffix
lib:libKF5Solid$secondaryArchSuffix
lib:libKF5SonnetUi$secondaryArchSuffix
lib:libKF5SyntaxHighlighting$secondaryArchSuffix
lib:libKF5TextEditor$secondaryArchSuffix
lib:libKF5TextWidgets$secondaryArchSuffix
lib:libKF5UnitConversion$secondaryArchSuffix
@@ -63,7 +64,7 @@ REQUIRES="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix >= 5.77
extra_cmake_modules$secondaryArchSuffix >= 5.86
devel:libKF5Archive$secondaryArchSuffix
devel:libKF5Auth$secondaryArchSuffix
devel:libKF5Bookmarks$secondaryArchSuffix
@@ -88,6 +89,7 @@ BUILD_REQUIRES="
devel:libKF5Service$secondaryArchSuffix
devel:libKF5Solid$secondaryArchSuffix
devel:libKF5SonnetUi$secondaryArchSuffix
devel:libKF5SyntaxHighlighting$secondaryArchSuffix
devel:libKF5TextEditor$secondaryArchSuffix
devel:libKF5TextWidgets$secondaryArchSuffix
devel:libKF5UnitConversion$secondaryArchSuffix
@@ -109,11 +111,13 @@ BUILD()
{
# disable docs generation
sed -e '/add_subdirectory( doc )/ s/^#*/#/' -i CMakeLists.txt
sed -e '/kdoctools_install(po)/ s/^#*/#/' -i CMakeLists.txt
mkdir -p build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$appsDir/Kig \
-DCMAKE_INSTALL_DATADIR=$dataDir \
-DCMAKE_INSTALL_DATAROOTDIR=$dataDir \