[gnome-sound-recorder] More cruft



commit 239e6015831065ba1ce420247bfb46e70b399a19
Author: Meg Ford <megford gnome org>
Date:   Sat Mar 11 12:18:13 2017 -0600

    More cruft

 autogen.sh   |   12 ++++++------
 configure.ac |   17 ++++++++++-------
 2 files changed, 16 insertions(+), 13 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 6376354..4b17e16 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -8,15 +8,15 @@ PKG_NAME="gnome-sound-recorder"
 ACLOCAL_FLAGS="-I libgd $ACLOCAL_FLAGS"
 
 test -f $srcdir/configure.ac || {
-    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
-    echo " top-level gnome-sound-recorder directory"
-    exit 1
+       echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+       echo " top-level gnome-sound-recorder directory"
+       exit 1
 }
 
 which gnome-autogen.sh || {
-    echo "You need to install gnome-common from GNOME Git (or from"
-    echo "your OS vendor's package manager)."
-    exit 1
+       echo "You need to install gnome-common from GNOME Git (or from"
+       echo "your OS vendor's package manager)."
+       exit 1
 }
 
 (cd "$srcdir" ;
diff --git a/configure.ac b/configure.ac
index fa9daa8..b8b0c57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,17 +10,20 @@ LT_INIT([disable-static])
 GETTEXT_PACKAGE=gnome-sound-recorder
 AC_SUBST(GETTEXT_PACKAGE)
 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
-                   [The prefix for our gettext translation domains.])
+                  [The prefix for our gettext translation domains.])
 IT_PROG_INTLTOOL([0.26])
 
 GLIB_GSETTINGS
-GOBJECT_INTROSPECTION_REQUIRE([1.0])
+GOBJECT_INTROSPECTION_REQUIRE([0.9.6])
+
+GLIB_MIN_VERSION=2.46
+GTK_MIN_VERSION=3.12
+GOBJECT_INTROSPECTION_MIN_VERSION=1.31.6
 PKG_CHECK_MODULES([DEPS], [gdk-3.0
-                           gdk-pixbuf-2.0
-                           gio-2.0
-                           glib-2.0
-                           gobject-2.0
-                           gtk+-3.0 >= 3.12])
+                  gdk-pixbuf-2.0
+                  glib-2.0 >= $GLIB_MIN_VERSION
+                  gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_MIN_VERSION
+                  gtk+-3.0 >= $GTK_MIN_VERSION])
 
 AC_PATH_PROG(GJS, [gjs])
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]