# $Id$ # Maintainer: Sergej Pupykin # Contributor: Stijn Segers # ALARM: Kevin Mihelich # - define WITH_NEON and ARM_FP_ABI pkgname=freerdp epoch=1 pkgver=1.2.0_20160107 _pkgver=${pkgver/_/-} _pkgver=${_pkgver/+/-} pkgrel=6 pkgdesc="Free RDP client" arch=('i686' 'x86_64') url="http://freerdp.sourceforge.net" license=('GPL') depends=('openssl' 'libxcursor' 'libcups' 'alsa-lib' 'libxext' 'libxdamage' 'ffmpeg' 'libxkbfile' 'libxinerama' 'libxv' 'libpulse' 'libxkbfile' 'libxrender' 'libxfixes' 'gst-plugins-base-libs') makedepends=('krb5' 'cmake' 'damageproto' 'fixesproto' 'renderproto' 'xmlto' 'docbook-xsl' 'git') conflicts=('freerdp-git') #source=($pkgname-$pkgver.tar.gz::https://github.com/FreeRDP/FreeRDP/archive/${pkgver/_/-}.tar.gz) source=(FreeRDP-${_pkgver}::git://github.com/FreeRDP/FreeRDP.git#commit=c3ce0c3b09bf10f388011e01bb4091e351af39e9) md5sums=('SKIP') 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_PULSE=ON \ -DWITH_CUPS=ON \ -DWITH_CHANNELS=ON \ -DWITH_CLIENT_CHANNELS=ON \ -DWITH_SERVER_CHANNELS=ON \ -DWITH_WAYLAND=ON \ -DWITH_NEON=OFF \ -DARM_FP_ABI=${ABI} \ . make } package() { cd $srcdir/FreeRDP-${_pkgver} make DESTDIR="${pkgdir}" install }