sys-auth/polkit 0.119: apply duktape patchset

https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/35

this should be re-fetched from the above MR when forward-porting to
updated polkit versions.
This commit is contained in:
William Light 2021-10-04 10:12:47 +00:00 committed by Mathieu Tortuyaux
parent db987cbb1d
commit 03a4f3ce8a
2 changed files with 1601 additions and 1 deletions

View File

@ -32,7 +32,7 @@ BDEPEND="
introspection? ( dev-libs/gobject-introspection )
"
DEPEND="
dev-lang/spidermonkey:78[-debug]
dev-lang/duktape
dev-libs/glib:2
dev-libs/expat
elogind? ( sys-auth/elogind )
@ -59,6 +59,9 @@ DOCS=( docs/TODO HACKING NEWS README )
PATCHES=(
"${FILESDIR}"/${PN}-0.115-elogind.patch # bug 660880
# from https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/35
"${FILESDIR}"/35_WIP_Add_duktape_as_javascript_engine.patch
)
QA_MULTILIB_PATHS="
@ -92,6 +95,7 @@ src_configure() {
--enable-man-pages
--disable-gtk-doc
--disable-examples
--with-duktape
$(use_enable elogind libelogind)
$(use_enable introspection)
$(use_enable nls)