notes-up: build with libwebkit2gtk41

This commit is contained in:
oreo639 2024-02-25 19:14:05 -08:00
parent 82079665ee
commit 113111a572
1 changed files with 7 additions and 2 deletions

View File

@ -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