49 lines
1.7 KiB
Bash
49 lines
1.7 KiB
Bash
# Template file for 'xpra'
|
|
pkgname=xpra
|
|
version=6.0.2
|
|
revision=1
|
|
build_style=python3-module
|
|
make_build_args="--without-cuda_kernels --without-cuda_rebuild
|
|
$(vopt_if docs "--with-docs")"
|
|
make_install_args="${make_build_args}"
|
|
hostmakedepends="pkg-config python3-setuptools 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
|
|
gtk+3-devel pam-devel libXres-devel liblz4-devel libavif-devel procps-ng-devel
|
|
xxHash-devel"
|
|
depends="python3-gobject python3-Pillow python3-lz4 xauth xf86-video-dummy
|
|
xorg-server-xvfb"
|
|
short_desc="Persistent remote display server and client for X11"
|
|
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=bd791c8f1315ee5a7bfc9e12e0520f0522ca43b0e59e3b9bd0664565ca75af65
|
|
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
|
|
|
|
system_groups="xpra"
|
|
|
|
build_options="docs"
|
|
desc_option_docs="Enable documentation"
|
|
|
|
case "$XBPS_MACHINE" in
|
|
x86_64*|i686*|ppc64le*|ppc64) build_options_default="docs" ;;
|
|
esac
|
|
|
|
post_install() {
|
|
vsed -e "s:${DESTDIR/\/\//\/}::" -i ${DESTDIR}/etc/xpra/conf.d/55_server_x11.conf
|
|
rm -rf ${DESTDIR}/etc/init.d
|
|
|
|
vmkdir usr/share/X11/xorg.conf.d
|
|
mv ${DESTDIR}/etc/X11/xorg.conf.d/* ${DESTDIR}/usr/share/X11/xorg.conf.d
|
|
|
|
vmkdir usr/share/dbus-1/system.d
|
|
mv ${DESTDIR}/etc/dbus-1/system.d/xpra.conf ${DESTDIR}/usr/share/dbus-1/system.d
|
|
|
|
vdoc "${FILESDIR}/README.voidlinux"
|
|
}
|