summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Saurel2020-04-30 17:03:05 +0200
committerGuilhem Saurel2020-04-30 17:03:05 +0200
commitb1195c28dcae15afea8a8a8afe172d38062a15a0 (patch)
treefbeb4b1412421b950b4d0251140916f96a491620
parent93e4715f06174276984d1916f8d64fe0785dd7b7 (diff)
downloadaur-b1195c28dcae15afea8a8a8afe172d38062a15a0.tar.gz
patch for /usr/lib/gepetto-gui-plugins
-rw-r--r--.SRCINFO4
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD14
3 files changed, 14 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dae62566023..0b66e1cbda6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gepetto-viewer
pkgdesc = Graphical Interface for Pinocchio and HPP.
pkgver = 4.9.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/gepetto/gepetto-viewer
arch = i686
arch = x86_64
@@ -16,9 +16,11 @@ pkgbase = gepetto-viewer
depends = boost
source = https://github.com/gepetto/gepetto-viewer/releases/download/v4.9.0/gepetto-viewer-4.9.0.tar.gz
source = https://github.com/gepetto/gepetto-viewer/releases/download/v4.9.0/gepetto-viewer-4.9.0.tar.gz.sig
+ source = https://github.com/gepetto/gepetto-viewer/commit/7558dda.patch
validpgpkeys = 9B1A79065D2F2B806C8A5A1C7D2ACDAF4653CF28
sha256sums = SKIP
sha256sums = SKIP
+ sha256sums = 2b2c888f4ae8107f7e630c918db956deed84283425290d2dcf39a4df796f040b
pkgname = gepetto-viewer
diff --git a/.gitignore b/.gitignore
index f907959cd9c..c1f028d6091 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
pkg
src
gepetto-viewer*
+*.patch
diff --git a/PKGBUILD b/PKGBUILD
index 35061e6e2fb..274f445f6cf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,20 +2,26 @@
pkgname=gepetto-viewer
pkgver=4.9.0
-pkgrel=1
+pkgrel=2
pkgdesc="Graphical Interface for Pinocchio and HPP."
arch=('i686' 'x86_64')
url="https://github.com/gepetto/$pkgname"
license=('BSD')
depends=('openscenegraph' 'urdfdom' 'openthreads' 'osgqt' 'boost')
makedepends=('cmake' 'boost' 'urdfdom')
-source=($url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz{,.sig})
-sha256sums=('SKIP' 'SKIP')
+source=($url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz{,.sig}
+ "$url/commit/7558dda.patch")
+sha256sums=('SKIP' 'SKIP' '2b2c888f4ae8107f7e630c918db956deed84283425290d2dcf39a4df796f040b')
validpgpkeys=('9B1A79065D2F2B806C8A5A1C7D2ACDAF4653CF28')
+prepare() {
+ cd "$pkgbase-$pkgver"
+ patch -p1 -i "$srcdir/7558dda.patch"
+}
+
build() {
cd "$pkgname-$pkgver"
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib .
+ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib .
make
}