summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoracxz2019-11-16 03:42:33 -0500
committerGitHub2019-11-16 03:42:33 -0500
commit8c9f8ffded6854470799ec1bdab0214286132b14 (patch)
tree5b2089d389c1150bc2df5ae3c190b2718e48c8c3
parent2c90f2fbbeaeb9a01197b3aa4661dece935ae276 (diff)
parent17734e1de846fffd518b0e303f71e85ffcaadf18 (diff)
downloadaur-8c9f8ffded6854470799ec1bdab0214286132b14.tar.gz
Merge pull request #3 from no-preserve-root/master
Use a patch for the revised Shiboken2Config.cmake
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD13
2 files changed, 13 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index efc85730b80a..f4b6d53fe1fd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ros-melodic-python-qt-binding
pkgdesc = ROS - This stack provides Python bindings for Qt.
pkgver = 0.3.6
- pkgrel = 1
+ pkgrel = 2
url = https://wiki.ros.org/python_qt_binding
arch = any
license = BSD
@@ -13,7 +13,9 @@ pkgbase = ros-melodic-python-qt-binding
makedepends = qt5-base
depends = python-pyqt5
source = ros-melodic-python-qt-binding-0.3.6.tar.gz::https://github.com/ros-visualization/python_qt_binding/archive/0.3.6.tar.gz
+ source = 69-shiboken-cmake.patch::https://github.com/ros-visualization/python_qt_binding/commit/274b1c775daa97ac040d01779d7bd89f5d4ee771.diff
sha256sums = b56b8b35f72b8543aab7903eb4e9d456991994a06032a08ba72ba627c6652e12
+ sha256sums = 0aff7f07a1cdb9b09bbf792c4d79e431c8f4a5ccdd2d5a34168dd0a81ad4beb7
pkgname = ros-melodic-python-qt-binding
diff --git a/PKGBUILD b/PKGBUILD
index b39340a92977..74ddc486ff26 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ url='https://wiki.ros.org/python_qt_binding'
pkgname='ros-melodic-python-qt-binding'
pkgver='0.3.6'
arch=('any')
-pkgrel=1
+pkgrel=2
license=('BSD')
ros_makedepends=(
@@ -31,8 +31,15 @@ depends=(
)
_dir="python_qt_binding-${pkgver}"
-source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/ros-visualization/python_qt_binding/archive/${pkgver}.tar.gz")
-sha256sums=('b56b8b35f72b8543aab7903eb4e9d456991994a06032a08ba72ba627c6652e12')
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/ros-visualization/python_qt_binding/archive/${pkgver}.tar.gz"
+ "69-shiboken-cmake.patch"::"https://github.com/ros-visualization/python_qt_binding/commit/274b1c775daa97ac040d01779d7bd89f5d4ee771.diff")
+sha256sums=('b56b8b35f72b8543aab7903eb4e9d456991994a06032a08ba72ba627c6652e12'
+ '0aff7f07a1cdb9b09bbf792c4d79e431c8f4a5ccdd2d5a34168dd0a81ad4beb7')
+
+prepare() {
+ cd ${srcdir}/${_dir}
+ patch -p1 < "../69-shiboken-cmake.patch"
+}
build() {
# Use ROS environment variables.