[arch-commits] Commit in freerdp/repos (3 files)

Felix Yan felixonmars at gemini.archlinux.org
Mon Nov 22 01:52:54 UTC 2021


    Date: Monday, November 22, 2021 @ 01:52:54
  Author: felixonmars
Revision: 1054183

archrelease: copy trunk to community-staging-x86_64

Added:
  freerdp/repos/community-staging-x86_64/
  freerdp/repos/community-staging-x86_64/PKGBUILD
    (from rev 1054182, freerdp/trunk/PKGBUILD)
  freerdp/repos/community-staging-x86_64/freerdp-2.0.0-manpage_formatting.patch
    (from rev 1054182, freerdp/trunk/freerdp-2.0.0-manpage_formatting.patch)

----------------------------------------+
 PKGBUILD                               |   71 +++++++++++++++++++++++++++++++
 freerdp-2.0.0-manpage_formatting.patch |   12 +++++
 2 files changed, 83 insertions(+)

Copied: freerdp/repos/community-staging-x86_64/PKGBUILD (from rev 1054182, freerdp/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-11-22 01:52:54 UTC (rev 1054183)
@@ -0,0 +1,71 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: David Runge <dvzrv at archlinux.org>
+# Contributor: Stijn Segers <francesco dot borromini at gmail dot com>
+
+_name=FreeRDP
+pkgname=freerdp
+pkgver=2.4.1
+pkgrel=2
+epoch=2
+pkgdesc="Free implementation of the Remote Desktop Protocol (RDP)"
+arch=('x86_64')
+url="https://www.freerdp.com/"
+license=('Apache')
+depends=('dbus-glib' 'glibc' 'gstreamer' 'gst-plugins-base-libs' 'libcups'
+'libgssglue' 'libx11' 'libxcursor' 'libxext' 'libxdamage' 'libxfixes'
+'libxkbcommon' 'libxi' 'libxinerama' 'libxkbfile' 'libxrandr' 'libxrender'
+'libxtst' 'openssl' 'pcsclite' 'wayland')
+makedepends=('alsa-lib' 'cmake' 'docbook-xsl' 'ffmpeg' 'icu' 'krb5'
+'libjpeg-turbo' 'libpulse' 'libusb' 'pam' 'systemd-libs' 'xmlto' 'xorgproto')
+provides=('libfreerdp2.so' 'libfreerdp-client2.so' 'libfreerdp-server2'
+'libfreerdp-shadow2.so' 'libfreerdp-shadow-subsystem2.so' 'libwinpr2.so'
+'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")
+sha512sums=('a02c2fac8f90142b8b7a36e31a720c79d7947c32fc8d4ac1c976e4f01467b3d78c50b00974af1db6e3e61c2c81ac77c1ac9bf889d14e4be084afa18b634e28f0'
+            'd960e042d1527b5d5721136b6b20fc36f65beafd010581ea5b908668537fe9fe622de6689a29c0274b0d6f1e513615f0d02e56c1d1d1e613d093e145d39af8d7')
+b2sums=('19ceb0d7f6b141c9632e1b0ff05fa18772e80d24fb149542f6d365b709f13a8bdd4dee2d647b504f61c9ed4b5806442e8c4ec6f2a876578117fbeb7962b8771d'
+        '8242fe56ba9cf5352d836f656645a46142c1aecea3e8200203117a0cccc226135591c16fa0a24cfa196ade7b703832ff6871a948fd3bbbcc1d9c6df9885dc360')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  # fix man page formatting:
+  # https://bugs.archlinux.org/task/64814
+  patch -Np1 -i "../${pkgname}-2.0.0-manpage_formatting.patch"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  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_ICU=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 \
+        -Wno-dev \
+        -B build \
+        -S .
+  make VERBOSE=1 -C build
+}
+
+package() {
+  depends+=('libasound.so' 'libavcodec.so' 'libavutil.so' 'libicuuc.so'
+  'libjpeg.so' 'libpam.so' 'libpulse.so' 'libswscale.so' 'libswresample.so'
+  'libsystemd.so' 'libusb-1.0.so')
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install -C build
+  install -vDm 644 {ChangeLog,README.md} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Copied: freerdp/repos/community-staging-x86_64/freerdp-2.0.0-manpage_formatting.patch (from rev 1054182, freerdp/trunk/freerdp-2.0.0-manpage_formatting.patch)
===================================================================
--- community-staging-x86_64/freerdp-2.0.0-manpage_formatting.patch	                        (rev 0)
+++ community-staging-x86_64/freerdp-2.0.0-manpage_formatting.patch	2021-11-22 01:52:54 UTC (rev 1054183)
@@ -0,0 +1,12 @@
+diff -ruN a/cmake/FindDocBookXSL.cmake b/cmake/FindDocBookXSL.cmake
+--- a/cmake/FindDocBookXSL.cmake	2018-11-20 11:43:51.000000000 +0100
++++ b/cmake/FindDocBookXSL.cmake	2020-01-30 10:37:44.827482448 +0100
+@@ -30,7 +30,7 @@
+    set (STYLESHEET_PATH_LIST)
+    foreach (STYLESHEET_PREFIX_ITER ${CMAKE_SYSTEM_PREFIX_PATH})
+       file(GLOB STYLESHEET_SUFFIX_ITER RELATIVE ${STYLESHEET_PREFIX_ITER}
+-           ${STYLESHEET_PREFIX_ITER}/share/xml/docbook/xsl-stylesheets-*
++           ${STYLESHEET_PREFIX_ITER}/share/xml/docbook/xsl-stylesheets-*-nons
+       )
+       if (STYLESHEET_SUFFIX_ITER)
+          list (APPEND STYLESHEET_PATH_LIST ${STYLESHEET_SUFFIX_ITER})



More information about the arch-commits mailing list