void-packages

Void Source Packages
git clone git://ezup.dev/void-packages.git
Log | Files | Refs | README | LICENSE

commit fdfa73d47300b9c2d275c02d359b7b4c0b2cd3f8
parent 162b1683599d744ae4f8652bae8b8efaef623c29
Author: Dash Eclipse <dash@ezup.dev>
Date:   Fri, 13 Nov 2020 18:59:08 +0000

New package: xrdp

Diffstat:
Asrcpkgs/xrdp/patches/dynamic-link.patch | 23+++++++++++++++++++++++
Asrcpkgs/xrdp/template | 24++++++++++++++++++++++++
2 files changed, 47 insertions(+), 0 deletions(-)

diff --git a/srcpkgs/xrdp/patches/dynamic-link.patch b/srcpkgs/xrdp/patches/dynamic-link.patch @@ -0,0 +1,23 @@ +https://git.alpinelinux.org/aports/tree/community/xrdp/dynamic-link.patch?id=bcfcede97160ee03c1b4484934edbd5de5ea9158 +diff --git a/xrdp/Makefile.am b/xrdp/Makefile.am +index a259ef3..0d8e66f 100644 +--- a/xrdp/Makefile.am ++++ b/xrdp/Makefile.am +@@ -23,7 +23,7 @@ endif + if XRDP_RFXCODEC + AM_CPPFLAGS += -DXRDP_RFXCODEC + AM_CPPFLAGS += -I$(top_srcdir)/librfxcodec/include +-XRDP_EXTRA_LIBS += $(top_builddir)/librfxcodec/src/.libs/librfxencode.a ++XRDP_EXTRA_LIBS += $(top_builddir)/librfxcodec/src/librfxencode.la + endif + + if XRDP_PIXMAN +@@ -35,7 +35,7 @@ endif + if XRDP_PAINTER + AM_CPPFLAGS += -DXRDP_PAINTER + AM_CPPFLAGS += -I$(top_srcdir)/libpainter/include +-XRDP_EXTRA_LIBS += $(top_builddir)/libpainter/src/.libs/libpainter.a ++XRDP_EXTRA_LIBS += $(top_builddir)/libpainter/src/libpainter.la + endif + + sbin_PROGRAMS = \ diff --git a/srcpkgs/xrdp/template b/srcpkgs/xrdp/template @@ -0,0 +1,24 @@ +# Template file for 'xrdp' +pkgname=xrdp +version=0.9.13.1 +revision=1 +archs="x86*" # cross compile for arm: lt-xrdp-keygen: cannot execute binary file: Exec format error +patch_args="-Np1" +build_style=gnu-configure +configure_args="--disable-static --enable-fuse --disable-pam --enable-tjpeg" +hostmakedepends="which autoconf automake libtool pkg-config git libjpeg-turbo-devel" +makedepends="libressl-devel libX11-devel libXfixes-devel libXrandr-devel fuse-devel libjpeg-turbo-devel linux-headers nasm" +short_desc="Open source RDP server" +maintainer="Dash Eclipse <dash@ezup.dev>" +license="Apache-2.0" +homepage="https://github.com/neutrinolabs/${pkgname}" +distfiles="${homepage}/releases/download/v${version}/xrdp-${version}.tar.gz" +checksum="e90a15404c060c378a91b3b51899415122e801863b8a00e4ea42a106b184108c" +tags="ezup" + +pre_configure() { + case "$XBPS_TARGET_MACHINE" in + x86) configure_args="configure_args --without-simd" ;; + esac + ./bootstrap +}