1 --- upower-0.9.23/configure.ac.orig 2020-09-13 08:29:33.403011165 +0200
2 +++ upower-0.9.23/configure.ac 2020-09-13 08:31:53.918916592 +0200
4 AC_ARG_WITH(idevice, AS_HELP_STRING([--without-idevice],[Build without libimobiledevice]),
5 with_idevice=$withval,with_idevice=yes)
6 AS_IF([test "x$with_idevice" != "xno"],
7 - [PKG_CHECK_MODULES(IDEVICE, libimobiledevice-1.0 >= 0.9.7 libplist >= 0.12, have_idevice=yes, have_idevice=no)],
8 + [PKG_CHECK_MODULES(IDEVICE, libimobiledevice-1.0 >= 0.9.7 libplist-2.0 >= 0.12, have_idevice=yes, have_idevice=no)],
10 AS_IF([test "x$have_idevice" = "xyes"],
11 [AC_DEFINE(HAVE_IDEVICE, 1, [Define to 1 if AFC is going to be built])])