summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2023-03-26 15:11:29 +0100
committerJames Le Cuirot <chewi@gentoo.org>2023-03-26 15:11:29 +0100
commitf0210172fbdcc2f5f3dfefba18c41e95f62e5646 (patch)
tree3b2cf575a85d6a39241d12db62ed22297b554daf /gui-apps
parentapp-xemacs/ebuild-mode: add 1.63 (diff)
downloadgentoo-f0210172fbdcc2f5f3dfefba18c41e95f62e5646.tar.gz
gentoo-f0210172fbdcc2f5f3dfefba18c41e95f62e5646.tar.bz2
gentoo-f0210172fbdcc2f5f3dfefba18c41e95f62e5646.zip
gui-apps/wayvnc: Various fixes
Closes: https://github.com/gentoo/gentoo/pull/29753 Signed-off-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca> Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'gui-apps')
-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
}