mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-07 07:28:57 +02:00
80 lines
2.3 KiB
Bash
80 lines
2.3 KiB
Bash
SUMMARY="Markdown viewer KPart"
|
|
DESCRIPTION="The Markdown Viewer KPart allows KParts-using software to display files in Markdown \
|
|
format in a rendered view.
|
|
Extends: Ark | Kate | KDevelop | Konqueror | Krusader"
|
|
HOMEPAGE="https://apps.kde.org/markdownpart/"
|
|
COPYRIGHT="2010-2024 KDE Organisation"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="2"
|
|
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/markdownpart-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="15b3341f723f969eed61c14e0eec57a5d7a8a931ac9018b06d1183311bf5ba30"
|
|
SOURCE_DIR="markdownpart-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
markdownpart24$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
# KF6
|
|
lib:libKF6I18n$secondaryArchSuffix
|
|
lib:libKF6Parts$secondaryArchSuffix
|
|
# Qt6
|
|
lib:libQt6Core$secondaryArchSuffix
|
|
lib:libQt6Gui$secondaryArchSuffix
|
|
lib:libQt6Widgets$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
# KF6
|
|
extra_cmake_modules$secondaryArchSuffix
|
|
devel:libKF6AuthCore$secondaryArchSuffix
|
|
devel:libKF6Bookmarks$secondaryArchSuffix
|
|
devel:libKF6Codecs$secondaryArchSuffix
|
|
devel:libKF6ColorScheme$secondaryArchSuffix
|
|
devel:libKF6Completion$secondaryArchSuffix
|
|
devel:libKF6ConfigCore$secondaryArchSuffix
|
|
devel:libKF6ConfigWidgets$secondaryArchSuffix
|
|
devel:libKF6CoreAddons$secondaryArchSuffix
|
|
devel:libKF6I18n$secondaryArchSuffix
|
|
devel:libKF6ItemViews$secondaryArchSuffix
|
|
devel:libKF6JobWidgets$secondaryArchSuffix
|
|
devel:libKF6KIOCore$secondaryArchSuffix
|
|
devel:libKF6Parts$secondaryArchSuffix
|
|
devel:libKF6Service$secondaryArchSuffix
|
|
devel:libKF6Solid$secondaryArchSuffix
|
|
devel:libKF6SonnetCore$secondaryArchSuffix
|
|
devel:libKF6TextWidgets$secondaryArchSuffix
|
|
devel:libKF6WidgetsAddons$secondaryArchSuffix
|
|
devel:libKF6WindowSystem$secondaryArchSuffix
|
|
devel:libKF6XmlGui$secondaryArchSuffix
|
|
# Qt6
|
|
devel:libQt6Core$secondaryArchSuffix
|
|
devel:libQt6Qml$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:msgfmt
|
|
cmd:msgmerge
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake -Bbuild -S. $cmakeDirArgs \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
|
|
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
|
make -C build $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make -C build install
|
|
}
|