1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
10 DESCRIPTION="Playlist parsing library"
11 HOMEPAGE="https://developer.gnome.org/totem-pl-parser/stable/"
15 IUSE="archive crypt +introspection +quvi test"
16 KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
19 >=dev-libs/glib-2.31:2
21 >=net-libs/libsoup-2.43:2.4
22 archive? ( >=app-arch/libarchive-3 )
23 crypt? ( dev-libs/libgcrypt:0= )
24 introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
25 quvi? ( >=media-libs/libquvi-0.9.1:0= )
28 !<media-video/totem-2.21
29 >=dev-util/intltool-0.35
30 >=dev-util/gtk-doc-am-1.14
31 >=sys-devel/gettext-0.17
38 # dev-libs/gobject-introspection-common
39 # >=gnome-base/gnome-common-3.6
42 # Disable tests requiring network access, bug #346127
43 # 3rd test fails on upgrade, not once installed
44 sed -e 's:\(g_test_add_func.*/parser/resolution.*\):/*\1*/:' \
45 -e 's:\(g_test_add_func.*/parser/parsing/itms_link.*\):/*\1*/:' \
46 -e 's:\(g_test_add_func.*/parser/parsability.*\):/*\1/:'\
47 -i plparse/tests/parser.c || die "sed failed"
53 gnome2_src_configure \
55 $(use_enable archive libarchive) \
56 $(use_enable crypt libgcrypt) \
58 $(use_enable introspection)
62 # This is required as told by upstream in bgo#629542
63 GVFS_DISABLE_FUSE=1 dbus-launch emake check || die "emake check failed"