mako: find scdoc in build system
This commit is contained in:
parent
c93c60d17d
commit
b07214b837
13
srcpkgs/mako/patches/scdoc-native.patch
Normal file
13
srcpkgs/mako/patches/scdoc-native.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: mako-1.6/meson.build
|
||||
===================================================================
|
||||
--- mako-1.6.orig/meson.build
|
||||
+++ mako-1.6/meson.build
|
||||
@@ -130,7 +130,7 @@ configure_file(
|
||||
install_dir: datadir + '/dbus-1/services',
|
||||
)
|
||||
|
||||
-scdoc = dependency('scdoc', required: get_option('man-pages'), version: '>= 1.9.7')
|
||||
+scdoc = dependency('scdoc', required: get_option('man-pages'), version: '>= 1.9.7', native: true)
|
||||
|
||||
if scdoc.found()
|
||||
sh = find_program('sh')
|
||||
@ -7,7 +7,7 @@ configure_args="-Dicons=enabled -Dman-pages=enabled -Dzsh-completions=true
|
||||
-Dfish-completions=true -Dwerror=false"
|
||||
hostmakedepends="pkg-config scdoc wayland-devel wayland-protocols"
|
||||
makedepends="wayland-devel wayland-protocols pango-devel cairo-devel
|
||||
basu-devel gdk-pixbuf-devel scdoc"
|
||||
basu-devel gdk-pixbuf-devel"
|
||||
short_desc="Lightweight Wayland notification daemon"
|
||||
maintainer="Emerson Ferreira <me@skrps.me>"
|
||||
license="MIT"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user