Skip to content

Commit

Permalink
gui-apps/wayvnc: Various fixes
Browse files Browse the repository at this point in the history
Closes: gentoo#29753
Signed-off-by: Alex Xu (Hello71) <[email protected]>
Signed-off-by: James Le Cuirot <[email protected]>
  • Loading branch information
Hello71 authored and chewi committed Mar 26, 2023
1 parent 1764483 commit f021017
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
11 changes: 9 additions & 2 deletions gui-apps/wayvnc/wayvnc-0.6.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
11 changes: 9 additions & 2 deletions gui-apps/wayvnc/wayvnc-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit f021017

Please sign in to comment.