summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-11-10 13:30:45 +0000
committerSam James <sam@gentoo.org>2024-11-10 13:36:59 +0000
commitfba090b1e09fb0d8e99768adc3ddae911b6910cb (patch)
treeeec68b2f6d2e9553d148126efa4da31fc6b17f3c /sys-auth
parentapp-office/sc-im: add upstream patch for missing include (diff)
downloadgentoo-fba090b1e09fb0d8e99768adc3ddae911b6910cb.tar.gz
gentoo-fba090b1e09fb0d8e99768adc3ddae911b6910cb.tar.bz2
gentoo-fba090b1e09fb0d8e99768adc3ddae911b6910cb.zip
sys-auth/polkit: drop USE=duktape on 123 (always use duktape)
Avoid needing old spidermonkey which is masked on some profiles. Besides, SM support was dropped upstream in git anyway. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/polkit/polkit-123-r1.ebuild (renamed from sys-auth/polkit/polkit-123.ebuild)9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys-auth/polkit/polkit-123.ebuild b/sys-auth/polkit/polkit-123-r1.ebuild
index b693b926940d..c80be20754d2 100644
--- a/sys-auth/polkit/polkit-123.ebuild
+++ b/sys-auth/polkit/polkit-123-r1.ebuild
@@ -23,7 +23,7 @@ fi
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-IUSE="+daemon +duktape examples gtk +introspection kde pam selinux systemd test"
+IUSE="+daemon examples gtk +introspection kde pam selinux systemd test"
# https://gitlab.freedesktop.org/polkit/polkit/-/issues/181 for test restriction
RESTRICT="!test? ( test ) test"
@@ -57,10 +57,7 @@ BDEPEND="
DEPEND="
>=dev-libs/glib-2.32:2
dev-libs/expat
- daemon? (
- duktape? ( dev-lang/duktape:= )
- !duktape? ( dev-lang/spidermonkey:102[-debug] )
- )
+ daemon? ( dev-lang/duktape:= )
pam? (
sys-auth/pambase
sys-libs/pam
@@ -122,7 +119,7 @@ src_configure() {
-Dos_type=gentoo
-Dsession_tracking="$(usex systemd libsystemd-login libelogind)"
-Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"
- -Djs_engine=$(usex duktape duktape mozjs)
+ -Djs_engine=duktape
$(meson_use !daemon libs-only)
$(meson_use introspection)
$(meson_use test tests)