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>
|
2016-01-07 13:36:51 +00:00
|
|
|
# - define WITH_NEON and ARM_FP_ABI
|
2014-10-17 01:35:25 +00:00
|
|
|
|
|
|
|
pkgname=freerdp
|
2015-03-03 20:30:10 +00:00
|
|
|
epoch=1
|
2016-01-07 13:36:51 +00:00
|
|
|
pkgver=1.2.0_20160107
|
2014-10-17 01:35:25 +00:00
|
|
|
_pkgver=${pkgver/_/-}
|
|
|
|
_pkgver=${_pkgver/+/-}
|
2015-03-02 22:27:15 +00:00
|
|
|
pkgrel=1
|
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'
|
2015-02-28 01:40:20 +00:00
|
|
|
'xmlto' 'docbook-xsl' 'git')
|
2014-10-17 01:35:25 +00:00
|
|
|
conflicts=('freerdp-git')
|
2016-01-07 13:36:51 +00:00
|
|
|
#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')
|
2014-10-17 01:35:25 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $srcdir/FreeRDP-${_pkgver}
|
2015-03-02 22:27:15 +00:00
|
|
|
patch -p1 <$srcdir/stuck_winkey.patch
|
2015-03-03 13:04:40 +00:00
|
|
|
patch -p1 <$srcdir/1b663ceffe51008af7ae9749e5b7999b2f7d6698.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 \
|
2015-02-26 14:11:50 +00:00
|
|
|
-DWITH_PULSE=ON \
|
|
|
|
-DWITH_CUPS=ON \
|
|
|
|
-DWITH_CHANNELS=ON \
|
|
|
|
-DWITH_CLIENT_CHANNELS=ON \
|
2015-02-28 01:40:20 +00:00
|
|
|
-DWITH_SERVER_CHANNELS=ON \
|
2016-01-07 13:36:51 +00:00
|
|
|
-DWITH_WAYLAND=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
|
|
|
|
}
|