PKGBUILD 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # Maintainer (arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
  2. # Contributor: David Runge <dave@sleepmap.de>
  3. # Contributor: Stijn Segers <francesco dot borromini at gmail dot com>
  4. # Maintainer: Freemor <freemor@freemor.ca>
  5. # Rationale: Remove non-fre faac depend.
  6. _name=FreeRDP
  7. pkgname=freerdp
  8. epoch=1
  9. pkgver=2.0.0_rc4
  10. pkgrel=5
  11. pkgrel+=.parabola1
  12. pkgdesc="Free implementation of the Remote Desktop Protocol (RDP)"
  13. arch=('x86_64' 'i686' 'armv7h')
  14. url="http://www.freerdp.com/"
  15. license=('Apache')
  16. depends=('dbus-glib' 'faad2' 'ffmpeg' 'gst-plugins-base-libs' 'libcups'
  17. 'libgssglue' 'libxkbcommon' 'libxinerama' 'libxkbfile' 'libxrandr' 'mbedtls'
  18. 'pcsclite')
  19. makedepends=('cmake' 'docbook-xsl' 'krb5' 'xmlto' 'xorgproto')
  20. provides=('libwinpr-tools2.so' 'libfreerdp-client2.so' 'libfreerdp2.so'
  21. 'libwinpr2.so')
  22. source=($pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver/_/-}.tar.gz)
  23. sha256sums=('3406f3bfab63f81c1533029a5bf73949ff60f22f6e155c5a08005b8b8afe6d49')
  24. prepare() {
  25. mv -v "${_name}-${pkgver/_/-}" "${pkgname}-${pkgver}"
  26. cd "${pkgname}-${pkgver}"
  27. mkdir -pv build
  28. }
  29. build() {
  30. cd "${pkgname}-${pkgver}/build"
  31. cmake -DCMAKE_INSTALL_PREFIX=/usr \
  32. -DCMAKE_INSTALL_LIBDIR=lib \
  33. -DWITH_MBEDTLS=ON \
  34. -DWITH_PULSE=ON \
  35. -DWITH_CUPS=ON \
  36. -DWITH_PCSC=ON \
  37. -DWITH_JPEG=ON \
  38. -DWITH_GSM=ON \
  39. -DWITH_LAME=ON \
  40. -DWITH_FAAD2=ON \
  41. -DWITH_FAAC=OFF \
  42. -DWITH_SOXR=ON \
  43. -DWITH_GSSAPI=ON \
  44. -DWITH_SERVER=ON \
  45. ..
  46. # TODO: add, when openh264 is moved to community
  47. # -DWITH_OPENH264=ON \
  48. # TODO: not implemented in freerdp?
  49. # -DWITH_X264=ON \
  50. make VERBOSE=1
  51. }
  52. package() {
  53. cd "${pkgname}-${pkgver}/build"
  54. make DESTDIR="${pkgdir}" install
  55. }