summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2010-10-29 20:17:41 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2010-10-29 20:17:41 +0000
commit05451b1b3f086342f40109f39f947a38c6e26372 (patch)
tree26c7ec0b9e3c161ae644694fb2b49f00ea442358 /net-libs/libsoup-gnome
parentFix Manifest (diff)
downloadgentoo-2-05451b1b3f086342f40109f39f947a38c6e26372.tar.gz
gentoo-2-05451b1b3f086342f40109f39f947a38c6e26372.tar.bz2
gentoo-2-05451b1b3f086342f40109f39f947a38c6e26372.zip
Clean up old revisions.
(Portage version: 2.2.0_alpha2/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libsoup-gnome')
-rw-r--r--net-libs/libsoup-gnome/ChangeLog9
-rw-r--r--net-libs/libsoup-gnome/files/libsoup-gnome-2.26.3-system-lib.patch217
-rw-r--r--net-libs/libsoup-gnome/files/libsoup-gnome-2.28.1-system-lib.patch207
-rw-r--r--net-libs/libsoup-gnome/libsoup-gnome-2.26.3-r1.ebuild50
-rw-r--r--net-libs/libsoup-gnome/libsoup-gnome-2.28.2.ebuild52
5 files changed, 8 insertions, 527 deletions
diff --git a/net-libs/libsoup-gnome/ChangeLog b/net-libs/libsoup-gnome/ChangeLog
index 423aee60f6fe..7ca7f3f3a834 100644
--- a/net-libs/libsoup-gnome/ChangeLog
+++ b/net-libs/libsoup-gnome/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-libs/libsoup-gnome
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libsoup-gnome/ChangeLog,v 1.40 2010/10/17 14:48:37 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libsoup-gnome/ChangeLog,v 1.41 2010/10/29 20:17:41 eva Exp $
+
+ 29 Oct 2010; Gilles Dartiguelongue <eva@gentoo.org>
+ -libsoup-gnome-2.26.3-r1.ebuild,
+ -files/libsoup-gnome-2.26.3-system-lib.patch,
+ -files/libsoup-gnome-2.28.1-system-lib.patch,
+ -libsoup-gnome-2.28.2.ebuild:
+ Clean up old revisions.
17 Oct 2010; Raúl Porcel <armin76@gentoo.org>
libsoup-gnome-2.30.2.ebuild:
diff --git a/net-libs/libsoup-gnome/files/libsoup-gnome-2.26.3-system-lib.patch b/net-libs/libsoup-gnome/files/libsoup-gnome-2.26.3-system-lib.patch
deleted file mode 100644
index 3e256c96de0d..000000000000
--- a/net-libs/libsoup-gnome/files/libsoup-gnome-2.26.3-system-lib.patch
+++ /dev/null
@@ -1,217 +0,0 @@
-From fb722121885312ad49ed70a247287f26d045e54a Mon Sep 17 00:00:00 2001
-From: Romain Perier <mrpouet@gentoo.org>
-Date: Sun, 20 Sep 2009 14:36:00 +0200
-Subject: [PATCH] Add --with-libsoup-system option in order to be able to build gnome plugin without libsoup library
-
----
- Makefile.am | 13 ++++++++---
- configure.in | 57 ++++++++++++++++++++++++++++----------------------
- libsoup/Makefile.am | 30 +++++++++++++++++++++-----
- 3 files changed, 65 insertions(+), 35 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 6c7dc3c..7c95031 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -1,7 +1,11 @@
- ## Process this file with automake to produce Makefile.in
- AUTOMAKE_OPTIONS = 1.6
-
--SUBDIRS = libsoup tests docs
-+SUBDIRS = libsoup
-+
-+if BUILD_LIBSOUP
-+SUBDIRS += tests docs
-+endif
-
- EXTRA_DIST = \
- libsoup-2.4.pc.in \
-@@ -12,9 +16,10 @@ EXTRA_DIST = \
- DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
-
- pkgconfigdir = $(libdir)/pkgconfig
--
--pkgconfig_DATA = libsoup-2.4.pc
--
-+pkgconfig_DATA=
-+if BUILD_LIBSOUP
-+pkgconfig_DATA += libsoup-2.4.pc
-+endif
- if BUILD_LIBSOUP_GNOME
- pkgconfig_DATA += libsoup-gnome-2.4.pc
- endif
-diff --git a/configure.in b/configure.in
-index 902eae6..76c6a1f 100644
---- a/configure.in
-+++ b/configure.in
-@@ -78,7 +78,13 @@ AC_FUNC_ALLOCA
- dnl ***********************
- dnl *** Checks for glib ***
- dnl ***********************
-+PKG_PROG_PKG_CONFIG
-+enable_ssl=no
-+AC_ARG_WITH(libsoup-system,
-+ AS_HELP_STRING([--with-libsoup-system], [Use libsoup system library to build(default=no)]),
-+ [with_libsoup_system=$withval], [with_libsoup_system=no])
-
-+if test "$with_libsoup_system" = "no"; then
- AM_PATH_GLIB_2_0(2.15.3,,,gobject gthread gio)
- if test "$GLIB_LIBS" = ""; then
- AC_MSG_ERROR(GLIB 2.15.3 or later is required to build libsoup)
-@@ -89,29 +95,6 @@ PKG_CHECK_MODULES(XML, libxml-2.0)
- AC_SUBST(XML_CFLAGS)
- AC_SUBST(XML_LIBS)
-
--dnl ***********************
--dnl *** Check for Win32 ***
--dnl ***********************
--
--AC_MSG_CHECKING([for Win32])
--case "$host" in
-- *-*-mingw*)
-- os_win32=yes
-- # Don't do this yet, as we want to support Windows 2000 which
-- # doesn't have these.
-- # AC_CACHE_VAL(ac_cv_func_getaddrinfo, [ac_cv_func_getaddrinfo=yes])
-- # AC_CACHE_VAL(ac_cv_func_getnameinfo, [ac_cv_func_getnameinfo=yes])
-- # AC_CACHE_VAL(ac_cv_func_inet_pton, [ac_cv_func_inet_pton=yes])
-- # AC_CACHE_VAL(ac_cv_func_inet_ntop, [ac_cv_func_inet_ntop=yes])
-- # AC_CACHE_VAL(soup_cv_ipv6, [soup_cv_ipv6=yes])
-- ;;
-- *)
-- os_win32=no
-- ;;
--esac
--AC_MSG_RESULT([$os_win32])
--AM_CONDITIONAL(OS_WIN32, [test $os_win32 = yes])
--
- dnl *******************
- dnl *** Misc checks ***
- dnl *******************
-@@ -165,10 +148,32 @@ fi
- AC_SUBST(LIBGNUTLS_CFLAGS)
- AC_SUBST(LIBGNUTLS_LIBS)
- AC_SUBST(SSL_REQUIREMENT)
--
-+fi
- dnl This is not supposed to be conditional, but...
- AM_CONDITIONAL(HAVE_SSL, test $enable_ssl != no)
-+AM_CONDITIONAL(BUILD_LIBSOUP, test $with_libsoup_system = no)
-+dnl ***********************
-+dnl *** Check for Win32 ***
-+dnl ***********************
-
-+AC_MSG_CHECKING([for Win32])
-+case "$host" in
-+ *-*-mingw*)
-+ os_win32=yes
-+ # Don't do this yet, as we want to support Windows 2000 which
-+ # doesn't have these.
-+ # AC_CACHE_VAL(ac_cv_func_getaddrinfo, [ac_cv_func_getaddrinfo=yes])
-+ # AC_CACHE_VAL(ac_cv_func_getnameinfo, [ac_cv_func_getnameinfo=yes])
-+ # AC_CACHE_VAL(ac_cv_func_inet_pton, [ac_cv_func_inet_pton=yes])
-+ # AC_CACHE_VAL(ac_cv_func_inet_ntop, [ac_cv_func_inet_ntop=yes])
-+ # AC_CACHE_VAL(soup_cv_ipv6, [soup_cv_ipv6=yes])
-+ ;;
-+ *)
-+ os_win32=no
-+ ;;
-+esac
-+AC_MSG_RESULT([$os_win32])
-+AM_CONDITIONAL(OS_WIN32, [test $os_win32 = yes])
-
- dnl *********************
- dnl *** GNOME support ***
-@@ -183,7 +188,9 @@ AM_CONDITIONAL(BUILD_LIBSOUP_GNOME, test $with_gnome != no)
-
- if test $with_gnome != no; then
- AC_DEFINE(HAVE_GNOME, 1, [Defined if GNOME support is enabled])
--
-+ if test $with_libsoup_system != no; then
-+ PKG_CHECK_MODULES(LIBSOUP, libsoup-$SOUP_API_VERSION = $VERSION)
-+ fi
- PKG_CHECK_MODULES(LIBPROXY, libproxy-1.0, :, [AC_MSG_ERROR(dnl
- [Could not find libproxy:
-
-diff --git a/libsoup/Makefile.am b/libsoup/Makefile.am
-index 949f243..a599c40 100644
---- a/libsoup/Makefile.am
-+++ b/libsoup/Makefile.am
-@@ -4,16 +4,18 @@ if OS_WIN32
- LIBWS2_32 = -lws2_32
- endif
-
--INCLUDES = \
-+INCLUDES =
-+lib_LTLIBRARIES =
-+
-+if BUILD_LIBSOUP
-+
-+INCLUDES += \
- -DG_LOG_DOMAIN=\"libsoup\" \
- -I$(top_srcdir) \
- $(SOUP_DEBUG_FLAGS) \
- $(SOUP_MAINTAINER_FLAGS) \
- $(GLIB_CFLAGS) \
- $(XML_CFLAGS) \
-- $(GCONF_CFLAGS) \
-- $(LIBPROXY_CFLAGS) \
-- $(SQLITE_CFLAGS) \
- $(LIBGCRYPT_CFLAGS) \
- $(LIBGNUTLS_CFLAGS)
-
-@@ -87,7 +89,7 @@ libsoupinclude_HEADERS = \
- $(soup_headers) \
- soup-enum-types.h
-
--lib_LTLIBRARIES = libsoup-2.4.la
-+lib_LTLIBRARIES += libsoup-2.4.la
-
- libsoup_2_4_la_LDFLAGS = \
- -version-info $(SOUP_CURRENT):$(SOUP_REVISION):$(SOUP_AGE) -no-undefined
-@@ -160,9 +162,15 @@ libsoup_2_4_la_SOURCES = \
- soup-uri.c \
- soup-value-utils.c \
- soup-xmlrpc.c
-+endif
-
- if BUILD_LIBSOUP_GNOME
-
-+INCLUDES += $(LIBSOUP_CFLAGS) \
-+ $(GCONF_CFLAGS) \
-+ $(LIBPROXY_CFLAGS) \
-+ $(SQLITE_CFLAGS)
-+
- libsoupgnomeincludedir = $(includedir)/libsoup-gnome-2.4/libsoup
-
- libsoupgnomeinclude_HEADERS = \
-@@ -172,15 +180,25 @@ libsoupgnomeinclude_HEADERS = \
-
- lib_LTLIBRARIES += libsoup-gnome-2.4.la
-
-+if BUILD_LIBSOUP
- libsoup_gnome_2_4_la_LDFLAGS = $(libsoup_2_4_la_LDFLAGS)
-+else
-+libsoup_gnome_2_4_la_LDFLAGS = \
-+ -version-info $(SOUP_CURRENT):$(SOUP_REVISION):$(SOUP_AGE) -no-undefined
-+endif
-
- libsoup_gnome_2_4_la_LIBADD = \
-- libsoup-2.4.la \
- $(GLIB_LIBS) \
- $(GCONF_LIBS) \
- $(LIBPROXY_LIBS) \
- $(SQLITE_LIBS)
-
-+if BUILD_LIBSOUP
-+libsoup_gnome_2_4_la_LIBADD += libsoup-2.4.la
-+else
-+libsoup_gnome_2_4_la_LIBADD += $(LIBSOUP_LIBS)
-+endif
-+
- libsoup_gnome_2_4_la_SOURCES = \
- soup-cookie-jar-sqlite.c \
- soup-gnome-features.c \
---
-1.6.5.rc1
-
diff --git a/net-libs/libsoup-gnome/files/libsoup-gnome-2.28.1-system-lib.patch b/net-libs/libsoup-gnome/files/libsoup-gnome-2.28.1-system-lib.patch
deleted file mode 100644
index 1d3ff5d40be9..000000000000
--- a/net-libs/libsoup-gnome/files/libsoup-gnome-2.28.1-system-lib.patch
+++ /dev/null
@@ -1,207 +0,0 @@
-From 4367b1c2801a4158f53f910a89255737a1c23b73 Mon Sep 17 00:00:00 2001
-From: Romain Perier <mrpouet@gentoo.org>
-Date: Tue, 29 Sep 2009 11:19:43 +0200
-Subject: [PATCH] Add --with-libsoup-system option in order to be able to build libsoup-gnome library without libsoup library
-
----
- Makefile.am | 13 +++++++---
- configure.in | 59 ++++++++++++++++++++++++++++----------------------
- libsoup/Makefile.am | 35 +++++++++++++++++++----------
- 3 files changed, 65 insertions(+), 42 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 686e2e6..a919d8d 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -2,7 +2,11 @@
- AUTOMAKE_OPTIONS = 1.6
- ACLOCAL_AMFLAGS = -I m4
-
--SUBDIRS = libsoup tests docs
-+SUBDIRS = libsoup
-+
-+if BUILD_LIBSOUP
-+SUBDIRS += tests docs
-+endif
-
- EXTRA_DIST = \
- libsoup-2.4.pc.in \
-@@ -13,9 +17,10 @@ EXTRA_DIST = \
- DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
-
- pkgconfigdir = $(libdir)/pkgconfig
--
--pkgconfig_DATA = libsoup-2.4.pc
--
-+pkgconfig_DATA=
-+if BUILD_LIBSOUP
-+pkgconfig_DATA += libsoup-2.4.pc
-+endif
- if BUILD_LIBSOUP_GNOME
- pkgconfig_DATA += libsoup-gnome-2.4.pc
- endif
-diff --git a/configure.in b/configure.in
-index 24e0390..3f375d4 100644
---- a/configure.in
-+++ b/configure.in
-@@ -81,7 +81,13 @@ AC_FUNC_ALLOCA
- dnl ***********************
- dnl *** Checks for glib ***
- dnl ***********************
--
-+PKG_PROG_PKG_CONFIG
-+enable_ssl=no
-+AC_ARG_WITH(libsoup-system,
-+ AS_HELP_STRING([--with-libsoup-system], [Use libsoup system library to build(default=no)]),
-+ [with_libsoup_system=$withval], [with_libsoup_system=no])
-+
-+if test "$with_libsoup_system" = "no"; then
- AM_PATH_GLIB_2_0(2.21.3,,,gobject gthread gio)
- if test "$GLIB_LIBS" = ""; then
- AC_MSG_ERROR(GLIB 2.21.3 or later is required to build libsoup)
-@@ -92,22 +98,6 @@ PKG_CHECK_MODULES(XML, libxml-2.0)
- AC_SUBST(XML_CFLAGS)
- AC_SUBST(XML_LIBS)
-
--dnl ***********************
--dnl *** Check for Win32 ***
--dnl ***********************
--
--AC_MSG_CHECKING([for Win32])
--case "$host" in
-- *-*-mingw*)
-- os_win32=yes
-- ;;
-- *)
-- os_win32=no
-- ;;
--esac
--AC_MSG_RESULT([$os_win32])
--AM_CONDITIONAL(OS_WIN32, [test $os_win32 = yes])
--
- dnl *******************
- dnl *** Misc checks ***
- dnl *******************
-@@ -169,10 +152,25 @@ fi
- AC_SUBST(LIBGNUTLS_CFLAGS)
- AC_SUBST(LIBGNUTLS_LIBS)
- AC_SUBST(SSL_REQUIREMENT)
--
-+fi
- dnl This is not supposed to be conditional, but...
- AM_CONDITIONAL(HAVE_SSL, test $enable_ssl != no)
-+AM_CONDITIONAL(BUILD_LIBSOUP, test $with_libsoup_system = no)
-+dnl ***********************
-+dnl *** Check for Win32 ***
-+dnl ***********************
-
-+AC_MSG_CHECKING([for Win32])
-+case "$host" in
-+ *-*-mingw*)
-+ os_win32=yes
-+ ;;
-+ *)
-+ os_win32=no
-+ ;;
-+esac
-+AC_MSG_RESULT([$os_win32])
-+AM_CONDITIONAL(OS_WIN32, [test $os_win32 = yes])
-
- dnl *********************
- dnl *** GNOME support ***
-@@ -197,7 +202,9 @@ AM_CONDITIONAL(BUILD_LIBSOUP_GNOME, test $with_gnome != no)
-
- if test $with_gnome != no; then
- AC_DEFINE(HAVE_GNOME, 1, [Defined if GNOME support is enabled])
--
-+ if test $with_libsoup_system != no; then
-+ PKG_CHECK_MODULES(LIBSOUP, libsoup-$SOUP_API_VERSION = $VERSION)
-+ fi
- PKG_CHECK_MODULES(LIBPROXY, libproxy-1.0, :, [AC_MSG_ERROR(dnl
- [Could not find libproxy:
-
-diff --git a/libsoup/Makefile.am b/libsoup/Makefile.am
-index c25b534..396c5f6 100644
---- a/libsoup/Makefile.am
-+++ b/libsoup/Makefile.am
-@@ -3,18 +3,16 @@
- if OS_WIN32
- LIBWS2_32 = -lws2_32
- endif
--
--INCLUDES = \
-+INCLUDES =
-+lib_LTLIBRARIES =
-+if BUILD_LIBSOUP
-+INCLUDES += \
- -DG_LOG_DOMAIN=\"libsoup\" \
- -I$(top_srcdir) \
- $(SOUP_DEBUG_FLAGS) \
- $(SOUP_MAINTAINER_FLAGS) \
- $(GLIB_CFLAGS) \
- $(XML_CFLAGS) \
-- $(GCONF_CFLAGS) \
-- $(LIBPROXY_CFLAGS) \
-- $(SQLITE_CFLAGS) \
-- $(GNOME_KEYRING_CFLAGS) \
- $(LIBGCRYPT_CFLAGS) \
- $(LIBGNUTLS_CFLAGS)
-
-@@ -90,7 +88,7 @@ libsoupinclude_HEADERS = \
- $(soup_headers) \
- soup-enum-types.h
-
--lib_LTLIBRARIES = libsoup-2.4.la
-+lib_LTLIBRARIES += libsoup-2.4.la
-
- libsoup_2_4_la_LDFLAGS = \
- -version-info $(SOUP_CURRENT):$(SOUP_REVISION):$(SOUP_AGE) -no-undefined
-@@ -163,9 +161,16 @@ libsoup_2_4_la_SOURCES = \
- soup-uri.c \
- soup-value-utils.c \
- soup-xmlrpc.c
-+endif
-
- if BUILD_LIBSOUP_GNOME
-
-+INCLUDES += $(LIBSOUP_CFLAGS) \
-+ $(GCONF_CFLAGS) \
-+ $(LIBPROXY_CFLAGS) \
-+ $(SQLITE_CFLAGS) \
-+ $(GNOME_KEYRING_CFLAGS)
-+
- libsoupgnomeincludedir = $(includedir)/libsoup-gnome-2.4/libsoup
-
- libsoupgnomeinclude_HEADERS = \
-@@ -174,17 +179,23 @@ libsoupgnomeinclude_HEADERS = \
- soup-gnome-features.h
-
- lib_LTLIBRARIES += libsoup-gnome-2.4.la
--
--libsoup_gnome_2_4_la_LDFLAGS = $(libsoup_2_4_la_LDFLAGS)
--
-+if BUILD_LIBSOUP
-+ libsoup_gnome_2_4_la_LDFLAGS = $(libsoup_2_4_la_LDFLAGS)
-+else
-+ libsoup_gnome_2_4_la_LDFLAGS = \
-+ -version-info $(SOUP_CURRENT):$(SOUP_REVISION):$(SOUP_AGE) -no-undefined
-+endif
- libsoup_gnome_2_4_la_LIBADD = \
-- libsoup-2.4.la \
- $(GLIB_LIBS) \
- $(GCONF_LIBS) \
- $(LIBPROXY_LIBS) \
- $(SQLITE_LIBS) \
- $(GNOME_KEYRING_LIBS)
--
-+if BUILD_LIBSOUP
-+ libsoup_gnome_2_4_la_LIBADD += libsoup-2.4.la
-+else
-+ libsoup_gnome_2_4_la_LIBADD += $(LIBSOUP_LIBS)
-+endif
- libsoup_gnome_2_4_la_SOURCES = \
- soup-cookie-jar-sqlite.c \
- soup-gnome-features.c \
---
-1.6.5.rc1
-
diff --git a/net-libs/libsoup-gnome/libsoup-gnome-2.26.3-r1.ebuild b/net-libs/libsoup-gnome/libsoup-gnome-2.26.3-r1.ebuild
deleted file mode 100644
index 61eaabb87a92..000000000000
--- a/net-libs/libsoup-gnome/libsoup-gnome-2.26.3-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libsoup-gnome/libsoup-gnome-2.26.3-r1.ebuild,v 1.13 2010/07/20 15:39:19 jer Exp $
-
-EAPI="2"
-
-inherit autotools eutils gnome2
-
-MY_PN=${PN/-gnome}
-MY_P=${MY_PN}-${PV}
-
-DESCRIPTION="GNOME plugin for libsoup"
-HOMEPAGE="http://www.gnome.org/"
-SRC_URI="mirror://gnome/sources/${MY_PN}/${MY_P}.tar.bz2"
-
-LICENSE="LGPL-2"
-SLOT="2.4"
-KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-solaris"
-# Do NOT build with --disable-debug/--enable-debug=no - gnome2.eclass takes care of that
-IUSE="debug doc"
-
-RDEPEND="!<net-libs/libsoup-2.26.3-r3[gnome]
- ~net-libs/libsoup-${PV}
- net-libs/libproxy
- >=gnome-base/gconf-2
- dev-db/sqlite:3"
-DEPEND="${RDEPEND}
- >=dev-util/pkgconfig-0.9
- doc? ( >=dev-util/gtk-doc-1 )"
-
-S=${WORKDIR}/${MY_P}
-
-DOCS="AUTHORS NEWS README"
-
-pkg_setup() {
- G2CONF="${G2CONF}
- --disable-static
- --with-libsoup-system
- --with-gnome"
-}
-src_prepare() {
- gnome2_src_prepare
-
- # Fix test to follow POSIX (for x86-fbsd)
- # No patch to prevent having to eautoreconf
- sed -e 's/\(test.*\)==/\1=/g' -i configure.in configure || die "sed failed"
-
- epatch "${FILESDIR}"/${P}-system-lib.patch
- eautoreconf
-}
diff --git a/net-libs/libsoup-gnome/libsoup-gnome-2.28.2.ebuild b/net-libs/libsoup-gnome/libsoup-gnome-2.28.2.ebuild
deleted file mode 100644
index 486ce0cfddfb..000000000000
--- a/net-libs/libsoup-gnome/libsoup-gnome-2.28.2.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libsoup-gnome/libsoup-gnome-2.28.2.ebuild,v 1.8 2010/09/09 13:32:47 ranger Exp $
-
-EAPI="2"
-
-inherit autotools eutils gnome2
-
-MY_PN=${PN/-gnome}
-MY_P=${MY_PN}-${PV}
-
-DESCRIPTION="GNOME plugin for libsoup"
-HOMEPAGE="http://www.gnome.org/"
-SRC_URI="${SRC_URI//-gnome}"
-
-LICENSE="LGPL-2"
-SLOT="2.4"
-KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-solaris"
-# Do NOT build with --disable-debug/--enable-debug=no - gnome2.eclass takes care of that
-IUSE="debug doc"
-
-RDEPEND="~net-libs/libsoup-${PV}
- gnome-base/gnome-keyring
- net-libs/libproxy
- >=gnome-base/gconf-2
- dev-db/sqlite:3"
-DEPEND="${RDEPEND}
- >=dev-util/pkgconfig-0.9
- dev-util/gtk-doc-am
- doc? ( >=dev-util/gtk-doc-1 )"
-
-S=${WORKDIR}/${MY_P}
-
-DOCS="AUTHORS NEWS README"
-
-pkg_setup() {
- G2CONF="${G2CONF}
- --disable-static
- --with-libsoup-system
- --with-gnome"
-}
-src_prepare() {
- gnome2_src_prepare
-
- # Fix test to follow POSIX (for x86-fbsd)
- # No patch to prevent having to eautoreconf
- sed -e 's/\(test.*\)==/\1=/g' -i configure.in configure || die "sed failed"
-
- # Use lib present on the system
- epatch "${FILESDIR}"/${PN}-2.28.1-system-lib.patch
- eautoreconf
-}