mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
kjs: bump version
This commit is contained in:
@@ -3,11 +3,11 @@ DESCRIPTION="This library provides an ECMAScript compatible interpreter.
|
||||
The ECMA standard is based on well known scripting languages such as \
|
||||
Netscape's JavaScript and Microsoft's JScript."
|
||||
HOMEPAGE="https://github.com/KDE/kjs/"
|
||||
COPYRIGHT="2010-2021 KDE Organisation"
|
||||
COPYRIGHT="2010-2022 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kjs/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="031b685a246b3c8c6ae4868a46dce9003b346d1eb6a36238bac2ee4326ef6126"
|
||||
CHECKSUM_SHA256="29417af7228fbe49c4129c46080847d34cd8d220280512f8da182ce92177dede"
|
||||
PATCHES="kjs-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
@@ -42,24 +42,29 @@ BUILD_REQUIRES="
|
||||
extra_cmake_modules$secondaryArchSuffix >= $portVersion
|
||||
devel:libKF5DocTools$secondaryArchSuffix == $portVersion
|
||||
devel:libpcre$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:lrelease$secondaryArchSuffix >= 5
|
||||
cmd:make
|
||||
cmd:perl
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
PATCH()
|
||||
{
|
||||
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
|
||||
#disable docs generation
|
||||
sed -e '/add_subdirectory(docs)/ s/^#*/#/' -i CMakeLists.txt
|
||||
sed -e '/kdoctools_install(po)/ s/^#*/#/' -i CMakeLists.txt
|
||||
sed -e '/add_subdirectory(kjs5)/ s/^#*/#/' -i docs/CMakeLists.txt
|
||||
sed -e '/kdoctools_create_manpage/ s/^#*/#/' -i docs/kjs5/CMakeLists.txt
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
Reference in New Issue
Block a user