[gnome-video-arcade] Add a dependency on libsoup.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-video-arcade] Add a dependency on libsoup.
- Date: Thu, 23 Jun 2011 00:10:05 +0000 (UTC)
commit fc90148d0de6be3e98e970b8d50584e9343e39f4
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Jun 3 21:17:36 2011 -0500
Add a dependency on libsoup.
We'll use libsoup to download images off the web.
README | 9 +++++++++
configure.ac | 5 +++++
docs/reference/Makefile.am | 2 ++
src/Makefile.am | 6 +++---
4 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/README b/README
index aafeb38..266a079 100644
--- a/README
+++ b/README
@@ -58,6 +58,15 @@ installed prior to compiling the source code:
should be something similar to sqlite-devel (Fedora) or
libsqlite3-dev (Debian/Ubuntu).
+ - Header files for libsoup version 2.4 (or higher).
+
+ GNOME Video Arcade uses libsoup to download arcade-related images
+ off the web for use in the Properties window. The libsoup header
+ files should be available from your GNU/Linux distribution as a
+ "development" package. The exact package name varies by
+ distribution, but it should be something similar to libsoup-devel
+ (Fedora) or libsoup2.4-dev (Debian/Ubuntu).
+
- Header files and base plugins for GStreamer. (optional)
The GStreamer header files should be available from your
diff --git a/configure.ac b/configure.ac
index 414d0f1..01868d1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,6 +38,11 @@ PKG_CHECK_MODULES(GIT, $GIT_MODULES)
AC_SUBST(GIT_CFLAGS)
AC_SUBST(GIT_LIBS)
+SOUP_MODULES="libsoup-2.4 >= 2.4.0"
+PKG_CHECK_MODULES(SOUP, $SOUP_MODULES)
+AC_SUBST(SOUP_CFLAGS)
+AC_SUBST(SOUP_LIBS)
+
SQLITE_MODULES="sqlite3 >= 3.0.0"
PKG_CHECK_MODULES(SQLITE, $SQLITE_MODULES)
AC_SUBST(SQLITE_CFLAGS)
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index a3fd3f9..1d22e76 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -78,6 +78,7 @@ INCLUDES= \
$(GTK_CFLAGS) \
$(GIT_CFLAGS) \
$(GSTREAMER_CFLAGS) \
+ $(SOUP_CFLAGS) \
$(SQLITE_CFLAGS) \
$(WNCK_CFLAGS)
@@ -113,6 +114,7 @@ GTKDOC_LIBS= \
$(GLIB_LIBS) \
$(GTK_LIBS) \
$(GIT_LIBS) \
+ $(SOUP_LIBS) \
$(GSTREAMER_LIBS) \
$(SQLITE_LIBS) \
$(WNCK_LIBS)
diff --git a/src/Makefile.am b/src/Makefile.am
index 84dc7ea..fec7b3b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,8 +4,8 @@ bin_PROGRAMS = gnome-video-arcade
AM_CFLAGS = \
-Wall \
- @GLIB_CFLAGS@ @GTK_CFLAGS@ @GIT_CFLAGS@ \
- @GSTREAMER_CFLAGS@ @SQLITE_CFLAGS@ @WNCK_CFLAGS@
+ @GLIB_CFLAGS@ @GTK_CFLAGS@ @GIT_CFLAGS@ @GSTREAMER_CFLAGS@ \
+ @SOUP_CFLAGS@ @SQLITE_CFLAGS@ @WNCK_CFLAGS@
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"Gva\" \
@@ -81,7 +81,7 @@ EXTRA_gnome_video_arcade_SOURCES = \
gnome_video_arcade_LDADD = \
@GLIB_LIBS@ @GTK_LIBS@ @GIT_LIBS@ \
@GSTREAMER_LIBS@ @MAME_BACKEND@ \
- @SQLITE_LIBS@ @WNCK_LIBS@
+ @SOUP_LIBS@ @SQLITE_LIBS@ @WNCK_LIBS@
gnome_video_arcade_DEPENDENCIES = \
@MAME_BACKEND@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]