X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=configure.ac;h=a73df6952e48267b2c1efcba8c95fb278cf9002a;hb=263a6113322ba3a78d8a5deb4aa1c4bae1bbcc75;hp=9b146ec1a89d6f42b62324059cd2a6558abf6811;hpb=431a51067d83801231daf9bdd8bd020e8ea13dda;p=mafwsubrenderer diff --git a/configure.ac b/configure.ac index 9b146ec..a73df69 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ # Copyright (C) 2007, 2008, 2009 Nokia. All rights reserved. AC_PREREQ([2.53]) -AC_INIT([mafw-gst-renderer], [0.1.2009.47-1]) +AC_INIT([mafw-gst-subtitles-renderer], [0.2.2010.07-2]) AC_CONFIG_SRCDIR([libmafw-gst-renderer/mafw-gst-renderer.h]) AC_CONFIG_HEADERS([config.h]) @@ -17,6 +17,11 @@ AM_MAINTAINER_MODE AC_DISABLE_STATIC +IT_PROG_INTLTOOL([0.35]) +AC_SUBST([GETTEXT_PACKAGE], [mafw-gst-subtitles-renderer]) +AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [The domain to use with gettext.]) +AM_GLIB_GNU_GETTEXT() + dnl Prevent AC_PROG_CC adding '-g -O2' to CFLAGS. SAVEDCFLAGS="$CFLAGS" AC_PROG_CC @@ -59,6 +64,8 @@ PKG_CHECK_MODULES(DEPS, totem-plparser gconf-2.0 >= 2.0 gnome-vfs-2.0 + mce + dbus-1 ) dnl Check for GdkPixbuf, needed for dumping current frame @@ -209,14 +216,31 @@ fi AM_CONDITIONAL(ENABLE_COVERAGE, [test "x$enable_coverage" != xno && test -n "$LCOV"]) +dnl Control Panel +PKG_CHECK_MODULES([MAFW_SUBTITLES_CPA], [libosso >= 2.0 + hildon-1 >= 2.1 + hildon-control-panel + gtk+-2.0 + gconf-2.0]) + +CPA_PLUGINDIR=`pkg-config hildon-control-panel --variable=pluginlibdir` +CPA_DESKTOPDIR=`pkg-config hildon-control-panel --variable=plugindesktopentrydir` + +AC_SUBST(MAFW_SUBTITLES_CPA_CFLAGS) +AC_SUBST(MAFW_SUBTITLES_CPA_LIBS) +AC_SUBST(CPA_DESKTOPDIR) +AC_SUBST(CPA_PLUGINDIR) + dnl Output files. AC_CONFIG_FILES([ Makefile mafw-gst-renderer-uninstalled.pc libmafw-gst-renderer/Makefile + applet/Makefile tests/Makefile - debian/mafw-gst-renderer.install + debian/mafw-gst-subtitles-renderer.install + po/Makefile.in ]) AC_OUTPUT