community/freerdp to 2.0.0-1

This commit is contained in:
Kevin Mihelich 2020-04-10 00:38:00 +00:00
parent 3a7326ee50
commit 558a407449

View file

@ -7,28 +7,29 @@
_name=FreeRDP _name=FreeRDP
pkgname=freerdp pkgname=freerdp
epoch=1 epoch=2
pkgver=2.0.0_rc4 pkgver=2.0.0
pkgrel=8 pkgrel=1
pkgdesc="Free implementation of the Remote Desktop Protocol (RDP)" pkgdesc="Free implementation of the Remote Desktop Protocol (RDP)"
arch=('x86_64') arch=('x86_64')
url="http://www.freerdp.com/" url="https://www.freerdp.com/"
license=('Apache') license=('Apache')
depends=('dbus-glib' 'glib2' 'glibc' 'gsm' 'gstreamer' 'gst-plugins-base-libs' depends=('dbus-glib' 'glibc' 'gstreamer' 'gst-plugins-base-libs' 'libcups'
'lame' 'libcups' 'libjpeg-turbo' 'libgssglue' 'libsoxr' 'libusb' 'libxkbcommon' 'libjpeg-turbo' 'libgssglue' 'libx11' 'libxcursor' 'libxext' 'libxdamage'
'libxinerama' 'libxkbfile' 'libxrandr' 'mbedtls' 'openssl' 'pam' 'pcsclite' 'libxfixes' 'libxkbcommon' 'libxi' 'libxinerama' 'libxkbfile' 'libxrandr'
'wayland') 'libxrender' 'libxtst' 'mbedtls' 'openssl' 'pam' 'pcsclite' 'wayland')
makedepends=('alsa-lib' 'cmake' 'docbook-xsl' 'faac' 'faad2' 'ffmpeg' 'krb5' makedepends=('alsa-lib' 'cmake' 'docbook-xsl' 'ffmpeg' 'krb5' 'libpulse'
'libpulse' 'systemd-libs' 'xmlto' 'xorgproto') 'libusb' 'systemd-libs' 'xmlto' 'xorgproto')
provides=('libwinpr-tools2.so' 'libfreerdp-client2.so' 'libfreerdp2.so' provides=('libfreerdp2.so' 'libfreerdp-client2.so' 'libfreerdp-server2'
'libwinpr2.so') 'libfreerdp-shadow2.so' 'libfreerdp-shadow-subsystem2.so' 'libwinpr2.so'
source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver/_/-}.tar.gz" 'libwinpr-tools2.so' 'libuwac0.so')
source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz"
"$pkgname-2.0.0-manpage_formatting.patch") "$pkgname-2.0.0-manpage_formatting.patch")
sha512sums=('b4a4d4a58d09010bc45fb90cca148dc4421a4cf0cd5caf288aa702212ef081f14fc418b91f1b79ec8631f582c9ebcdd3031d3333b6a892adb29c402492abb649' sha512sums=('efdaa1b018e5166c0f2469663bdd0dc788de0577d0c0cb8b98048a535f8cb07de1078f86aaacc9445d42078d2e02fd7bc7f1ed700ca96032976f6bd84c68ee8f'
'd960e042d1527b5d5721136b6b20fc36f65beafd010581ea5b908668537fe9fe622de6689a29c0274b0d6f1e513615f0d02e56c1d1d1e613d093e145d39af8d7') 'd960e042d1527b5d5721136b6b20fc36f65beafd010581ea5b908668537fe9fe622de6689a29c0274b0d6f1e513615f0d02e56c1d1d1e613d093e145d39af8d7')
prepare() { prepare() {
mv -v "${_name}-${pkgver/_/-}" "${pkgname}-${pkgver}" mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
cd "${pkgname}-${pkgver}" cd "${pkgname}-${pkgver}"
# fix man page formatting: # fix man page formatting:
# https://bugs.archlinux.org/task/64814 # https://bugs.archlinux.org/task/64814
@ -43,32 +44,32 @@ build() {
cmake -DCMAKE_INSTALL_PREFIX=/usr \ cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBDIR=lib \
-DWITH_NEON=OFF \ -DWITH_NEON=OFF \
-DARM_FP_ABI=${ABI} \ -DARM_FP_ABI=${ABI} \
-DWITH_DSP_FFMPEG=ON \
-DWITH_FFMPEG=ON \
-DWITH_MBEDTLS=ON \ -DWITH_MBEDTLS=ON \
-DWITH_PULSE=ON \ -DWITH_PULSE=ON \
-DWITH_CUPS=ON \ -DWITH_CUPS=ON \
-DWITH_PCSC=ON \ -DWITH_PCSC=ON \
-DWITH_JPEG=ON \ -DWITH_JPEG=ON \
-DWITH_GSM=ON \
-DWITH_LAME=ON \
-DWITH_FAAD2=ON \
-DWITH_FAAC=ON \
-DWITH_SOXR=ON \
-DWITH_SERVER=ON \ -DWITH_SERVER=ON \
-DWITH_SWSCALE=ON \
-DWITH_CHANNELS=ON \ -DWITH_CHANNELS=ON \
-DWITH_CLIENT_CHANNELS=ON \ -DWITH_CLIENT_CHANNELS=ON \
-DWITH_SERVER_CHANNELS=ON \ -DWITH_SERVER_CHANNELS=ON \
-DCHANNEL_URBDRC_CLIENT=ON \ -DCHANNEL_URBDRC_CLIENT=ON \
-DPROXY_PLUGINDIR=/usr/lib/freerdp2/server/proxy/plugins \
-B build \ -B build \
-S . -S .
make VERBOSE=1 -C build make VERBOSE=1 -C build
} }
package() { package() {
depends+=('libasound.so' 'libavcodec.so' 'libavutil.so' 'libfaac.so' depends+=('libasound.so' 'libavcodec.so' 'libavutil.so' 'libpulse.so'
'libfaad.so' 'libpulse.so' 'libsystemd.so' 'libudev.so') 'libswscale.so' 'libswresample.so' 'libsystemd.so' 'libusb-1.0.so')
cd "${pkgname}-${pkgver}" cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install -C build make DESTDIR="${pkgdir}" install -C build
install -vDm 644 {ChangeLog,README} -t "${pkgdir}/usr/share/doc/${pkgname}" install -vDm 644 {ChangeLog,README.md} \
-t "${pkgdir}/usr/share/doc/${pkgname}"
} }