summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Lass2017-04-05 11:33:33 +0200
committerMichael Lass2017-04-05 11:33:33 +0200
commit646f9148ed3703a6ceb8672a4ff18f931a75d592 (patch)
tree726d1d8f3eea221741773e9f5a5e1be8dd67a85e
parentd446a3bea9b79c38fad93ec733f9d6fe9c635b6b (diff)
downloadaur-646f9148ed3703a6ceb8672a4ff18f931a75d592.tar.gz
Add fix for QT under wayland
See https://github.com/michaellass/AUR/issues/5
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD5
-rw-r--r--fritzing.desktop.patch11
3 files changed, 19 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 250e61b612cc..fcf1febe3b3f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Jul 7 16:54:26 UTC 2016
+# Wed Apr 5 09:33:15 UTC 2017
pkgbase = fritzing
pkgdesc = PCB layout prototyping application
pkgver = 0.9.3b
- pkgrel = 3
+ pkgrel = 4
url = http://fritzing.org
arch = i686
arch = x86_64
@@ -19,10 +19,12 @@ pkgbase = fritzing
source = https://github.com/fritzing/fritzing-app/archive/0.9.3b.tar.gz
source = https://github.com/fritzing/fritzing-parts/archive/667a5360e53e8951e5ca6c952ae928f7077a9d5e.tar.gz
source = 0001-Squashed-commit-of-the-following.patch
+ source = fritzing.desktop.patch
source = fritzing.xml
sha256sums = 7d92579cf87bbde2325e641b674b6c340fd27ee28a8ffe4c03e527e9a4307d88
sha256sums = c6f9c5275a569e86c0cadb85844120e8f79ca79bea004b00916af78772969d76
sha256sums = e142b7443d03c644d06a4741dcc64eef7077a86b42b4461f10ee8b1f59e4775c
+ sha256sums = e48994c9d4191675ca8c53c64d99effc704bb10b67f253eb9f05b0c188805baa
sha256sums = 9aa55c4a27025b40a1573b3b09a59f48709dfa5ac637ef6a059fd8157d20192b
pkgname = fritzing
diff --git a/PKGBUILD b/PKGBUILD
index 36bbd7178608..cb2915375db1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=fritzing
pkgver=0.9.3b
-pkgrel=3
+pkgrel=4
partsrev=667a5360e53e8951e5ca6c952ae928f7077a9d5e
pkgdesc='PCB layout prototyping application'
arch=('i686' 'x86_64')
@@ -18,10 +18,12 @@ depends=('desktop-file-utils' 'java-environment' 'libgit2' 'python2' 'qt5-serial
source=(https://github.com/fritzing/fritzing-app/archive/${pkgver}.tar.gz
https://github.com/fritzing/fritzing-parts/archive/${partsrev}.tar.gz
0001-Squashed-commit-of-the-following.patch
+ fritzing.desktop.patch
fritzing.xml)
sha256sums=('7d92579cf87bbde2325e641b674b6c340fd27ee28a8ffe4c03e527e9a4307d88'
'c6f9c5275a569e86c0cadb85844120e8f79ca79bea004b00916af78772969d76'
'e142b7443d03c644d06a4741dcc64eef7077a86b42b4461f10ee8b1f59e4775c'
+ 'e48994c9d4191675ca8c53c64d99effc704bb10b67f253eb9f05b0c188805baa'
'9aa55c4a27025b40a1573b3b09a59f48709dfa5ac637ef6a059fd8157d20192b')
prepare() {
@@ -30,6 +32,7 @@ prepare() {
cd "$srcdir"/fritzing-app-${pkgver}
patch -p1 < "$srcdir"/0001-Squashed-commit-of-the-following.patch
+ patch -p0 < "$srcdir"/fritzing.desktop.patch
}
build() {
diff --git a/fritzing.desktop.patch b/fritzing.desktop.patch
new file mode 100644
index 000000000000..665a1e1be483
--- /dev/null
+++ b/fritzing.desktop.patch
@@ -0,0 +1,11 @@
+--- fritzing.desktop 2017-03-31 19:34:01.972828297 +0200
++++ fritzing.desktop.new 2017-03-31 19:33:46.542737274 +0200
+@@ -2,7 +2,7 @@
+ Name=Fritzing
+ GenericName=Fritzing
+ Comment=Electronic Design Automation software
+-Exec=Fritzing
++Exec=env QT_AUTO_SCREEN_SCALE_FACTOR=0 Fritzing
+ Icon=fritzing
+ Terminal=false
+ Type=Application