1 |
radhermit 13/05/22 09:50:54 |
2 |
|
3 |
Added: quvi-0.9.1-automagic.patch |
4 |
Log: |
5 |
Version bump, update to EAPI 5, and add json, nls, and xml use flags. |
6 |
|
7 |
(Portage version: 2.2.0_alpha175/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 media-libs/quvi/files/quvi-0.9.1-automagic.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/quvi/files/quvi-0.9.1-automagic.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/quvi/files/quvi-0.9.1-automagic.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: quvi-0.9.1-automagic.patch |
16 |
=================================================================== |
17 |
--- quvi-0.9.1/configure.ac |
18 |
+++ quvi-0.9.1/configure.ac |
19 |
@@ -54,22 +54,30 @@ |
20 |
PKG_CHECK_MODULES([gobject], [gobject-2.0 >= 2.24]) |
21 |
PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.24]) |
22 |
|
23 |
-PKG_CHECK_MODULES([json_glib], [json-glib-1.0 >= 0.12], |
24 |
- [have_json_glib=yes |
25 |
- AC_DEFINE([HAVE_JSON_GLIB], [1], [Define to json-glib package]) |
26 |
- ], |
27 |
- [have_json_glib=no |
28 |
- AC_MSG_NOTICE([json-glib 0.12+ not found, building without json output]) |
29 |
- ]) |
30 |
+AC_ARG_ENABLE([json], |
31 |
+ AS_HELP_STRING([--disable-json], [Disable support for JSON output])) |
32 |
+AS_IF([test "x$enable_json" != "xno"], [ |
33 |
+ PKG_CHECK_MODULES([json_glib], [json-glib-1.0 >= 0.12], |
34 |
+ [have_json_glib=yes |
35 |
+ AC_DEFINE([HAVE_JSON_GLIB], [1], [Define to json-glib package]) |
36 |
+ ], |
37 |
+ [have_json_glib=no |
38 |
+ AC_MSG_ERROR([json-glib 0.12+ not found]) |
39 |
+ ]) |
40 |
+]) |
41 |
AM_CONDITIONAL([HAVE_JSON_GLIB], [test x"$have_json_glib" = "xyes"]) |
42 |
|
43 |
-PKG_CHECK_MODULES([libxml], [libxml-2.0 >= 2.7.8], |
44 |
- [have_libxml=yes |
45 |
- AC_DEFINE([HAVE_LIBXML], [1], [Define to libxml package]) |
46 |
- ], |
47 |
- [have_libxml=no |
48 |
- AC_MSG_NOTICE([libxml 2.7.8+ not found, building without xml output]) |
49 |
- ]) |
50 |
+AC_ARG_ENABLE([xml], |
51 |
+ AS_HELP_STRING([--disable-xml], [Disable support for XML output])) |
52 |
+AS_IF([test "x$enable_xml" != "xno"], [ |
53 |
+ PKG_CHECK_MODULES([libxml], [libxml-2.0 >= 2.7.8], |
54 |
+ [have_libxml=yes |
55 |
+ AC_DEFINE([HAVE_LIBXML], [1], [Define to libxml package]) |
56 |
+ ], |
57 |
+ [have_libxml=no |
58 |
+ AC_MSG_ERROR([libxml 2.7.8+ not found]) |
59 |
+ ]) |
60 |
+]) |
61 |
AM_CONDITIONAL([HAVE_LIBXML], [test x"$have_libxml" = "xyes"]) |
62 |
|
63 |
# Checks for header files. |