summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2015-11-21 13:29:42 +0100
committerPacho Ramos <pacho@gentoo.org>2015-11-21 13:30:41 +0100
commit21885cdd134520ca025ee9783861b047e898c1f0 (patch)
tree89b3d65769ea67a40029effde1d3a6e5a77e06da /media-plugins/gst-plugins-soup
parentprofiles/package.mask: Unmask htmltidy. (diff)
downloadgentoo-21885cdd134520ca025ee9783861b047e898c1f0.tar.gz
gentoo-21885cdd134520ca025ee9783861b047e898c1f0.tar.bz2
gentoo-21885cdd134520ca025ee9783861b047e898c1f0.zip
media-plugins/gst-plugins-soup: Drop automagic libsoup-gnome, bug #417511
Package-Manager: portage-2.2.24
Diffstat (limited to 'media-plugins/gst-plugins-soup')
-rw-r--r--media-plugins/gst-plugins-soup/files/gst-plugins-soup-0.10.31-libsoup-gnome.patch23
-rw-r--r--media-plugins/gst-plugins-soup/gst-plugins-soup-0.10.31-r2.ebuild22
2 files changed, 45 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-soup/files/gst-plugins-soup-0.10.31-libsoup-gnome.patch b/media-plugins/gst-plugins-soup/files/gst-plugins-soup-0.10.31-libsoup-gnome.patch
new file mode 100644
index 000000000000..fa5477a12cc3
--- /dev/null
+++ b/media-plugins/gst-plugins-soup/files/gst-plugins-soup-0.10.31-libsoup-gnome.patch
@@ -0,0 +1,23 @@
+--- configure.ac.old 2015-11-21 13:17:01.399591500 +0100
++++ configure.ac 2015-11-21 13:27:24.407089263 +0100
+@@ -906,17 +906,12 @@
+ dnl *** soup ***
+ translit(dnm, m, l) AM_CONDITIONAL(USE_SOUP, true)
+ AG_GST_CHECK_FEATURE(SOUP, [soup http client plugin (2.4)], souphttpsrc, [
+- PKG_CHECK_MODULES(SOUP, libsoup-gnome-2.4 >= 2.3.2, [
+- HAVE_SOUP="yes"
+- AC_DEFINE(HAVE_LIBSOUP_GNOME, 1, [soup gnome integration])
+- ],[
+ PKG_CHECK_MODULES(SOUP, libsoup-2.4 >= 2.26, HAVE_SOUP="yes", [
+- HAVE_SOUP="no"
+- ])
+- ])
++ HAVE_SOUP="no"])
++ ]
+ AC_SUBST(SOUP_CFLAGS)
+ AC_SUBST(SOUP_LIBS)
+-])
++)
+
+ dnl *** speex >= 1.0.4 or >= 1.1.5 ***
+ dnl 1.1.4 and earlier were not API/ABI compatible with 1.0
diff --git a/media-plugins/gst-plugins-soup/gst-plugins-soup-0.10.31-r2.ebuild b/media-plugins/gst-plugins-soup/gst-plugins-soup-0.10.31-r2.ebuild
new file mode 100644
index 000000000000..3d22296caf90
--- /dev/null
+++ b/media-plugins/gst-plugins-soup/gst-plugins-soup-0.10.31-r2.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+GST_ORG_MODULE=gst-plugins-good
+inherit autotools eutils gstreamer
+
+DESCRIPTION="GStreamer plugin for HTTP client sources"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos"
+IUSE=""
+
+RDEPEND=">=net-libs/libsoup-2.44.2[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ # Drop automagic support of libsoup-gnome
+ epatch "${FILESDIR}"/${P}-libsoup-gnome.patch
+ eautoreconf
+}