qownnotes: switch to botan3, migrate to cmake build

- use botan3 instead of botan2
- switch build style from qmake to cmake
- use qmake build helper for cross builds

Co-authored-by: Luca Matei Pintilie <luca@lucamatei.com>
This commit is contained in:
Komeil Parseh
2025-10-13 20:23:49 +07:00
committed by Đoàn Trần Công Danh
co-authored by Luca Matei Pintilie
parent 29bb24ad8f
commit d43aca86d8
+7 -6
View File
@@ -1,12 +1,13 @@
# Template file for 'qownnotes'
pkgname=qownnotes
version=25.3.3
version=25.8.3
revision=1
build_style=qmake
configure_args="USE_SYSTEM_BOTAN=1"
hostmakedepends="pkg-config qt6-base"
build_helper=qmake
build_style=cmake
configure_args="-DQON_QT6_BUILD=ON -DBUILD_WITH_LIBGIT2=1 -DBUILD_WITH_SYSTEM_BOTAN=1"
hostmakedepends="pkg-config qt6-base qt6-tools qt6-declarative-host-tools"
makedepends="botan-devel qt6-base-devel qt6-declarative-devel
qt6-qt5compat-devel qt6-svg-devel qt6-websockets-devel"
qt6-qt5compat-devel qt6-svg-devel qt6-websockets-devel libgit2-devel"
depends="qt6-plugin-sqlite qt6-svg"
short_desc="Plain-text file notepad and todo-list manager with markdown support"
maintainer="travankor <travankor@tuta.io>"
@@ -14,4 +15,4 @@ license="GPL-2.0-only"
homepage="https://www.qownnotes.org"
changelog="https://raw.githubusercontent.com/pbek/QOwnNotes/main/CHANGELOG.md"
distfiles="https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz"
checksum=c1a58538f5f12a009bd61d5d552cd70d543070ac8504a5ee030617bbade87cfa
checksum=22361e4604abecc64e39413bb4422d0a77b54b18da8ee2a7fff9b9e87295efa8