T.J. Townsend pushed to branch main at Arch Linux / Packaging / Packages / 
tigervnc


Commits:
3f90315b by T.J. Townsend at 2025-07-29T10:06:01-04:00
upgpkg: 1.15.0-3: move java to optdepends

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = tigervnc
        pkgdesc = Suite of VNC servers and clients based on the VNC 4 branch of 
TightVNC
        pkgver = 1.15.0
-       pkgrel = 2
+       pkgrel = 3
        url = https://www.tigervnc.org
        arch = x86_64
        license = GPL-2.0-only
@@ -10,6 +10,7 @@ pkgbase = tigervnc
        makedepends = imagemagick
        makedepends = java-environment=8
        makedepends = nasm
+       makedepends = strip-nondeterminism
        makedepends = xorg-font-util
        makedepends = xorg-util-macros
        makedepends = xorgproto
@@ -22,7 +23,6 @@ pkgbase = tigervnc
        depends = gmp
        depends = gnutls
        depends = hicolor-icon-theme
-       depends = java-runtime=8
        depends = libgl
        depends = libjpeg-turbo
        depends = libunwind
@@ -50,6 +50,7 @@ pkgbase = tigervnc
        depends = xorg-xkbcomp
        depends = xorg-xsetroot
        depends = zlib
+       optdepends = java-runtime: for java-based client
        conflicts = tightvnc
        backup = etc/pam.d/tigervnc
        backup = etc/tigervnc/vncserver-config-defaults


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 
 pkgname=tigervnc
 pkgver=1.15.0
-pkgrel=2
+pkgrel=3
 _xorgver=21.1.15
 pkgdesc="Suite of VNC servers and clients based on the VNC 4 branch of 
TightVNC"
 arch=('x86_64')
@@ -18,7 +18,6 @@ depends=(
   'gmp'
   'gnutls'
   'hicolor-icon-theme'
-  'java-runtime=8'
   'libgl'
   'libjpeg-turbo'
   'libunwind'
@@ -53,11 +52,15 @@ makedepends=(
   'imagemagick'
   'java-environment=8'
   'nasm'
+  'strip-nondeterminism'
   'xorg-font-util'
   'xorg-util-macros'
   'xorgproto'
   'xtrans'
 )
+optdepends=(
+  'java-runtime: for java-based client'
+)
 conflicts=('tightvnc')
 backup=(
   etc/pam.d/tigervnc
@@ -145,4 +148,6 @@ package() {
   cd unix/xserver/hw/vnc
   make DESTDIR="$pkgdir" install
   install -Dm0755 "$srcdir"/Xsession "$pkgdir"/etc/X11/tigervnc/Xsession
+
+  strip-nondeterminism "$pkgdir"/usr/share/vnc/classes/VncViewer.jar
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/tigervnc/-/commit/3f90315b7ef5c2bb715eda200b1efd1f470bff87

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/tigervnc/-/commit/3f90315b7ef5c2bb715eda200b1efd1f470bff87
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to