aboutsummaryrefslogtreecommitdiffstats
path: root/package/gmpc
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-05-04 16:08:24 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-05-04 16:08:24 +0200
commit163a062727a7b81ab8e19776f28e780973524332 (patch)
tree951829424b8388a9b4dfb77d82000f0a3517401f /package/gmpc
parent6f8a717e8e558f9f2ba9ba6e53fcc2dfe81be539 (diff)
downloadbuildroot-novena-163a062727a7b81ab8e19776f28e780973524332.tar.gz
buildroot-novena-163a062727a7b81ab8e19776f28e780973524332.zip
package/: add gob2 for target/host and use for gmpc compilation
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gmpc')
-rw-r--r--package/gmpc/gmpc.mk12
1 files changed, 3 insertions, 9 deletions
diff --git a/package/gmpc/gmpc.mk b/package/gmpc/gmpc.mk
index 95795ddbe..7110d15bf 100644
--- a/package/gmpc/gmpc.mk
+++ b/package/gmpc/gmpc.mk
@@ -7,10 +7,11 @@ GMPC_VERSION = 0.17.0
GMPC_SOURCE = gmpc-$(GMPC_VERSION).tar.gz
GMPC_SITE = http://download.sarine.nl/download/Programs/gmpc/$(GMPC_VERSION)/
GMPC_LIBTOOL_PATCH = NO
-GMPC_CONF_ENV = ac_cv_lib_curl_curl_global_init=yes
+GMPC_CONF_ENV = ac_cv_lib_curl_curl_global_init=yes \
+ ac_cv_path_GOB2=$(GOB2_HOST_BINARY)
GMPC_CONF_OPT = --disable-mmkeys
-GMPC_DEPENDENCIES = libglib2 libgtk2 libglade libcurl libmpd
+GMPC_DEPENDENCIES = libglib2 libgtk2 libglade libcurl libmpd host-gob2
ifeq ($(BR2_PACKAGE_XLIB_LIBSM),y)
GMPC_DEPENENCIES += xlib_libSM
@@ -20,10 +21,3 @@ GMPC_CONF_OPT += --disable-sm
endif
$(eval $(call AUTOTARGETS,package,gmpc))
-
-# we NEED a host gob2
-ifeq ($(BR2_PACKAGE_GMPC),y)
-ifeq ($(wildcard $(shell which gob2 || echo /usr/bin/gob2)),)
-$(error Host gob2 not found. Please install GTK+ Object Builder package on your host (something like gob2))
-endif
-endif