~jconti/recent-notifications/ppa-indicator-gtk2

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Jason Conti
  • Date: 2012-09-21 17:20:35 UTC
  • mfrom: (1.1.4)
  • Revision ID: jason.conti@gmail.com-20120921172035-4uqvsqukzfkewhzr
* New upstream release.
  - Backport changes to build gtk2 indicator.
* debian/control:
  - Update package name to indicator-notifications-gtk2.
  - Build dep on libgtk2.0-dev.
  - Depend on indicator-notifications for icons.
* debian/rules:
  - Update temporary install path.
  - Delete the icons from the install.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
AC_INIT([indicator-notifications], [0.2.4], [jason.conti@gmail.com])
 
1
AC_INIT([indicator-notifications-gtk2], [0.2.4.1], [jason.conti@gmail.com])
2
2
 
3
3
AM_INIT_AUTOMAKE([-Wall -Werror])
4
4
 
27
27
# Required libraries from pkg-config
28
28
 
29
29
INDICATOR_REQUIRED_VERSION=0.3.19
30
 
GTK3_REQUIRED_VERSION=3.0
31
 
 
32
 
INDICATOR3_PKG_NAME=indicator3-0.4
33
 
 
34
 
PKG_CHECK_MODULES(INDICATOR, $INDICATOR3_PKG_NAME >= $INDICATOR_REQUIRED_VERSION
35
 
                             gtk+-3.0 >= GTK3_REQUIRED_VERSION)
 
30
GTK_REQUIRED_VERSION=2.24
 
31
 
 
32
INDICATOR_PKG_NAME=indicator-0.4
 
33
 
 
34
PKG_CHECK_MODULES(INDICATOR, $INDICATOR_PKG_NAME >= $INDICATOR_REQUIRED_VERSION
 
35
                             gtk+-2.0 >= GTK_REQUIRED_VERSION)
36
36
 
37
37
AC_SUBST(INDICATOR_CFLAGS)
38
38
AC_SUBST(INDICATOR_LIBS)
50
50
  INDICATORDIR="${libdir}/indicators/2/"
51
51
  INDICATORICONSDIR="${datadir}/libindicate/icons/"
52
52
else
53
 
  INDICATORDIR=`$PKG_CONFIG --variable=indicatordir $INDICATOR3_PKG_NAME`
54
 
  INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir $INDICATOR3_PKG_NAME`
 
53
  INDICATORDIR=`$PKG_CONFIG --variable=indicatordir $INDICATOR_PKG_NAME`
 
54
  INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir $INDICATOR_PKG_NAME`
55
55
fi
56
56
 
57
57
AC_SUBST(INDICATORDIR)