add qapplication patch

This commit is contained in:
acxz 2020-12-31 17:45:10 -05:00
parent 1af54cfafd
commit b8e8ed096e
2 changed files with 13 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = ignition-gui
pkgdesc = Builds on top of Qt to provide widgets which are useful when developing robotics applications, such as a 3D view, plots, dashboard, etc, and can be used together in a convenient unified interface.
pkgver = 4.1.0
pkgrel = 3
pkgrel = 4
url = https://ignitionrobotics.org/libs/gui
arch = x86_64
license = Apache
@ -17,7 +17,9 @@ pkgbase = ignition-gui
depends = ignition-msgs
depends = ignition-tools
source = ignition-gui-4.1.0.tar.gz::https://github.com/ignitionrobotics/ign-gui/archive/ignition-gui4_4.1.0.tar.gz
source = qapplication.patch::https://patch-diff.githubusercontent.com/raw/ignitionrobotics/ign-gui/pull/165.patch
sha256sums = 9811710faa0ff07c134f07f82cbc0020dcc44c62c4feb087250e25bece252a7b
sha256sums = SKIP
pkgname = ignition-gui

View file

@ -2,7 +2,7 @@
pkgname=ignition-gui
pkgver=4.1.0
pkgrel=3
pkgrel=4
pkgdesc="Builds on top of Qt to provide widgets which are useful when developing
robotics applications, such as a 3D view, plots, dashboard, etc, and can be used
together in a convenient unified interface."
@ -22,11 +22,18 @@ depends=(
ignition-tools
)
makedepends=('cmake')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ignitionrobotics/ign-gui/archive/${pkgname}4_${pkgver}.tar.gz")
sha256sums=('9811710faa0ff07c134f07f82cbc0020dcc44c62c4feb087250e25bece252a7b')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ignitionrobotics/ign-gui/archive/${pkgname}4_${pkgver}.tar.gz"
"qapplication.patch::https://patch-diff.githubusercontent.com/raw/ignitionrobotics/ign-gui/pull/165.patch")
sha256sums=('9811710faa0ff07c134f07f82cbc0020dcc44c62c4feb087250e25bece252a7b'
'SKIP')
_dir="ign-gui-${pkgname}4_${pkgver}"
prepare() {
cd "$srcdir/$_dir"
patch --forward --strip=1 --input="${srcdir}/qapplication.patch"
}
build() {
cd "$srcdir/$_dir"