diff options
author | svenschneider | 2014-09-21 21:58:21 +0200 |
---|---|---|
committer | svenschneider | 2014-09-21 21:58:21 +0200 |
commit | 26a5c12ebc5f21ca8b4b040127c9d9ac2961d2d8 (patch) | |
tree | 1b3919ebf5ae768e3c382e5f259273b62d818df7 | |
download | aur-26a5c12ebc5f21ca8b4b040127c9d9ac2961d2d8.tar.gz |
[omplapp] added
-rw-r--r-- | .SRCINFO | 31 | ||||
-rw-r--r-- | PKGBUILD | 57 | ||||
-rw-r--r-- | boost_1_56.patch | 12 |
3 files changed, 100 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b87718f1dbb3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,31 @@ +pkgbase = omplapp + pkgdesc = The Open Motion Planning Library (OMPL) consists of many state-of-the-art sampling-based motion planning algorithms + pkgver = 0.14.2 + pkgrel = 1 + url = http://ompl.kavrakilab.org/ + arch = i686 + arch = x86_64 + license = BSD + makedepends = cmake + depends = boost + depends = python + depends = pyqt + depends = python-opengl + depends = assimp + depends = pqp + depends = libccd + depends = fcl + provides = ompl + source = https://bitbucket.org/ompl/ompl/downloads/omplapp-0.14.2-Source.tar.gz + source = boost_1_56.patch + md5sums = c4cd3527630156f284b06d4a33690601 + md5sums = 8087bef2cfce7d95edee33ae85d3864f + sha256sums = 980baf8c8c0ba33d95cc04d7aa33d6a11bf8941dcc78811b51b5466543ca332a + sha256sums = 87da05e25991a663a619917b944c6f37623a70e4af700eeb4069a38623ed4558 + sha384sums = e6b5d5ee11410256e5665a05cd0839a1351e3c37a77b287775fe76c3a2a14e9059a40b161a1cd3a7cc77bc025c979156 + sha384sums = 080a77a1ee40a9e066ec4d11d53f83d1dce120f601bbb9f4d4324a817e62479a6b8037aa76040ffc6a83ce90fbfa927f + sha512sums = 9ab893f702f63e876f58c12558bd2c07194c5c627e981b3990063f8500f70a9fe833dd506f405bdb96bc874936cd3022bb865687a3b18eb3f8f0ddf16cc92747 + sha512sums = f02e23c6c825577cc8e40eaeab5d9c5420df7923b6d91dbc37244a6e2b149c4e76e4d3b102807e0bcc9777cfd9a6102e7137d46a6b8e131e14c72261b285889a + +pkgname = omplapp + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8690c8e48f5c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,57 @@ +# Maintainer: Sven Schneider <archlinux.sandmann@googlemail.com> + +pkgname=omplapp +pkgver=0.14.2 +pkgrel=1 +pkgdesc="The Open Motion Planning Library (OMPL) consists of many state-of-the-art sampling-based motion planning algorithms" +arch=('i686' 'x86_64') +url="http://ompl.kavrakilab.org/" +license=('BSD') +depends=('boost' 'python' 'pyqt' 'python-opengl' 'assimp' 'pqp' 'libccd' 'fcl') +makedepends=('cmake') +provides=(ompl) +source=(https://bitbucket.org/ompl/ompl/downloads/${pkgname}-${pkgver}-Source.tar.gz + boost_1_56.patch) +md5sums=('c4cd3527630156f284b06d4a33690601' + '8087bef2cfce7d95edee33ae85d3864f') +sha256sums=('980baf8c8c0ba33d95cc04d7aa33d6a11bf8941dcc78811b51b5466543ca332a' + '87da05e25991a663a619917b944c6f37623a70e4af700eeb4069a38623ed4558') +sha384sums=('e6b5d5ee11410256e5665a05cd0839a1351e3c37a77b287775fe76c3a2a14e9059a40b161a1cd3a7cc77bc025c979156' + '080a77a1ee40a9e066ec4d11d53f83d1dce120f601bbb9f4d4324a817e62479a6b8037aa76040ffc6a83ce90fbfa927f') +sha512sums=('9ab893f702f63e876f58c12558bd2c07194c5c627e981b3990063f8500f70a9fe833dd506f405bdb96bc874936cd3022bb865687a3b18eb3f8f0ddf16cc92747' + 'f02e23c6c825577cc8e40eaeab5d9c5420df7923b6d91dbc37244a6e2b149c4e76e4d3b102807e0bcc9777cfd9a6102e7137d46a6b8e131e14c72261b285889a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}-Source" + + patch -p 0 -d ompl < ${srcdir}/boost_1_56.patch + + # pkg-config provides <LIB>_INCLUDEDIR instead of <LIB>_INCLUDE_DIRS + sed 's/# Check for FCL and CCD installation, otherwise download them./set(CCD_INCLUDE_DIRS ${CCD_INCLUDEDIR})\nset(FCL_INCLUDE_DIRS ${FCL_INCLUDEDIR})/g' -i CMakeModules/UseFCL.cmake + + rm -rf build + mkdir build + cd build + + cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DOMPL_BUILD_PYBINDINGS=yes \ + -DPYTHON_EXEC=/usr/bin/python2 \ + -DOMPL_REGISTRATION=Off .. + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}-Source" + + cd build + #make test +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}-Source" + + cd build + make DESTDIR=${pkgdir} install +} + diff --git a/boost_1_56.patch b/boost_1_56.patch new file mode 100644 index 000000000000..764ef6605545 --- /dev/null +++ b/boost_1_56.patch @@ -0,0 +1,12 @@ +--- src/ompl/control/ODESolver.h
++++ src/ompl/control/ODESolver.h
+@@ -318,7 +318,9 @@ namespace ompl
+ {
+ ODESolver::ODEFunctor odefunc (ode_, control);
+
+- odeint::controlled_runge_kutta< Solver > solver (odeint::default_error_checker<double>(maxError_, maxEpsilonError_));
++ odeint::controlled_runge_kutta< Solver > solver (
++ odeint::default_error_checker<double,odeint::range_algebra,odeint::default_operations>(maxError_, maxEpsilonError_)
++ );
+ odeint::integrate_adaptive (solver, odefunc, state, 0.0, duration, intStep_);
+ }
\ No newline at end of file |