From 7148d85bb8fd345815cda37979fa0ad6048a2409 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20Lallement?= <raphael.lallement@laas.fr>
Date: Tue, 14 Apr 2015 17:34:54 +0200
Subject: [PATCH] [wip/move3d-studio] Add an option to allow connection to HATP

---
 move3d-studio/Makefile | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/move3d-studio/Makefile b/move3d-studio/Makefile
index a2cd0aba..5e4e205b 100644
--- a/move3d-studio/Makefile
+++ b/move3d-studio/Makefile
@@ -9,7 +9,7 @@ PKGREVISION=		3
 
 CATEGORIES=		path
 MASTER_SITES=		${MASTER_SITE_OPENROBOTS:=move3d-studio/}
-MASTER_REPOSITORY=	git ssh://trac.laas.fr/git/robots/move3d-studio.git
+MASTER_REPOSITORY=	git git://trac.laas.fr/robots/move3d-studio.git
 
 MAINTAINER=		biomove3dgitrepo@laas.fr
 COMMENT=		The BioMove3D development studio
@@ -35,6 +35,16 @@ PKG_OPTION_UNSET.xforms= CMAKE_ARGS+= -DMOVE3D_XFORMS=OFF
 
 PKG_SUGGESTED_OPTIONS=	qtstudio
 
+## HATP connection option
+PKG_SUPPORTED_OPTIONS+= hatp_connection
+PKG_OPTION_DESCR.hatp_connection= Enable connection to HATP for intricate task and motion planning
+
+define PKG_OPTION_SET.hatp_connection
+  CMAKE_ARGS+= -DHATP_CONNECTION=ON
+  include ../../wip/msgconnector/depend.mk
+  include ../../devel/jsoncpp/depend.mk
+endef
+
 include ../../wip/libmove3d-hri/depend.mk
 include ../../wip/libmove3d-planners/depend.mk
 include ../../wip/libmove3d/depend.mk
-- 
GitLab