2014-02-01 17:22:53 +01:00
|
|
|
# Template file for 'freerdp'
|
|
|
|
pkgname=freerdp
|
|
|
|
version=1.0.2
|
2015-07-21 09:48:36 +02:00
|
|
|
revision=9
|
2014-02-01 17:22:53 +01:00
|
|
|
wrksrc="FreeRDP-${version}"
|
|
|
|
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=OFF -DWITH_ALSA=ON
|
2014-11-02 19:13:30 +01:00
|
|
|
-DWITH_CUPS=OFF -DWITH_PCSC=OFF"
|
2014-02-01 17:22:53 +01:00
|
|
|
hostmakedepends="pkg-config cmake"
|
2014-07-15 18:16:09 +02:00
|
|
|
makedepends="
|
|
|
|
alsa-lib-devel libjpeg-turbo-devel pulseaudio-devel libXinerama-devel
|
2014-02-01 17:22:53 +01:00
|
|
|
libXext-devel libXcursor-devel libXi-devel libXrender-devel libXv-devel
|
2015-03-27 10:50:40 +01:00
|
|
|
libxkbfile-devel ffmpeg-devel libressl-devel zlib-devel"
|
2014-02-01 17:22:53 +01:00
|
|
|
short_desc="A Free RDP (Remote Desktop Protocol) client"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-02-01 17:22:53 +01:00
|
|
|
license="Apache-2.0"
|
2014-09-29 09:23:39 +02:00
|
|
|
homepage="http://www.freerdp.com/"
|
2014-02-01 17:22:53 +01:00
|
|
|
distfiles="https://github.com/FreeRDP/FreeRDP/archive/${version}.tar.gz"
|
|
|
|
checksum=c0f137df7ab6fb76d7e7d316ae4e0ca6caf356e5bc0b5dadbdfadea5db992df1
|
|
|
|
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
i686*|x86_64*) configure_args+=" -DWITH_SSE2=ON";;
|
|
|
|
esac
|
|
|
|
|
2014-04-03 09:58:56 +02:00
|
|
|
libfreerdp_package() {
|
2014-09-29 09:23:39 +02:00
|
|
|
replaces="${sourcepkg}<1.0.2_2"
|
2014-04-03 09:58:56 +02:00
|
|
|
short_desc+=" - runtime libraries"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/*.so.*
|
|
|
|
}
|
|
|
|
}
|
2014-02-01 17:22:53 +01:00
|
|
|
freerdp-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
2014-04-03 09:58:56 +02:00
|
|
|
depends="lib${sourcepkg}>=${version}_${revision}"
|
2014-02-01 17:22:53 +01:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|