mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
kimageformats: bump version
This commit is contained in:
@@ -3,11 +3,11 @@ DESCRIPTION="This framework provides additional image format plugins for QtGui.
|
||||
As such it is not required for the compilation of any other software, but may \
|
||||
be a runtime requirement for Qt-based software to support certain image formats."
|
||||
HOMEPAGE="https://github.com/KDE/kimageformats/"
|
||||
COPYRIGHT="2010-2021 KDE Organisation"
|
||||
COPYRIGHT="2010-2022 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kimageformats/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="83c078457f24bd1dcfa2b8e9a7e4844d4c1e4a1b0e3f57b65328aba16c456cb9"
|
||||
CHECKSUM_SHA256="4445ba4f394169e183be6ffbf0acf428f90e86148c763eccbfd2c3e1b1eb6c07"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -36,10 +36,18 @@ BUILD_REQUIRES="
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:lrelease$secondaryArchSuffix >= 5
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
|
||||
sed -e '/find_package(libavif 0.8.2 CONFIG)/ s/^#*/#/' -i $sourceDir/CMakeLists.txt
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
@@ -50,6 +58,7 @@ BUILD()
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user