mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
54 lines
1.6 KiB
Bash
54 lines
1.6 KiB
Bash
# $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
|
|
|
|
pkgname=freerdp
|
|
epoch=1
|
|
pkgver=2.0.0_rc1
|
|
#_commit=6001cb710dc67eb8811362b7bf383754257a902b
|
|
_pkgver=${pkgver/_/-}
|
|
_pkgver=${_pkgver/+/-}
|
|
pkgrel=1
|
|
pkgdesc="Free RDP client"
|
|
arch=('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')
|
|
provides=('libwinpr-tools2.so' 'libfreerdp-client2.so' 'libfreerdp2.so'
|
|
'libwinpr2.so')
|
|
#source=("FreeRDP-${_pkgver}::git://github.com/FreeRDP/FreeRDP.git#commit=${_commit}")
|
|
source=($pkgname-$pkgver.tar.gz::https://github.com/FreeRDP/FreeRDP/archive/${pkgver/_/-}.tar.gz)
|
|
sha256sums=('a2c1c83072489d56da78bbe76c29729022f5c35a3ec3a1ce26cea8823de043c2')
|
|
|
|
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
|
|
}
|