[arch-commits] Commit in qt5-location/trunk (PKGBUILD fix-opengl-detection.patch)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Mar 16 22:06:54 UTC 2022
Date: Wednesday, March 16, 2022 @ 22:06:54
Author: arojas
Revision: 439818
Fix qmake opengl detection (FS#74124)
Added:
qt5-location/trunk/fix-opengl-detection.patch
Modified:
qt5-location/trunk/PKGBUILD
----------------------------+
PKGBUILD | 10 +++++++---
fix-opengl-detection.patch | 13 +++++++++++++
2 files changed, 20 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-16 20:23:43 UTC (rev 439817)
+++ PKGBUILD 2022-03-16 22:06:54 UTC (rev 439818)
@@ -4,7 +4,7 @@
pkgname=qt5-location
_basever=5.15.3
pkgver=5.15.3+kde+r0
-pkgrel=1
+pkgrel=2
_commit=1bf01b84e30aab2b87a19184ce42160e6c92d8b1
arch=('x86_64')
url='https://www.qt.io'
@@ -14,8 +14,10 @@
makedepends=('git')
groups=('qt' 'qt5')
_pkgfqn=${pkgname/5-/}
-source=(git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit)
-sha256sums=('SKIP')
+source=(git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit
+ fix-opengl-detection.patch)
+sha256sums=('SKIP'
+ '84954d1bd528852d5cb60a5618bc2f9d34da0f459cde7d54b319b88fa9a4c11c')
options=(debug)
pkgver() {
@@ -25,6 +27,8 @@
prepare() {
mkdir -p build
+
+ patch -d $_pkgfqn -p1 < fix-opengl-detection.patch
}
build() {
Added: fix-opengl-detection.patch
===================================================================
--- fix-opengl-detection.patch (rev 0)
+++ fix-opengl-detection.patch 2022-03-16 22:06:54 UTC (rev 439818)
@@ -0,0 +1,13 @@
+diff --git a/src/location/configure.json b/src/location/configure.json
+index 6d01a9a3..d1e623a1 100644
+--- a/src/location/configure.json
++++ b/src/location/configure.json
+@@ -9,7 +9,7 @@
+ "label": "Qt.labs.location experimental QML plugin",
+ "purpose": "Provides experimental QtLocation QML types",
+ "section": "Location",
+- "condition": "config.opengl",
++ "condition": "features.opengl",
+ "output": [ "privateFeature" ]
+ },
+ "geoservices_osm": {
More information about the arch-commits
mailing list