Skip to content

Commit

Permalink
xpra: update to 5.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
ahesford committed Aug 30, 2023
1 parent 885dfe0 commit 876a445
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
13 changes: 1 addition & 12 deletions srcpkgs/xpra/patches/setup.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
Make sure the build script pulls the right CFLAGS and prevent -Werror. In
addition, remove a stray CUDA README that is only supposed to installed when
CUDA is actually available.
Make sure the build script pulls the right CFLAGS and prevent -Werror.

--- a/setup.py
+++ b/setup.py
Expand Down Expand Up @@ -31,12 +29,3 @@ CUDA is actually available.
if NETBSD:
#see: http://trac.cython.org/ticket/395
addcflags("-fno-strict-aliasing")
@@ -2252,8 +2252,6 @@
if nvjpeg_encoder_ENABLED or nvjpeg_decoder_ENABLED:
add_data_files("", glob.glob(f"{CUDA_BIN_DIR}/nvjpeg64*dll"))

-add_data_files(CUDA_BIN, ["fs/share/xpra/cuda/README.md"])
-
tace(nvenc_ENABLED, "xpra.codecs.nvenc.encoder", "nvenc",
extra_compile_args="-Wno-error=sign-compare" if get_gcc_version()<(8, ) else None)

8 changes: 4 additions & 4 deletions srcpkgs/xpra/template
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# Template file for 'xpra'
pkgname=xpra
version=4.4.6
version=5.0
revision=1
build_style=python3-module
make_build_args="--without-cuda_kernels --without-cuda_rebuild"
make_install_args="$(vopt_with docs) ${make_build_args}"
hostmakedepends="pkg-config python3-Cython $(vopt_if docs pandoc)"
makedepends="ffmpeg-devel libXcomposite-devel libXrandr-devel libXtst-devel
libvpx-devel libwebp-devel libxkbfile-devel python3-gobject-devel x264-devel
x265-devel gtk+3-devel pam-devel libXres-devel liblz4-devel"
gtk+3-devel pam-devel libXres-devel liblz4-devel libavif-devel procps-ng-devel"
depends="cups python3-gobject python3-Pillow python3-cups python3-dbus
python3-lz4 python3-paramiko python3-rencode xauth xf86-video-dummy
xorg-server-xvfb"
xorg-server-xvfb python3-typing_extensions python3-cairo"
short_desc="Persistent remote display server and client for X11 clients"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="GPL-2.0-or-later"
homepage="https://xpra.org/"
changelog="https://raw.githubusercontent.com/Xpra-org/xpra/master/docs/CHANGELOG.md"
distfiles="https://github.com/Xpra-org/xpra/archive/v${version}.tar.gz"
checksum=7fec998cf9816df3f0fa5ded01903b07211b0c36a7316c9e9bf6db8b80fb477a
checksum=69bf2da133a6ee28ad4e3a849f997b32e5bab4f4b616ff5acd0811e8ac9e4c14
conf_files="/etc/xpra/xpra.conf /etc/xpra/xorg.conf /etc/xpra/conf.d/*"
# Tests don't run properly without package installed
make_check=no
Expand Down

0 comments on commit 876a445

Please sign in to comment.