d4ae39036b
Closes: #10689 [via git-merge-pr]
42 lines
1.4 KiB
Bash
42 lines
1.4 KiB
Bash
# Template file for 'freerdp'
|
|
pkgname=freerdp
|
|
version=2.0.0rc1
|
|
revision=1
|
|
wrksrc="FreeRDP-${version/r/-r}"
|
|
build_style=cmake
|
|
configure_args="-DWITH_JPEG=ON -DWITH_PULSE=ON -DWITH_XINERAMA=ON
|
|
-DWITH_XEXT=ON -DWITH_XCURSOR=ON -DWITH_XI=ON -DWITH_XRENDER=ON -DWITH_XV=ON
|
|
-DWITH_XKBFILE=ON -DWITH_FFMPEG=ON -DWITH_GSTREAMER_0_10=OFF -DWITH_GSTREAMER_1_0=OFF -DWITH_ALSA=ON
|
|
-DWITH_CUPS=OFF -DWITH_PCSC=OFF -DWITH_LIBSYSTEMD=OFF -DWITH_WAYLAND=OFF"
|
|
hostmakedepends="pkg-config xmlto"
|
|
makedepends="
|
|
alsa-lib-devel libjpeg-turbo-devel pulseaudio-devel libXinerama-devel
|
|
libXext-devel libXcursor-devel libXi-devel libXrandr-devel libXv-devel
|
|
libxkbfile-devel ffmpeg-devel glib-devel libressl-devel zlib-devel"
|
|
short_desc="Free RDP (Remote Desktop Protocol) client"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="Apache-2.0"
|
|
homepage="http://www.freerdp.com/"
|
|
distfiles="https://github.com/FreeRDP/FreeRDP/archive/${version/r/-r}.tar.gz"
|
|
checksum=a2c1c83072489d56da78bbe76c29729022f5c35a3ec3a1ce26cea8823de043c2
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686*|x86_64*) configure_args+=" -DWITH_SSE2=ON";;
|
|
esac
|
|
|
|
libfreerdp_package() {
|
|
replaces="${sourcepkg}<1.0.2_2"
|
|
short_desc+=" - runtime libraries"
|
|
pkg_install() {
|
|
vmove usr/lib/*.so.*
|
|
}
|
|
}
|
|
freerdp-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="lib${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|