diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2017-08-13 11:42:39 +0200 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2017-08-13 11:50:58 +0200 |
commit | fbd860dc38289ac5e50f3189ccc5a4cdcaa5c877 (patch) | |
tree | f2193d45c024ec25fcb58fe0c7702b4ecc13a19d /dev-libs/totem-pl-parser/files | |
parent | media-video/totem: version bump 3.22.1-r1 → 3.24.0 (diff) | |
download | gentoo-fbd860dc38289ac5e50f3189ccc5a4cdcaa5c877.tar.gz gentoo-fbd860dc38289ac5e50f3189ccc5a4cdcaa5c877.tar.bz2 gentoo-fbd860dc38289ac5e50f3189ccc5a4cdcaa5c877.zip |
dev-libs/totem-pl-parser: version bump 3.10.7 → 3.10.8
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-libs/totem-pl-parser/files')
-rw-r--r-- | dev-libs/totem-pl-parser/files/totem-pl-parser-3.10.8-gmime-automagic.patch | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/dev-libs/totem-pl-parser/files/totem-pl-parser-3.10.8-gmime-automagic.patch b/dev-libs/totem-pl-parser/files/totem-pl-parser-3.10.8-gmime-automagic.patch new file mode 100644 index 000000000000..19ab82960fd4 --- /dev/null +++ b/dev-libs/totem-pl-parser/files/totem-pl-parser-3.10.8-gmime-automagic.patch @@ -0,0 +1,98 @@ +From b2e7a0b5db67dd276b09a151cf8a4aa3b58409fb Mon Sep 17 00:00:00 2001 +From: Gilles Dartiguelongue <eva@gentoo.org> +Date: Sun, 13 Aug 2017 11:28:19 +0200 +Subject: [PATCH] Allow selecting specific gmime version + +--- + configure.ac | 69 ++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 34 insertions(+), 35 deletions(-) + +diff --git a/configure.ac b/configure.ac +index dda59f7..f92bbf5 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -74,47 +74,46 @@ pkg_modules="glib-2.0 >= $GLIB_REQS libxml-2.0 gthread-2.0 gio-2.0 >= $GIO_REQS + ################################## + # Checking libgmime dependency + ################################## ++GMIME="" + gmime_message="" + +-AC_ARG_ENABLE(gmime-i-know-what-im-doing, +- AS_HELP_STRING([--disable-gmime-i-know-what-im-doing], +- [Disable libgmime (Unsupported, breaks Podcast support).]), +- [enable_gmime=no], +- [enable_gmime=yes]) +- +-if test "x$enable_gmime" = "xyes" ; then +- have_gmime3=no +- PKG_CHECK_MODULES(GMIME, +- gmime-3.0, +- [have_gmime=yes have_gmime3=yes GMIME=gmime-3.0], +- [have_gmime=no]) +- +- if test "x$have_gmime" = "xno" ; then +- PKG_CHECK_MODULES(GMIME, +- gmime-2.6, +- [have_gmime=yes GMIME=gmime-2.6], +- [have_gmime=no]) +- fi +- +- if test "x$have_gmime" = "xyes" ; then +- AC_SUBST(GMIME, $GMIME) +- AC_SUBST(USEGMIME, yes) +- AC_DEFINE(HAVE_GMIME, 1, [GMime available in the system]) +- if test "x$have_gmime3" = xyes ; then +- AC_DEFINE(HAVE_GMIME3, 1, [GMime 3.0 available in the system]) +- fi +- pkg_modules="$pkg_modules $GMIME" +- else +- AC_MSG_ERROR([libgmime is required to compile totem-pl-parser.]) +- fi +-else +- AC_SUBST(USEGMIME, no) +- gmime_message=" ++AC_ARG_ENABLE(gmime, ++ AS_HELP_STRING([--enable-gmime=2.6|3.0|auto|no], ++ [Which gmime version to compile against. Disabling libgmime is unsupported and breaks Podcast support.]), ++ [], ++ [enable_gmime=auto]) ++ ++AS_IF([test "x$enable_gmime" = "x2.6"], ++ [PKG_CHECK_MODULES(GMIME, [gmime-2.6], [GMIME=gmime-2.6])], ++ [test "x$enable_gmime" = "x3.0"], ++ [PKG_CHECK_MODULES(GMIME, [gmime-3.0], [GMIME=gmime-3.0])], ++ [test "x$enable_gmime" = "xauto" -o "x$enable_gmime" = "xyes"], ++ [PKG_CHECK_MODULES(GMIME, [gmime-3.0], ++ [GMIME=gmime-3.0], ++ [PKG_CHECK_MODULES(GMIME, [gmime-2.6], [GMIME=gmime-2.6])])], ++ [test "x$enable_gmime" = "xno"], ++ [], ++ # else ++ [AC_MSG_ERROR([invalid gmime version specified])] ++) ++ ++AS_IF([test "x$enable_gmime" = "xno"], ++ [ ++ AC_SUBST(USEGMIME, no) ++ gmime_message=" + ************************************************************** + Compiling totem-pl-parser without libgmime. + This will break podcast support and is completely unsupported. + **************************************************************" +-fi ++ ], [ ++ AC_SUBST(GMIME, $GMIME) ++ AC_SUBST(USEGMIME, yes) ++ AC_DEFINE(HAVE_GMIME, 1, [GMime available in the system]) ++ AS_IF([test "$xGMIME" = "xgmime-3.0"], ++ [AC_DEFINE(HAVE_GMIME3, 1, [GMime 3.0 available in the system])]) ++ pkg_modules="$pkg_modules $GMIME" ++ ] ++) + + ################################## + # Checking quvi dependency +-- +2.14.0 + |