mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
net-misc/tigervnc: sync live ebuild
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
parent
4803c60e00
commit
016d2e0504
@ -6,7 +6,7 @@ EAPI=8
|
||||
CMAKE_IN_SOURCE_BUILD=1
|
||||
inherit autotools cmake eapi9-ver flag-o-matic java-pkg-opt-2 optfeature systemd xdg
|
||||
|
||||
XSERVER_VERSION="21.1.18"
|
||||
XSERVER_VERSION="21.1.20"
|
||||
XSERVER_PATCH_VERSION="21"
|
||||
|
||||
DESCRIPTION="Remote desktop viewer display system"
|
||||
@ -23,7 +23,7 @@ fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="dri3 +drm gnutls java nls +opengl +server test +viewer xinerama"
|
||||
IUSE="dri3 +drm gnutls java nls +opengl pwquality +server test +viewer wayland xinerama"
|
||||
REQUIRED_USE="
|
||||
dri3? ( drm )
|
||||
java? ( viewer )
|
||||
@ -38,7 +38,7 @@ COMMON_DEPEND="
|
||||
dev-libs/gmp:=
|
||||
dev-libs/nettle:=
|
||||
media-libs/libjpeg-turbo:=
|
||||
virtual/zlib:=
|
||||
virtual/zlib
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrandr
|
||||
@ -66,6 +66,15 @@ COMMON_DEPEND="
|
||||
x11-libs/libxshmfence
|
||||
)
|
||||
opengl? ( media-libs/libglvnd[X] )
|
||||
pwquality? ( dev-libs/libpwquality )
|
||||
wayland? (
|
||||
dev-libs/glib:2
|
||||
dev-libs/wayland
|
||||
dev-util/wayland-scanner
|
||||
media-video/pipewire:=
|
||||
sys-apps/util-linux
|
||||
x11-libs/libxkbcommon
|
||||
)
|
||||
!net-misc/turbovnc[server]
|
||||
)
|
||||
viewer? (
|
||||
@ -104,7 +113,7 @@ PATCHES=(
|
||||
# Restore Java viewer
|
||||
"${FILESDIR}"/${PN}-1.11.0-install-java-viewer.patch
|
||||
"${FILESDIR}"/${PN}-1.14.0-xsession-path.patch
|
||||
"${FILESDIR}"/${PN}-1.15.80-disable-server-and-pam.patch
|
||||
"${FILESDIR}"/${PN}-1.15.90-disable-server-and-pam.patch
|
||||
"${FILESDIR}"/${PN}-1.14.1-pam.patch
|
||||
)
|
||||
|
||||
@ -138,6 +147,11 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if ! use server; then
|
||||
use wayland && ewarn "USE=wayland is ignored when USE=server is not set"
|
||||
use pwquality && ewarn "USE=pwquality is ignored when USE=server is not set"
|
||||
fi
|
||||
|
||||
if use arm || use hppa; then
|
||||
append-flags "-fPIC"
|
||||
fi
|
||||
@ -145,6 +159,8 @@ src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_GNUTLS=$(usex gnutls)
|
||||
-DENABLE_NLS=$(usex nls)
|
||||
-DENABLE_WAYLAND=$(usex wayland)
|
||||
-DENABLE_PWQUALITY=$(usex pwquality)
|
||||
-DBUILD_JAVA=$(usex java)
|
||||
-DBUILD_SERVER=$(usex server)
|
||||
-DBUILD_VIEWER=$(usex viewer)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user