Skip to content
Snippets Groups Projects
Commit 6a24162a authored by Arnaud Degroote's avatar Arnaud Degroote
Browse files

[wip/certi] Add a gui option

In the no gui case, set FORCE_NO_X11, so the package does not try to
autodetect X11 stuff.
Must fix the build of bulk on fedora
parent ed7be85f
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@
COMMIT= HEAD
PKG_VERSION= 20130312
PKGREVISION= 1
DISTNAME= certi-${PKG_VERSION}
CATEGORIES= architecture
MASTER_SITES= :pserver:anonymous@cvs.savannah.nongnu.org:/sources/certi@${COMMIT}+certi
......@@ -14,6 +15,16 @@ HOMEPAGE= https://savannah.nongnu.org/projects/certi
COMMENT= An Open Source HLA RTI (High Level Architecture)
LICENSE= gnu-gpl-v2
PKG_SUPPORTED_OPTIONS+= gui
PKG_OPTION_DESCR.gui= Enable GUI support
define PKG_OPTION_SET.gui
CMAKE_ARGS+= -DFORCE_NO_X11=OFF
include ../../mk/sysdep/libX11.mk
endef
define PKG_OPTION_UNSET.gui
CMAKE_ARGS+= -DFORCE_NO_X11=ON
endef
include ../../mk/sysdep/cmake.mk
include ../../mk/language/c.mk
include ../../mk/language/c++.mk
......
......@@ -4,7 +4,7 @@ bin/CertiProcessus_A
bin/CertiProcessus_B
bin/MessageBufferTests
bin/MsgBufferTests
bin/billard
${PLIST.gui}bin/billard
bin/billard-nogui
bin/hlaomtdif2cpp.py
bin/rtia
......@@ -77,7 +77,7 @@ lib/libRTI1516.so
lib/libRTI1516.so.1
lib/libRTI1516.so.1.0.0
lib/libgraph-nogui.a
lib/libgraph.a
${PLIST.gui}lib/libgraph.a
share/doc/certi/favicon.ico
share/doc/certi/index.html
share/federations/Test.fed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment