From 113111a572594a8ff9b6ed38e74b1fa661b250fd Mon Sep 17 00:00:00 2001 From: oreo639 Date: Sun, 25 Feb 2024 19:14:05 -0800 Subject: [PATCH] notes-up: build with libwebkit2gtk41 --- srcpkgs/notes-up/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/notes-up/template b/srcpkgs/notes-up/template index 943eca098fd..43e621cbdb6 100644 --- a/srcpkgs/notes-up/template +++ b/srcpkgs/notes-up/template @@ -1,10 +1,10 @@ # Template file for 'notes-up' pkgname=notes-up version=2.0.6 -revision=1 +revision=2 build_style=meson hostmakedepends="pkg-config vala gettext glib-devel" -makedepends="libgee08-devel discount-devel webkit2gtk-devel granite-devel +makedepends="libgee08-devel discount-devel libwebkit2gtk41-devel granite-devel gtksourceview4-devel gtkspell3-devel" depends="hicolor-icon-theme" short_desc="Markdown notes editor & manager" @@ -14,6 +14,11 @@ homepage="https://github.com/Philip-Scott/Notes-up" distfiles="https://github.com/Philip-Scott/Notes-up/archive/${version}.tar.gz" checksum=6e7b6ac4a3a917867a1555db0a6e03e40ccd9955b5d76e980a26fa8e40744f07 +post_patch() { + # Use webkit2gtk-4.1 + vsed -e "s/dependency('webkit2gtk-4.0'/dependency('webkit2gtk-4.1'/" -i meson.build +} + post_install() { ln -s com.github.philip_scott.notes-up ${DESTDIR}/usr/bin/notes-up vlicense data/assets/highlightjs/highlight.LICENSE