| 1 |
From: [email protected] |
| 2 |
Description: Tweak gtk/glib requirements in configure script to build |
| 3 |
with version 2.0 instead of now-obsolete 1.2. |
| 4 |
--- |
| 5 |
configure | 2 +- |
| 6 |
configure.ac | 2 +- |
| 7 |
2 files changed, 2 insertions(+), 2 deletions(-) |
| 8 |
|
| 9 |
--- libdv.orig/configure |
| 10 |
+++ libdv/configure |
| 11 |
@@ -20082,7 +20082,7 @@ fi |
| 12 |
|
| 13 |
have_gtk="false" |
| 14 |
if $use_gtk; then |
| 15 |
|
| 16 |
+ REQUIRES='glib-2.0 >= 2.0.0 gtk+-2.0 >= 2.0.0' |
| 17 |
|
| 18 |
|
| 19 |
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
| 20 |
--- libdv.orig/configure.ac |
| 21 |
+++ libdv/configure.ac |
| 22 |
@@ -162,7 +162,7 @@ AM_CONDITIONAL(HOST_X86_64, test x$arch_ |
| 23 |
dnl Checks for libraries. |
| 24 |
have_gtk="false" |
| 25 |
if $use_gtk; then |
| 26 |
|
| 27 |
+ REQUIRES='glib-2.0 >= 2.0.0 gtk+-2.0 >= 2.0.0' |
| 28 |
PKG_CHECK_MODULES(GTK,$REQUIRES,have_gtk="true",have_gtk="false") |
| 29 |
AC_DEFINE(HAVE_GTK) |
| 30 |
fi |