summaryrefslogtreecommitdiff
path: root/libre/freerdp
diff options
context:
space:
mode:
authorFreemor <freemor@freemor.ca>2019-06-12 13:24:10 -0300
committerFreemor <freemor@freemor.ca>2019-06-12 13:24:10 -0300
commitf7849cc681509fc330906862904cc7f496cacfef (patch)
treee03a62ba826dd660cb45691a39bae475acddb23f /libre/freerdp
parentc6ff55ecc424c6519a60c343e182aa17abd07175 (diff)
downloadabslibre-f7849cc681509fc330906862904cc7f496cacfef.tar.gz
abslibre-f7849cc681509fc330906862904cc7f496cacfef.tar.bz2
abslibre-f7849cc681509fc330906862904cc7f496cacfef.zip
Create [libre/freerdp] as upstream now depends on non-free faac
Diffstat (limited to 'libre/freerdp')
-rw-r--r--libre/freerdp/PKGBUILD60
1 files changed, 60 insertions, 0 deletions
diff --git a/libre/freerdp/PKGBUILD b/libre/freerdp/PKGBUILD
new file mode 100644
index 000000000..1c9094339
--- /dev/null
+++ b/libre/freerdp/PKGBUILD
@@ -0,0 +1,60 @@
+# Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: David Runge <dave@sleepmap.de>
+# Contributor: Stijn Segers <francesco dot borromini at gmail dot com>
+# Maintainer: Freemor <freemor@freemor.ca>
+
+# Rationale: Remove non-fre faac depend.
+
+_name=FreeRDP
+pkgname=freerdp
+epoch=1
+pkgver=2.0.0_rc4
+pkgrel=5
+pkgrel+=.parabola1
+pkgdesc="Free implementation of the Remote Desktop Protocol (RDP)"
+arch=('x86_64' 'i686' 'armv7h')
+url="http://www.freerdp.com/"
+license=('Apache')
+depends=('dbus-glib' 'faad2' 'ffmpeg' 'gst-plugins-base-libs' 'libcups'
+'libgssglue' 'libxkbcommon' 'libxinerama' 'libxkbfile' 'libxrandr' 'mbedtls'
+'pcsclite')
+makedepends=('cmake' 'docbook-xsl' 'krb5' 'xmlto' 'xorgproto')
+provides=('libwinpr-tools2.so' 'libfreerdp-client2.so' 'libfreerdp2.so'
+'libwinpr2.so')
+source=($pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver/_/-}.tar.gz)
+sha256sums=('3406f3bfab63f81c1533029a5bf73949ff60f22f6e155c5a08005b8b8afe6d49')
+
+prepare() {
+ mv -v "${_name}-${pkgver/_/-}" "${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
+ mkdir -pv build
+}
+
+build() {
+ cd "${pkgname}-${pkgver}/build"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DWITH_MBEDTLS=ON \
+ -DWITH_PULSE=ON \
+ -DWITH_CUPS=ON \
+ -DWITH_PCSC=ON \
+ -DWITH_JPEG=ON \
+ -DWITH_GSM=ON \
+ -DWITH_LAME=ON \
+ -DWITH_FAAD2=ON \
+ -DWITH_FAAC=OFF \
+ -DWITH_SOXR=ON \
+ -DWITH_GSSAPI=ON \
+ -DWITH_SERVER=ON \
+ ..
+# TODO: add, when openh264 is moved to community
+# -DWITH_OPENH264=ON \
+# TODO: not implemented in freerdp?
+# -DWITH_X264=ON \
+ make VERBOSE=1
+}
+
+package() {
+ cd "${pkgname}-${pkgver}/build"
+ make DESTDIR="${pkgdir}" install
+}