[gnome-2048] Switch to libgnome-games-support.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-2048] Switch to libgnome-games-support.
- Date: Wed, 17 Aug 2016 15:29:19 +0000 (UTC)
commit da78b3c32659bd8a745d2bf5d423f6729eb24fe3
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Wed Aug 17 17:29:02 2016 +0200
Switch to libgnome-games-support.
autogen.sh | 12 ++++++------
configure.ac | 3 +--
src/Makefile.am | 2 +-
3 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 941dd06..3e2ff74 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -14,12 +14,12 @@ cd $srcdir
# Use the style-checker as pre-commit and pre-applypatch hooks
if [ -d $srcdir/.git ]; then
- if [ ! -L $srcdir/.git/hooks/pre-commit ]; then
- ln -s ../../../libgames-support/style-checker $srcdir/.git/hooks/pre-commit && echo "Enabled
pre-commit style checker." || :
- fi
- if [ ! -L $srcdir/.git/hooks/pre-applypatch ]; then
- ln -s ../../../libgames-support/style-checker $srcdir/.git/hooks/pre-applypatch && echo "Enabled
pre-applypatch style checker." || :
- fi
+ for HOOK in pre-commit pre-applypatch; do
+ if [ ! -L $srcdir/.git/hooks/$HOOK ]; then
+ ln -s ../../../libgnome-games-support/style-checker \
+ $srcdir/.git/hooks/$HOOK && echo "Enabled $HOOK style checker."
+ fi
+ done
fi
PKG_NAME=`autoconf --trace 'AC_INIT:$1' configure.ac`
diff --git a/configure.ac b/configure.ac
index 4da2cc2..5666215 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,14 +22,13 @@ GTK_REQUIRED=3.12.0
CLUTTER_REQUIRED=1.12.0
CLUTTER_GTK_REQUIRED=1.6.0
GEE_REQUIRED=0.14.0
-LIBGAMES_REQUIRED=0.90
PKG_CHECK_MODULES(GNOME_2048, [
gtk+-3.0 >= $GTK_REQUIRED
clutter-1.0 >= $CLUTTER_REQUIRED
clutter-gtk-1.0 >= $CLUTTER_GTK_REQUIRED
gee-0.8 >= $GEE_REQUIRED
- libgames-support-1.0 >= $LIBGAMES_REQUIRED
+ libgnome-games-support-1.0
])
AC_PATH_PROG([DESKTOP_FILE_VALIDATE], [desktop-file-validate], [/bin/true])
diff --git a/src/Makefile.am b/src/Makefile.am
index d9533d6..4f5dc27 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -26,7 +26,7 @@ gnome_2048_VALAFLAGS = \
--pkg clutter-gtk-1.0 \
--pkg cogl-1.0 \
--pkg gee-0.8 \
- --pkg libgames-support-1.0
+ --pkg libgnome-games-support-1.0
gnome_2048_LDADD = \
$(GNOME_2048_LIBS) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]