mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
gcompris, bump version (#11411)
This commit is contained in:
@@ -17,7 +17,7 @@ COPYRIGHT="2014-2016 Bruno Coudoin
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/gcompris/qt/src/gcompris-qt-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="668726abc949c49e5348b55e8b1e7d7005584208432bb95424979f7f08f2256c"
|
||||
CHECKSUM_SHA256="c7ea1387436eecc9c29ca191daf9002c37251b9f79efabbff873dd7edb03b5c7"
|
||||
SOURCE_DIR="gcompris-qt-$portVersion"
|
||||
ADDITIONAL_FILES="gcompris.rdef.in"
|
||||
|
||||
@@ -69,14 +69,14 @@ BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:lrelease$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:msgattrib
|
||||
cmd:msgattrib$secondaryArchSuffix
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -S . -B build \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=$prefix \
|
||||
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release \
|
||||
$cmakeDirArgs \
|
||||
-DQML_BOX2D_LIBRARY=$dataDir/Qt5/qml/Box2D.2.0 \
|
||||
-DGRAPHICAL_RENDERER=software
|
||||
make -C build $jobArgs
|
||||
@@ -86,19 +86,16 @@ INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
|
||||
mkdir -p $appsDir
|
||||
mv $prefix/bin/gcompris-qt $appsDir/GCompris
|
||||
rm -r $prefix/bin
|
||||
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
sed \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
$portDir/additional-files/gcompris.rdef.in > gcompris.rdef
|
||||
|
||||
mkdir -p $appsDir
|
||||
mv $prefix/bin/gcompris-qt $appsDir/GCompris
|
||||
rm -r $prefix/bin
|
||||
|
||||
addResourcesToBinaries gcompris.rdef \
|
||||
$appsDir/GCompris
|
||||
|
||||
addResourcesToBinaries gcompris.rdef $appsDir/GCompris
|
||||
addAppDeskbarSymlink $appsDir/GCompris
|
||||
}
|
||||
Reference in New Issue
Block a user