summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD20
2 files changed, 15 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 290df4f80ec..0661c9b09da 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,16 @@
pkgbase = ignition-rendering
pkgdesc = C++ library designed to provide an abstraction for different rendering engines. It offers unified APIs for creating 3D graphics applications.
pkgver = 4.1.0
- pkgrel = 2
+ pkgrel = 3
url = https://ignitionrobotics.org/libs/rendering
arch = x86_64
license = Apache
makedepends = cmake
depends = ignition-plugin
source = ignition-rendering-4.1.0.tar.gz::https://github.com/ignitionrobotics/ign-rendering/archive/ignition-rendering4_4.1.0.tar.gz
+ source = libname.patch::https://patch-diff.githubusercontent.com/raw/ignitionrobotics/ign-rendering/pull/193.patch
sha256sums = 465e858332d5b0e608888e9d62d08f779c7d99d0a51f2de7ba23ba640cdd4be4
+ sha256sums = SKIP
pkgname = ignition-rendering
diff --git a/PKGBUILD b/PKGBUILD
index 57d2356dc38..9bb8f0d6937 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ignition-rendering
pkgver=4.1.0
-pkgrel=2
+pkgrel=3
pkgdesc="C++ library designed to provide an abstraction for different rendering
engines. It offers unified APIs for creating 3D graphics applications."
arch=('x86_64')
@@ -10,29 +10,33 @@ url="https://ignitionrobotics.org/libs/rendering"
license=('Apache')
depends=('ignition-plugin')
makedepends=('cmake')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ignitionrobotics/ign-rendering/archive/${pkgname}4_${pkgver}.tar.gz")
-sha256sums=('465e858332d5b0e608888e9d62d08f779c7d99d0a51f2de7ba23ba640cdd4be4')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ignitionrobotics/ign-rendering/archive/${pkgname}4_${pkgver}.tar.gz"
+ "libname.patch::https://patch-diff.githubusercontent.com/raw/ignitionrobotics/ign-rendering/pull/193.patch")
+sha256sums=('465e858332d5b0e608888e9d62d08f779c7d99d0a51f2de7ba23ba640cdd4be4'
+ 'SKIP')
_dir="ign-rendering-${pkgname}4_${pkgver}"
+prepare() {
+ cd "$srcdir/$_dir"
+ patch --forward --strip=1 --input="${srcdir}/libname.patch"
+}
+
build() {
cd "$srcdir/$_dir"
mkdir -p build
cd build
- # Configure build
cmake .. -DCMAKE_BUILD_TYPE="Release" \
- -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" \
+ -DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_LIBDIR="lib" \
-DBUILD_TESTING=OFF
- # Compile
make
}
package() {
cd "$srcdir/$_dir/build"
- #make DESTDIR="$pkgdir/" install
- make install
+ make DESTDIR="$pkgdir/" install
}