aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-06-16 23:31:41 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-06-16 23:31:41 -0500
commitb8f5e0707f454ff8d9e87c65aa058847f587be34 (patch)
treeb88119609a001854cda23e17143a326f613e35ba /configure.ac
parent1d8adeb255e0499ba27508be0530827fe0c052db (diff)
downloadayatana-indicator-power-b8f5e0707f454ff8d9e87c65aa058847f587be34.tar.gz
ayatana-indicator-power-b8f5e0707f454ff8d9e87c65aa058847f587be34.tar.bz2
ayatana-indicator-power-b8f5e0707f454ff8d9e87c65aa058847f587be34.zip
update build rules: remove now-unneeded build dependencies for libindicator, gtk, gnome-settings-daemon-dev, libupower-glib, libdbus-1-dev
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac23
1 files changed, 10 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac
index 0601c16..c6cc8e0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,8 +1,9 @@
AC_INIT([indicator-power],
- [12.10.6],
+ [13.10.0],
[http://bugs.launchpad.net/indicator-power],
[indicator-power],
[http://launchpad.net/indicator-power])
+AC_COPYRIGHT([Copyright 2011-2013 Canonical])
AC_PREREQ([2.64])
@@ -29,25 +30,20 @@ LT_INIT
###########################
# Dependencies
###########################
+
GLIB_REQUIRED_VERSION=2.35.4
GIO_REQUIRED_VERSION=2.26
-GTK_REQUIRED_VERSION=3.0
-INDICATOR_REQUIRED_VERSION=0.3.90
-UPOWER_REQUIRED_VERSION=0.9.5
+GIO_UNIX_REQUIRED_VERSION=2.26
GSD_REQUIRED_VERSION=3.1.4
-PKG_CHECK_MODULES([UPOWER],[upower-glib >= UPOWER_REQUIRED_VERSION])
-
-PKG_CHECK_MODULES([INDICATOR],[glib-2.0 >= $GLIB_REQUIRED_VERSION
- gio-2.0 >= $GIO_REQUIRED_VERSION
- gtk+-3.0 >= $GTK_REQUIRED_VERSION
- indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
-])
-PKG_CHECK_MODULES([GSD],[gnome-settings-daemon >= $GSD_REQUIRED_VERSION])
+PKG_CHECK_MODULES([SERVICE_DEPS],[glib-2.0 >= $GLIB_REQUIRED_VERSION
+ gio-2.0 >= $GIO_REQUIRED_VERSION
+ gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION])
###########################
# GSETTINGS
###########################
+
GLIB_GSETTINGS
###########################
@@ -126,13 +122,14 @@ AC_DEFUN([AC_DEFINE_PATH], [
# Internationalization
###########################
-IT_PROG_INTLTOOL([0.41.0])
+IT_PROG_INTLTOOL([0.50.0])
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.17])
AC_SUBST([GETTEXT_PACKAGE],[${PACKAGE_TARNAME}])
AC_DEFINE([GETTEXT_PACKAGE],[PACKAGE_TARNAME],[Define to the gettext package name.])
+AC_DEFINE_PATH([GNOMELOCALEDIR],"${datadir}/locale",[locale directory])
###########################
# Files