2014-10-17 01:35:25 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
|
|
# Contributor: Stijn Segers <francesco dot borromini at gmail dot com>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - define WITH_NEON and ARM_FP_ABI to fix retard developer assumptions
|
|
|
|
|
|
|
|
pkgname=freerdp
|
2014-11-19 17:20:48 +00:00
|
|
|
pkgver=1.2.0_beta1+android9
|
2014-10-17 01:35:25 +00:00
|
|
|
_pkgver=${pkgver/_/-}
|
|
|
|
_pkgver=${_pkgver/+/-}
|
2015-02-25 15:36:34 +00:00
|
|
|
pkgrel=2
|
2014-10-17 01:35:25 +00:00
|
|
|
pkgdesc="Free RDP client"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://freerdp.sourceforge.net"
|
|
|
|
license=('GPL')
|
|
|
|
depends=('openssl' 'libxcursor' 'libcups' 'alsa-lib' 'libxext' 'libxdamage'
|
2015-02-25 15:36:34 +00:00
|
|
|
'ffmpeg' 'libxkbfile' 'libxinerama' 'libxv' 'libpulse' 'libxkbfile'
|
|
|
|
'libxrender' 'libxfixes' 'gst-plugins-base-libs')
|
|
|
|
makedepends=('krb5' 'cmake' 'damageproto' 'fixesproto' 'renderproto'
|
|
|
|
'xmlto' 'docbook-xsl')
|
2014-10-17 01:35:25 +00:00
|
|
|
conflicts=('freerdp-git')
|
|
|
|
source=($pkgname-$pkgver.tar.gz::https://github.com/FreeRDP/FreeRDP/archive/${pkgver/_/-}.tar.gz
|
2015-02-25 15:36:34 +00:00
|
|
|
build-fix.patch)
|
2014-11-19 17:20:48 +00:00
|
|
|
md5sums=('a4a0a4f6e69c871aeab0600091ca6118'
|
2015-02-25 15:36:34 +00:00
|
|
|
'9e9488538fe5ab74c25e2fb69e3edf62')
|
2014-10-17 01:35:25 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $srcdir/FreeRDP-${_pkgver}
|
2015-02-25 15:36:34 +00:00
|
|
|
patch -p1 <$srcdir/build-fix.patch
|
2014-10-17 01:35:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/FreeRDP-${_pkgver}
|
|
|
|
|
|
|
|
[[ $CARCH == "arm" ]] && ABI="soft"
|
|
|
|
[[ $CARCH == "armv6h" || $CARCH == "armv7h" ]] && ABI="hard"
|
|
|
|
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DWITH_PULSEAUDIO=ON \
|
2015-02-25 15:36:34 +00:00
|
|
|
-DWITH_CUPS=ON -DCHANNEL_PRINTER=ON \
|
2014-10-17 01:35:25 +00:00
|
|
|
-DWITH_NEON=OFF \
|
|
|
|
-DARM_FP_ABI=${ABI} \
|
|
|
|
.
|
2015-02-25 15:36:34 +00:00
|
|
|
make
|
2014-10-17 01:35:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $srcdir/FreeRDP-${_pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|