mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
kdevelop_pg_qt, new recipe (#10341)
This commit is contained in:
55
dev-util/kdevelop_pg_qt/kdevelop_pg_qt-2.2.2.recipe
Normal file
55
dev-util/kdevelop_pg_qt/kdevelop_pg_qt-2.2.2.recipe
Normal file
@@ -0,0 +1,55 @@
|
||||
SUMMARY="KDevelop Parser Generator, used in the PHP language plugin and others"
|
||||
DESCRIPTION="KDevelop-PG-Qt is a parser generator written in readable source-code and generating \
|
||||
readable source-code. Its syntax was inspirated by AntLR. It implements the visitor-pattern and \
|
||||
uses the Qt library. That is why it is ideal to be used in Qt-/KDE-based applications like \
|
||||
KDevelop."
|
||||
HOMEPAGE="https://invent.kde.org/kdevelop/kdevelop-pg-qt"
|
||||
COPYRIGHT="2010-2023 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/kdevelop-pg-qt/$portVersion/src/kdevelop-pg-qt-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="3d56604c479f8f04ae32a523ee91f3078c717117d0deb39e973e22494cbb65f1"
|
||||
SOURCE_DIR="kdevelop-pg-qt-$portVersion"
|
||||
PATCHES="kdevelop_pg_qt-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kdevelop_pg_qt$secondaryArchSuffix = $portVersion
|
||||
cmd:kdev_pg_qt$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
extra_cmake_modules$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -Bbuild -S. $cmakeDirArgs \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make -Cbuild $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -Cbuild install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make -Cbuild test
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
From a8791b2d79a01a8f5c556e2a73d0c49ffe41ce2b Mon Sep 17 00:00:00 2001
|
||||
From: Schrijvers Luc <begasus@gmail.com>
|
||||
Date: Sun, 24 Mar 2024 17:10:03 +0100
|
||||
Subject: Fix headers installation path
|
||||
|
||||
|
||||
diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt
|
||||
index b31ec42..99d68f9 100644
|
||||
--- a/include/CMakeLists.txt
|
||||
+++ b/include/CMakeLists.txt
|
||||
@@ -5,4 +5,4 @@ install( FILES
|
||||
kdev-pg-token-stream.h
|
||||
kdev-pg-list.h
|
||||
kdev-pg-char-sets.h
|
||||
- DESTINATION include/kdevelop-pg-qt )
|
||||
+ DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kdevelop-pg-qt )
|
||||
--
|
||||
2.43.2
|
||||
|
||||
Reference in New Issue
Block a user