configure.ac 1.61 KB
Newer Older
1 2
AC_PREREQ(2.63)
AC_INIT([gnome-music],
Marinus Schraal's avatar
Marinus Schraal committed
3
        [3.23.1],
4 5
        [https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-music],
        [gnome-music],
6
        [https://wiki.gnome.org/Apps/Music])
7 8 9
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS(config.h)
10
AM_INIT_AUTOMAKE([1.11 tar-ustar dist-xz no-dist-gzip -Wno-portability subdir-objects])
11
AM_MAINTAINER_MODE([enable])
12
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
13

14
AM_PATH_PYTHON([3.3])
15 16 17 18 19 20 21

GETTEXT_PACKAGE=gnome-music
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
                   [The prefix for our gettext translation domains.])
IT_PROG_INTLTOOL(0.26)

22 23
YELP_HELP_INIT

24 25 26 27
AC_PROG_CC
AM_PROG_CC_C_O
LT_INIT([disable-static])

28
LIBGD_INIT([main-view revealer gir tagged-entry notification])
29

30 31 32
PKG_PROG_PKG_CONFIG([0.22])

GLIB_GSETTINGS
33 34
AX_REQUIRE_DEFINED([GOBJECT_INTROSPECTION_CHECK])
GOBJECT_INTROSPECTION_CHECK([1.35.9])
35
PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= 3.19.3])
36
PKG_CHECK_MODULES(MEDIAART, [libmediaart-2.0])
37

38 39 40
PYGOBJECT_MIN_VERSION=3.21.1
PKG_CHECK_MODULES(PYGOBJECT, [pygobject-3.0 >= $PYGOBJECT_MIN_VERSION])

41
TRACKER_MIN_VERSION=1.11.1
42 43
PKG_CHECK_MODULES(TRACKER, [tracker-sparql-1.0 >= $TRACKER_MIN_VERSION])

Manish Sinha's avatar
Manish Sinha committed
44 45 46
GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0`
AC_SUBST(GLIB_COMPILE_RESOURCES)

47
GRL_MIN_VERSION=0.3.1
48
PKG_CHECK_MODULES(GRL, grilo-0.3 >= $GRL_MIN_VERSION)
49 50 51 52

AC_CONFIG_FILES([
  Makefile
  data/Makefile
53
  help/Makefile
54
  data/AboutDialog.ui
55
  gnomemusic/Makefile
56
  gnomemusic/views/Makefile
57
  gnomemusic/widgets/Makefile
58
  po/Makefile.in
Vadim Rutkovsky's avatar
Vadim Rutkovsky committed
59
  libgd/Makefile
60 61
])
AC_OUTPUT