summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorNathan Loewen2021-03-15 13:39:55 -0500
committerNathan Loewen2021-03-15 13:40:31 -0500
commit0f1e4581b6c89781b8efacf24ef5387d9c295e04 (patch)
treef58b9fa6a0fe7ad5a12498a6697aec8a2e11d8d5 /PKGBUILD
parent701c0d4142a688bcb74154b94f8acc06304e2dbb (diff)
downloadaur-0f1e4581b6c89781b8efacf24ef5387d9c295e04.tar.gz
Syncronize changes from community/freerdp
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD92
1 files changed, 58 insertions, 34 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6ef2ec018f43..5ac81e0232b6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,54 +2,78 @@
# Contributor: Christian Hesse <mail@eworm.de>
# Contributor: Alexey Vasiliev <robbinton@gmail.com>
+# community/freerdp maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# community/freerdp contributor: David Runge <dvzrv@archlinux.org>
+# community/freerdp contributor: Stijn Segers <francesco dot borromini at gmail dot com>
+
pkgname=freerdp-git
-pkgdesc='Free RDP client - git checkout'
pkgver=2.0.0.r699.gd6ba9c1da
-pkgrel=1
-depends=('openssl' 'libxcursor' 'libcups' 'alsa-lib' 'libxext' 'libxdamage'
- 'ffmpeg' 'libxkbfile' 'libxinerama' 'libxv' 'openh264' 'fuse')
-makedepends=('git' 'krb5' 'cmake' 'xorgproto')
+pkgrel=2
+pkgdesc="Free implementation of the Remote Desktop Protocol (RDP) - git checkout"
arch=('i686' 'x86_64')
-url="http://www.freerdp.com/"
-license=('GPL')
-provides=('freerdp')
+url="https://www.freerdp.com/"
+license=('Apache')
+depends=('dbus-glib' 'fuse' 'glibc' 'gstreamer' 'gst-plugins-base-libs' 'libcups'
+'libgssglue' 'libx11' 'libxcursor' 'libxext' 'libxdamage' 'libxfixes'
+'libxkbcommon' 'libxi' 'libxinerama' 'libxkbfile' 'libxrandr' 'libxrender'
+'libxtst' 'openh264' 'openssl' 'pcsclite' 'wayland')
+makedepends=('alsa-lib' 'cmake' 'docbook-xsl' 'ffmpeg' 'krb5' 'libjpeg-turbo'
+'libpulse' 'libusb' 'pam' 'systemd-libs' 'xmlto' 'xorgproto')
+provides=('freerdp' 'libfreerdp3.so' 'libfreerdp-client3.so' 'libfreerdp-server3.so'
+'libfreerdp-shadow3.so' 'libfreerdp-shadow-subsystem3.so' 'libwinpr3.so'
+'libwinpr-tools3.so' 'libuwac0.so')
conflicts=('freerdp')
source=('freerdp::git://github.com/FreeRDP/FreeRDP.git')
sha256sums=('SKIP')
pkgver() {
- cd freerdp/
+ cd freerdp/
- if GITTAG="$(git describe --abbrev=0 --tags 2>/dev/null)"; then
- printf '%s.r%s.g%s' \
- "$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG})" \
- "$(git rev-list --count ${GITTAG}..)" \
- "$(git rev-parse --short HEAD)"
- else
- printf '0.r%s.g%s' \
- "$(git rev-list --count master)" \
- "$(git rev-parse --short HEAD)"
- fi
+ if GITTAG="$(git describe --abbrev=0 --tags 2>/dev/null)"; then
+ printf '%s.r%s.g%s' \
+ "$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG})" \
+ "$(git rev-list --count ${GITTAG}..)" \
+ "$(git rev-parse --short HEAD)"
+ else
+ printf '0.r%s.g%s' \
+ "$(git rev-list --count master)" \
+ "$(git rev-parse --short HEAD)"
+ fi
}
build() {
- cd freerdp/
-
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DWITH_PULSE=ON \
- -DWITH_SERVER=ON \
- -DWITH_OPENH264=ON \
- -DWITH_CUPS=ON \
- -DWITH_FUSE=ON \
- .
- make
+ cd freerdp/
+ cmake -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DCMAKE_INSTALL_LIBDIR='lib' \
+ -DCMAKE_BUILD_TYPE='None' \
+ -DPROXY_PLUGINDIR='/usr/lib/freerdp2/server/proxy/plugins' \
+ -DWITH_DSP_FFMPEG=ON \
+ -DWITH_FFMPEG=ON \
+ -DWITH_PULSE=ON \
+ -DWITH_CUPS=ON \
+ -DWITH_PCSC=ON \
+ -DWITH_JPEG=ON \
+ -DWITH_SERVER=ON \
+ -DWITH_SWSCALE=ON \
+ -DWITH_CHANNELS=ON \
+ -DWITH_CLIENT_CHANNELS=ON \
+ -DWITH_SERVER_CHANNELS=ON \
+ -DCHANNEL_URBDRC_CLIENT=ON \
+ -DWITH_OPENH264=ON \
+ -DWITH_FUSE=ON \
+ -Wno-dev \
+ -B build \
+ -S .
+ make -C build
}
package() {
- cd freerdp/
-
- make DESTDIR="${pkgdir}/" install
+ depends+=('libasound.so' 'libavcodec.so' 'libavutil.so' 'libjpeg.so' 'libpam.so'
+ 'libpulse.so' 'libswscale.so' 'libswresample.so' 'libsystemd.so'
+ 'libusb-1.0.so')
+ cd freerdp/
+ make DESTDIR="${pkgdir}" install -C build
+ install -vDm 644 {ChangeLog,README.md} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
}