diff options
Diffstat (limited to 'dev-libs/totem-pl-parser/totem-pl-parser-3.10.8.ebuild')
-rw-r--r-- | dev-libs/totem-pl-parser/totem-pl-parser-3.10.8.ebuild | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/dev-libs/totem-pl-parser/totem-pl-parser-3.10.8.ebuild b/dev-libs/totem-pl-parser/totem-pl-parser-3.10.8.ebuild new file mode 100644 index 000000000000..a997be14131e --- /dev/null +++ b/dev-libs/totem-pl-parser/totem-pl-parser-3.10.8.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_EAUTORECONF="yes" +inherit gnome2 + +DESCRIPTION="Playlist parsing library" +HOMEPAGE="https://developer.gnome.org/totem-pl-parser/stable/" + +LICENSE="LGPL-2+" +SLOT="0/18" +IUSE="archive crypt +introspection +quvi test" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" + +RDEPEND=" + >=dev-libs/glib-2.31:2 + dev-libs/gmime:2.6 + >=net-libs/libsoup-2.43:2.4 + archive? ( >=app-arch/libarchive-3 ) + crypt? ( dev-libs/libgcrypt:0= ) + introspection? ( >=dev-libs/gobject-introspection-0.9.5:= ) + quvi? ( >=media-libs/libquvi-0.9.1:0= ) +" +DEPEND="${RDEPEND} + !<media-video/totem-2.21 + dev-libs/gobject-introspection-common + >=dev-util/intltool-0.35 + >=dev-util/gtk-doc-am-1.14 + sys-devel/autoconf-archive + >=sys-devel/gettext-0.17 + virtual/pkgconfig + test? ( + gnome-base/gvfs[http] + sys-apps/dbus ) +" +# eautoreconf needs: +# dev-libs/gobject-introspection-common +# sys-devel/autoconf-archive + +PATCHES=( + # Fix gmime slot automagic, https://bugzilla.gnome.org/786231 + "${FILESDIR}"/${P}-gmime-automagic.patch +) + +src_prepare() { + # Disable tests requiring network access, bug #346127 + # 3rd test fails on upgrade, not once installed + sed -e 's:\(g_test_add_func.*/parser/resolution.*\):/*\1*/:' \ + -e 's:\(g_test_add_func.*/parser/parsing/itms_link.*\):/*\1*/:' \ + -e 's:\(g_test_add_func.*/parser/parsability.*\):/*\1/:'\ + -i plparse/tests/parser.c || die "sed failed" + + gnome2_src_prepare +} + +src_configure() { + # uninstalled-tests is abused to switch from loading live FS helper + # to in-build-tree helper, check on upgrades this is not having other + # consequences, bug #630242 + gnome2_src_configure \ + --disable-static \ + --enable-gmime=2.6 \ + --enable-uninstalled-tests \ + $(use_enable archive libarchive) \ + $(use_enable crypt libgcrypt) \ + $(use_enable quvi) \ + $(use_enable introspection) +} + +src_test() { + # This is required as told by upstream in bgo#629542 + GVFS_DISABLE_FUSE=1 dbus-run-session emake check +} |