quickDocs: build with libwebkit2gtk41
This commit is contained in:
parent
3c64cd06a5
commit
37698cf95b
|
@ -1,13 +1,21 @@
|
|||
# Template file for 'quickDocs'
|
||||
pkgname=quickDocs
|
||||
version=2.2.6
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=meson
|
||||
hostmakedepends="vala pkg-config gettext"
|
||||
makedepends="libarchive-devel gtk+3-devel devhelp-devel webkit2gtk-devel libgee08-devel granite-devel"
|
||||
makedepends="libarchive-devel gtk+3-devel devhelp-devel libwebkit2gtk41-devel libgee08-devel granite-devel"
|
||||
short_desc="Fast developer docs reader"
|
||||
maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/mdh34/quickDocs"
|
||||
distfiles="https://github.com/mdh34/quickDocs/archive/${version}.tar.gz"
|
||||
checksum=a973b41cfbd2af088c53e7085208e215c49372e080f11385b339b43418ce771d
|
||||
|
||||
post_patch() {
|
||||
# Fix vapi for devhelp (uses libwebkit2gtk41)
|
||||
vsed -e 's/libsoup-2.4/libsoup-3.0/' -e 's/webkit2gtk-4.0/webkit2gtk-4.1/' -i vapi/libdevhelp-3.0.deps
|
||||
# Build with libwebkit2gtk41
|
||||
vsed -e 's/webkit2gtk-4.0/webkit2gtk-4.1/' -e 's/webkit2gtk-web-extension-4.0/webkit2gtk-web-extension-4.1/' -i src/Constants.vala
|
||||
vsed -e "s/dependency('webkit2gtk-4.0/dependency('webkit2gtk-4.1/" -i src/meson.build
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue