Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save RubenKelevra/d94ed4260342cd936801d8a4ef38f7f9 to your computer and use it in GitHub Desktop.
Save RubenKelevra/d94ed4260342cd936801d8a4ef38f7f9 to your computer and use it in GitHub Desktop.
From 1cc4b03fc2740bdad1debcffec10cb8141b40b94 Mon Sep 17 00:00:00 2001
From: RubenKelevra <[email protected]>
Date: Fri, 16 Sep 2016 11:16:53 +0200
Subject: [PATCH] revert commit which breaks multi-monitor-support
---
freerdp/trunk/PKGBUILD | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/freerdp/trunk/PKGBUILD b/freerdp/trunk/PKGBUILD
index c74ce1c..c3102aa 100644
--- a/freerdp/trunk/PKGBUILD
+++ b/freerdp/trunk/PKGBUILD
@@ -20,8 +20,10 @@ makedepends=('krb5' 'cmake' 'damageproto' 'fixesproto' 'renderproto'
'xmlto' 'docbook-xsl' 'git')
conflicts=('freerdp-git')
#source=($pkgname-$pkgver.tar.gz::https://github.com/FreeRDP/FreeRDP/archive/${pkgver/_/-}.tar.gz)
-source=("FreeRDP-${_pkgver}::git://github.com/FreeRDP/FreeRDP.git#commit=${_commit}")
-md5sums=('SKIP')
+source=("FreeRDP-${_pkgver}::git://github.com/FreeRDP/FreeRDP.git#commit=${_commit}"
+ 'https://gist.githubusercontent.com/RubenKelevra/e55301230267c8e260daf93b170333da/raw/dbdd70ff3892d4ec9e9e80b95616b93680125e68/0001-Revert-commit-which-destroyes-multi-monitor-support-.patch')
+sha256sums=('SKIP'
+ '4b8fe81de57aa646315cdb541ef82c8b4df2fa50db68323fbdfbd17be6490959')
build() {
cd $srcdir/FreeRDP-${_pkgver}
@@ -38,7 +40,13 @@ build() {
make
}
+prepare() {
+ cd $srcdir/FreeRDP-${_pkgver}
+
+ patch -p1 < "${srcdir}/0001-Revert-commit-which-destroyes-multi-monitor-support-.patch"
+}
+
package() {
- cd $srcdir/FreeRDP-${_pkgver}
+ cd $srcdir/FreeRDP-${_pkgver}
make DESTDIR="${pkgdir}" install
}
--
2.9.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment