2014-10-17 01:35:25 +00:00
|
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
2019-06-11 23:21:50 +00:00
|
|
|
# Contributor: David Runge <dave@sleepmap.de>
|
2014-10-17 01:35:25 +00:00
|
|
|
# Contributor: Stijn Segers <francesco dot borromini at gmail dot com>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2016-01-07 13:36:51 +00:00
|
|
|
# - define WITH_NEON and ARM_FP_ABI
|
2014-10-17 01:35:25 +00:00
|
|
|
|
2019-06-11 23:21:50 +00:00
|
|
|
_name=FreeRDP
|
2014-10-17 01:35:25 +00:00
|
|
|
pkgname=freerdp
|
2015-03-03 20:30:10 +00:00
|
|
|
epoch=1
|
2018-11-20 20:15:40 +00:00
|
|
|
pkgver=2.0.0_rc4
|
2019-06-11 23:21:50 +00:00
|
|
|
pkgrel=5
|
|
|
|
pkgdesc="Free implementation of the Remote Desktop Protocol (RDP)"
|
2017-12-07 13:59:49 +00:00
|
|
|
arch=('x86_64')
|
2019-06-11 23:21:50 +00:00
|
|
|
url="http://www.freerdp.com/"
|
|
|
|
license=('Apache')
|
|
|
|
depends=('dbus-glib' 'faac' 'faad2' 'ffmpeg' 'gst-plugins-base-libs' 'libcups'
|
|
|
|
'libgssglue' 'libxkbcommon' 'libxinerama' 'libxkbfile' 'libxrandr' 'mbedtls'
|
|
|
|
'pcsclite')
|
|
|
|
makedepends=('cmake' 'docbook-xsl' 'krb5' 'xmlto' 'xorgproto')
|
2017-02-02 13:31:12 +00:00
|
|
|
provides=('libwinpr-tools2.so' 'libfreerdp-client2.so' 'libfreerdp2.so'
|
2019-06-11 23:21:50 +00:00
|
|
|
'libwinpr2.so')
|
|
|
|
source=($pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver/_/-}.tar.gz)
|
|
|
|
sha256sums=('3406f3bfab63f81c1533029a5bf73949ff60f22f6e155c5a08005b8b8afe6d49')
|
2018-03-16 12:16:38 +00:00
|
|
|
|
|
|
|
prepare() {
|
2019-06-11 23:21:50 +00:00
|
|
|
mv -v "${_name}-${pkgver/_/-}" "${pkgname}-${pkgver}"
|
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
mkdir -pv build
|
2018-03-16 12:16:38 +00:00
|
|
|
}
|
2014-10-17 01:35:25 +00:00
|
|
|
|
|
|
|
build() {
|
2019-06-11 23:21:50 +00:00
|
|
|
cd "${pkgname}-${pkgver}/build"
|
2014-10-17 01:35:25 +00:00
|
|
|
|
|
|
|
[[ $CARCH == "arm" ]] && ABI="soft"
|
|
|
|
[[ $CARCH == "armv6h" || $CARCH == "armv7h" ]] && ABI="hard"
|
|
|
|
|
2019-06-11 23:21:50 +00:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
2014-10-17 01:35:25 +00:00
|
|
|
-DWITH_NEON=OFF \
|
|
|
|
-DARM_FP_ABI=${ABI} \
|
2019-06-11 23:21:50 +00:00
|
|
|
-DWITH_MBEDTLS=ON \
|
|
|
|
-DWITH_PULSE=ON \
|
|
|
|
-DWITH_CUPS=ON \
|
|
|
|
-DWITH_PCSC=ON \
|
|
|
|
-DWITH_JPEG=ON \
|
|
|
|
-DWITH_GSM=ON \
|
|
|
|
-DWITH_LAME=ON \
|
|
|
|
-DWITH_FAAD2=ON \
|
|
|
|
-DWITH_FAAC=ON \
|
|
|
|
-DWITH_SOXR=ON \
|
|
|
|
-DWITH_GSSAPI=ON \
|
|
|
|
-DWITH_SERVER=ON \
|
|
|
|
..
|
|
|
|
# TODO: add, when openh264 is moved to community
|
|
|
|
# -DWITH_OPENH264=ON \
|
|
|
|
# TODO: not implemented in freerdp?
|
|
|
|
# -DWITH_X264=ON \
|
|
|
|
make VERBOSE=1
|
2014-10-17 01:35:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2019-06-11 23:21:50 +00:00
|
|
|
cd "${pkgname}-${pkgver}/build"
|
2014-10-17 01:35:25 +00:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|