dev-libs/totem-pl-parser: Version bump
authorPacho Ramos <pacho@gentoo.org>
Sat, 8 Oct 2016 09:43:22 +0000 (11:43 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sat, 8 Oct 2016 09:51:05 +0000 (11:51 +0200)
Package-Manager: portage-2.3.1

dev-libs/totem-pl-parser/Manifest
dev-libs/totem-pl-parser/totem-pl-parser-3.10.7.ebuild [new file with mode: 0644]

index 9cd8e61e8062f53379a230fcb62ef3175f42a13c..34ad0e1d0db63454fd825c1fd9560728c46e77f5 100644 (file)
@@ -1 +1,2 @@
 DIST totem-pl-parser-3.10.6.tar.xz 1606636 SHA256 98a5d9bed1b1c012aeb2692ded2fd49399593f70f297f43e01fc1c5e13576757 SHA512 366de6ea11eb7ad80de9832eecd814fa3868fb9e3149f314f7056861eff1b6f6943b009b637145984d33f51fddfcb93ec2bd9103b6fcb68732cddcc77fbc4721 WHIRLPOOL 02d5ca378828b41b2bbc8750c15c70bebbeef7283a92e1bca8265623ff276091cddf0acc9740ec7af797a03bbbf1036ad14079f28b1527799838c0cd719e1bd6
+DIST totem-pl-parser-3.10.7.tar.xz 1608864 SHA256 9c8285bc3131faa309d5cba5a919d5166abc2b8cc5a0c850fe861be8b14e089c SHA512 681ebd61680a4aab3fc4d1d1d158d1d938c0a015f25464169862e0fa3b108af0d0392151a0f4661aa0edafdd7f83ea7f3296dfd01cabdcf3bcac36be488e764e WHIRLPOOL e5549425ac4912f2fe84b5af875d29dc2f049e64f9652671272600697b7d208929c3752d806e31c24b173dea44423e6f23a8fc1fd75417614359a9cda6ba5efd
diff --git a/dev-libs/totem-pl-parser/totem-pl-parser-3.10.7.ebuild b/dev-libs/totem-pl-parser/totem-pl-parser-3.10.7.ebuild
new file mode 100644 (file)
index 0000000..c6df4a3
--- /dev/null
@@ -0,0 +1,62 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+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 ~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-util/intltool-0.35
+       >=dev-util/gtk-doc-am-1.14
+       >=sys-devel/gettext-0.17
+       virtual/pkgconfig
+       test? (
+               gnome-base/gvfs[http]
+               sys-apps/dbus )
+"
+# eautoreconf needs:
+#      dev-libs/gobject-introspection-common
+#      >=gnome-base/gnome-common-3.6
+
+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() {
+       gnome2_src_configure \
+               --disable-static \
+               $(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 || die "emake check failed"
+}