mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
KolourPaint: bump version
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
#/bin/sh
|
||||
|
||||
# Rebuilds the KService desktop file system configuration cache.
|
||||
# --global ignores any user-set files (in XDG_DATA_HOME).
|
||||
|
||||
kbuildsycoca5 --global || true
|
||||
kbuildsycoca5_x86 --global || true
|
||||
@@ -20,12 +20,9 @@ COPYRIGHT="2010-2019 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kolourpaint/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="0f66bb57e0045a9821636b899bf2d4970bd2c05afcb6f373bab1afd4bbc71686"
|
||||
ADDITIONAL_FILES="
|
||||
kolourpaint.rdef.in
|
||||
run_kbuildsycoca.sh
|
||||
"
|
||||
POST_INSTALL_SCRIPTS="$relativePostInstallDir/run_kbuildsycoca.sh"
|
||||
CHECKSUM_SHA256="5cf11a919d9dcc4642369740f76bf0faf50ee3fab627a45d992665c232780924"
|
||||
ADDITIONAL_FILES="kolourpaint.rdef.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
@@ -83,7 +80,7 @@ REQUIRES="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
extra_cmake_modules$secondaryArchSuffix >= 5.55
|
||||
extra_cmake_modules$secondaryArchSuffix >= 5.65
|
||||
devel:libkdeinit5_kded5$secondaryArchSuffix
|
||||
devel:libkdeinit5_klauncher$secondaryArchSuffix
|
||||
devel:libKF5Archive$secondaryArchSuffix
|
||||
@@ -121,12 +118,12 @@ BUILD_REQUIRES="
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
devel:libKF5WindowSystem$secondaryArchSuffix
|
||||
devel:libKF5XmlGui$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix >= 5.13
|
||||
devel:libQt5Core$secondaryArchSuffix >= 5.14
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:lrelease$secondaryArchSuffix
|
||||
cmd:lrelease$secondaryArchSuffix >= 5
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
@@ -139,13 +136,13 @@ BUILD()
|
||||
cd build
|
||||
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX=$prefix \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=$appsDir/KolourPaint \
|
||||
-DCMAKE_INSTALL_DATAROOTDIR=$dataDir \
|
||||
-DINCLUDE_INSTALL_DIR=$includeDir \
|
||||
-DSHARE_INSTALL_PREFIX=$dataDir \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=$appsDir/KolourPaint \
|
||||
-DCMAKE_INSTALL_DATAROOTDIR=$dataDir
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
@@ -157,9 +154,6 @@ INSTALL()
|
||||
mv $appsDir/KolourPaint/bin/kolourpaint $appsDir/KolourPaint/KolourPaint
|
||||
rm -rf $appsDir/KolourPaint/bin
|
||||
|
||||
mkdir -p $postInstallDir
|
||||
cp $portDir/additional-files/run_kbuildsycoca.sh $postInstallDir
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.qt5-kolourpaint"
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
Reference in New Issue
Block a user