summarylogtreecommitdiffstats
path: root/accept_8_or_9.patch
blob: b704ee0461b1b101a9af54991b4894a5b8bd7b60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- swfdec-gnome-2.30.1.orig/configure.ac.orig	2013-06-05 21:39:10.000000000 -0700
+++ swfdec-gnome-2.30.1/configure.ac	2013-06-05 21:51:44.000000000 -0700
@@ -51,7 +51,16 @@
 
 dnl Check dependencies
 
-PKG_CHECK_MODULES(THUMBNAILER, swfdec-$SWFDEC_MAJORMINOR >= $SWFDEC_REQUIRED)
+PKG_CHECK_MODULES(THUMBNAILER, swfdec-$SWFDEC_MAJORMINOR >= $SWFDEC_REQUIRED, HAVE_SWFDEC8="yes", HAVE_SWFDEC8="no")
+
+if test "x$HAVE_SWFDEC8" = "xno"; then
+	SWFDEC_MAJORMINOR=0.9
+	AC_SUBST(SWFDEC_MAJORMINOR)
+	SWFDEC_REQUIRED=0.9.0
+
+	PKG_CHECK_MODULES(THUMBNAILER, swfdec-$SWFDEC_MAJORMINOR >= $SWFDEC_REQUIRED)
+fi
+
 PKG_CHECK_MODULES(PLAYER, gmodule-export-2.0 swfdec-$SWFDEC_MAJORMINOR >= $SWFDEC_REQUIRED swfdec-gtk-$SWFDEC_MAJORMINOR >= $SWFDEC_REQUIRED gtk+-2.0 >= $GTK_REQUIRED)
 
 AM_GCONF_SOURCE_2