Some cleanups
This commit is contained in:
parent
1d6f0a11c4
commit
e392cbc650
@ -25,10 +25,12 @@ AC_PATH_PROG(PYGTK_CODEGEN, pygtk-codegen-2.0, no)
|
|||||||
|
|
||||||
PKG_CHECK_MODULES(PYGTK, pygtk-2.0)
|
PKG_CHECK_MODULES(PYGTK, pygtk-2.0)
|
||||||
|
|
||||||
PKG_CHECK_MODULES(GTKMOZEMBED, [xulrunner-gtkmozembed >= 1.8],
|
PKG_CHECK_MODULES(LIB, gtk+-2.0 gstreamer-0.10 gstreamer-plugins-base-0.10)
|
||||||
|
|
||||||
|
PKG_CHECK_MODULES(GECKO, [xulrunner-gtkmozembed >= 1.8],
|
||||||
[have_gecko=true; mozpackage=xulrunner],
|
[have_gecko=true; mozpackage=xulrunner],
|
||||||
[
|
[
|
||||||
PKG_CHECK_MODULES(GTKMOZEMBED, [firefox-gtkmozembed >= 1.5],
|
PKG_CHECK_MODULES(GECKO, [firefox-gtkmozembed >= 1.5],
|
||||||
[have_gecko=true; mozpackage=firefox],
|
[have_gecko=true; mozpackage=firefox],
|
||||||
have_gecko=false)
|
have_gecko=false)
|
||||||
])
|
])
|
||||||
@ -37,8 +39,6 @@ if test "x$have_gecko" = xfalse; then
|
|||||||
AC_MSG_ERROR([Could not find xulrunner, mozilla or firefox $mozilla_required_version])
|
AC_MSG_ERROR([Could not find xulrunner, mozilla or firefox $mozilla_required_version])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PKG_CHECK_MODULES(LIB, gtk+-2.0 $mozpackage-gtkmozembed gstreamer-0.10 gstreamer-plugins-base-0.10)
|
|
||||||
|
|
||||||
MOZILLA_HOME="`$PKG_CONFIG --variable=libdir $mozpackage-gtkmozembed`"
|
MOZILLA_HOME="`$PKG_CONFIG --variable=libdir $mozpackage-gtkmozembed`"
|
||||||
AC_SUBST(MOZILLA_HOME)
|
AC_SUBST(MOZILLA_HOME)
|
||||||
|
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
INCLUDES = \
|
INCLUDES = \
|
||||||
$(PYTHON_INCLUDES) \
|
$(PYTHON_INCLUDES) \
|
||||||
$(PYGTK_CFLAGS) \
|
$(PYGTK_CFLAGS) \
|
||||||
$(PYCAIRO_CFLAGS) \
|
$(PYCAIRO_CFLAGS) \
|
||||||
$(LIB_CFLAGS) \
|
$(LIB_CFLAGS) \
|
||||||
|
$(GECKO_CFLAGS) \
|
||||||
-I $(top_srcdir)/lib/src
|
-I $(top_srcdir)/lib/src
|
||||||
|
|
||||||
pkgpyexecdir = $(pythondir)
|
pkgpyexecdir = $(pythondir)
|
||||||
@ -13,6 +14,7 @@ _sugar_la_LDFLAGS = -module -avoid-version -R$(MOZILLA_HOME)
|
|||||||
_sugar_la_LIBADD = \
|
_sugar_la_LIBADD = \
|
||||||
$(LIB_LIBS) \
|
$(LIB_LIBS) \
|
||||||
$(PYCAIRO_LIBS) \
|
$(PYCAIRO_LIBS) \
|
||||||
|
$(GECKO_LIBS) \
|
||||||
$(top_builddir)/lib/src/libsugarprivate.la
|
$(top_builddir)/lib/src/libsugarprivate.la
|
||||||
|
|
||||||
_sugar_la_SOURCES = \
|
_sugar_la_SOURCES = \
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
libsugarprivate_la_CPPFLAGS = \
|
libsugarprivate_la_CPPFLAGS = \
|
||||||
$(WARN_CFLAGS) \
|
$(WARN_CFLAGS) \
|
||||||
$(LIB_CFLAGS) \
|
$(LIB_CFLAGS) \
|
||||||
|
$(GECKO_CFLAGS) \
|
||||||
-I$(MOZILLA_INCLUDE_DIR)/dom \
|
-I$(MOZILLA_INCLUDE_DIR)/dom \
|
||||||
-I$(MOZILLA_INCLUDE_DIR)/exthandler \
|
-I$(MOZILLA_INCLUDE_DIR)/exthandler \
|
||||||
-I$(MOZILLA_INCLUDE_DIR)/mimetype \
|
-I$(MOZILLA_INCLUDE_DIR)/mimetype \
|
||||||
@ -12,9 +13,11 @@ libsugarprivate_la_CPPFLAGS = \
|
|||||||
|
|
||||||
noinst_LTLIBRARIES = libsugarprivate.la
|
noinst_LTLIBRARIES = libsugarprivate.la
|
||||||
|
|
||||||
libsugarprivate_la_LIBADD = $(LIB_LIBS) \
|
libsugarprivate_la_LIBADD = \
|
||||||
-lgstinterfaces-0.10 \
|
$(LIB_LIBS) \
|
||||||
-lgstaudio-0.10
|
$(GECKO_LIBS) \
|
||||||
|
-lgstinterfaces-0.10 \
|
||||||
|
-lgstaudio-0.10
|
||||||
|
|
||||||
libsugarprivate_la_SOURCES = \
|
libsugarprivate_la_SOURCES = \
|
||||||
$(BUILT_SOURCES) \
|
$(BUILT_SOURCES) \
|
||||||
|
Loading…
Reference in New Issue
Block a user