PKGNAME=tigervnc
PKGSEC=net
PKGDEP="fltk-1.3 ffmpeg gcc-runtime glib glibc gmp gnutls libgcrypt \
        libjpeg-turbo libmd libpwquality libunwind libxau libxcvt \
        libxdmcp libxkbcommon linux-pam mesa nettle pipewire pixman \
        systemd util-linux-runtime wayland x11-app x11-lib xinit \
        xkeyboard-config zlib"
BUILDDEP="x11-font x11-app x11-proto cmake imagemagick nasm patchelf"
PKGDES="Suite of VNC servers and clients"

ABTYPE=cmakeninja
CMAKE_AFTER=(
    '-DINSTALL_SYSTEMD_UNITS=ON'
    '-DENABLE_NLS=ON'
    '-DENABLE_H264=ON'
    '-DBUILD_VIEWER=ON'
    '-DENABLE_GNUTLS=ON'
    '-DENABLE_NETTLE=ON'
    '-DENABLE_SELINUX=OFF'
    '-DENABLE_SYSTEMD=ON'
    '-DENABLE_PWQUALITY=ON'
    '-DENABLE_WAYLAND=ON'
)

# Note: Library built by CMake is needed for Xvnc
ABSHADOW=0
