[Lunar-commits] <moonbase> librest: make gnome support optional
Michael 'v4hn' Goerner
v4hn at lunar-linux.org
Mon Apr 30 11:24:47 CEST 2012
commit bd3ec33d247485fc1fa39b85907600bdf576570d
Author: Michael 'v4hn' Goerner <v4hn at lunar-linux.org>
Date: Mon Apr 30 10:58:44 2012 +0200
librest: make gnome support optional
---
zbeta/mutter-unstable/librest/BUILD | 5 +++++
zbeta/mutter-unstable/librest/CONFIGURE | 2 ++
2 files changed, 7 insertions(+)
diff --git a/zbeta/mutter-unstable/librest/BUILD b/zbeta/mutter-unstable/librest/BUILD
index cd9bf7c..71afdc7 100644
--- a/zbeta/mutter-unstable/librest/BUILD
+++ b/zbeta/mutter-unstable/librest/BUILD
@@ -1,4 +1,9 @@
(
+ if [ "$ENABLE_GNOME" == "y" ] && ( ( ! in_depends libsoup GConf ) || ( ! in_depends libsoup libgnome-keyring ) ); then
+ message "${PROBLEM_COLOR}gnome support requires libsoup to be build with gnome support."
+ message "${PROBLEM_COLOR}Please rebuild libsoup and select gnome support."
+ exit 1
+ fi
default_cvs_build
diff --git a/zbeta/mutter-unstable/librest/CONFIGURE b/zbeta/mutter-unstable/librest/CONFIGURE
new file mode 100644
index 0000000..0416e30
--- /dev/null
+++ b/zbeta/mutter-unstable/librest/CONFIGURE
@@ -0,0 +1,2 @@
+mquery ENABLE_GNOME "Build with gnome support(requires libsoup to be build with gnome support)?" n "" "--without-gnome"
+
More information about the Lunar-commits
mailing list