From c009c0a0eae266dfef6769806d2ffde2f665eb27 Mon Sep 17 00:00:00 2001 From: cinerea0 Date: Sat, 4 May 2024 14:44:03 -0400 Subject: [PATCH] qownnotes: update to 24.5.0 --- srcpkgs/qownnotes/template | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/srcpkgs/qownnotes/template b/srcpkgs/qownnotes/template index 176d7a6b590a54..eeaa5b7bdeab0f 100644 --- a/srcpkgs/qownnotes/template +++ b/srcpkgs/qownnotes/template @@ -1,10 +1,11 @@ # Template file for 'qownnotes' pkgname=qownnotes -version=24.4.2 +version=24.5.0 revision=1 build_style=qmake +build_helper=qemu configure_args="USE_SYSTEM_BOTAN=1" -hostmakedepends="pkg-config qt6-base" +hostmakedepends="pkg-config qt6-base xvfb-run" makedepends="botan-devel qt6-base-devel qt6-declarative-devel qt6-qt5compat-devel qt6-svg-devel qt6-websockets-devel" depends="qt6-plugin-sqlite qt6-svg" @@ -14,4 +15,11 @@ 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=1e75b121c3b2ed37ba43961f65886f213a5fb20790c3c4edfcdafefb0729c445 +checksum=aa21d6f1bcf4ca95faaba28ca19d1cc9a94b48925a204162c081e04a33bc2faa + +post_install() { + for shell in bash fish; do + vtargetrun xvfb-run ${DESTDIR}/usr/bin/QOwnNotes --completion ${shell} > QOwnNotes.${shell} + vcompletion QOwnNotes.${shell} ${shell} + done +}