summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui-apps/wayvnc/wayvnc-0.6.2.ebuild11
-rw-r--r--gui-apps/wayvnc/wayvnc-9999.ebuild11
2 files changed, 18 insertions, 4 deletions
diff --git a/gui-apps/wayvnc/wayvnc-0.6.2.ebuild b/gui-apps/wayvnc/wayvnc-0.6.2.ebuild
index ea2a54a18724..0b357ecd87a5 100644
--- a/gui-apps/wayvnc/wayvnc-0.6.2.ebuild
+++ b/gui-apps/wayvnc/wayvnc-0.6.2.ebuild
@@ -18,27 +18,34 @@ fi
LICENSE="ISC"
SLOT="0"
-IUSE="gbm tracing"
+IUSE="gbm pam test tracing"
RDEPEND="
=dev-libs/aml-0.3*
+ dev-libs/jansson:=
dev-libs/wayland
=gui-libs/neatvnc-0.6*[tracing?]
media-libs/mesa:=[egl(+),gles2,gbm(+)?]
x11-libs/libxkbcommon
x11-libs/pixman
+ pam? ( sys-libs/pam )
tracing? ( dev-util/systemtap )
"
DEPEND="${RDEPEND}"
BDEPEND="
- virtual/pkgconfig
+ app-text/scdoc
dev-libs/wayland-protocols
+ virtual/pkgconfig
"
+RESTRICT="!test? ( test )"
+
src_configure() {
local emesonargs=(
+ $(meson_feature pam)
$(meson_feature gbm screencopy-dmabuf)
$(meson_use tracing systemtap)
+ $(meson_use test tests)
)
meson_src_configure
}
diff --git a/gui-apps/wayvnc/wayvnc-9999.ebuild b/gui-apps/wayvnc/wayvnc-9999.ebuild
index ea2a54a18724..0b357ecd87a5 100644
--- a/gui-apps/wayvnc/wayvnc-9999.ebuild
+++ b/gui-apps/wayvnc/wayvnc-9999.ebuild
@@ -18,27 +18,34 @@ fi
LICENSE="ISC"
SLOT="0"
-IUSE="gbm tracing"
+IUSE="gbm pam test tracing"
RDEPEND="
=dev-libs/aml-0.3*
+ dev-libs/jansson:=
dev-libs/wayland
=gui-libs/neatvnc-0.6*[tracing?]
media-libs/mesa:=[egl(+),gles2,gbm(+)?]
x11-libs/libxkbcommon
x11-libs/pixman
+ pam? ( sys-libs/pam )
tracing? ( dev-util/systemtap )
"
DEPEND="${RDEPEND}"
BDEPEND="
- virtual/pkgconfig
+ app-text/scdoc
dev-libs/wayland-protocols
+ virtual/pkgconfig
"
+RESTRICT="!test? ( test )"
+
src_configure() {
local emesonargs=(
+ $(meson_feature pam)
$(meson_feature gbm screencopy-dmabuf)
$(meson_use tracing systemtap)
+ $(meson_use test tests)
)
meson_src_configure
}