You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.8 KiB
69 lines
1.8 KiB
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-libs/totem-pl-parser/totem-pl-parser-2.32.6.ebuild,v 1.9 2012/11/07 21:43:33 tetromino Exp $
|
|
|
|
EAPI="4"
|
|
GCONF_DEBUG="no"
|
|
GNOME2_LA_PUNT="yes"
|
|
|
|
inherit gnome2
|
|
|
|
DESCRIPTION="Playlist parsing library"
|
|
HOMEPAGE="http://projects.gnome.org/totem/ http://developer.gnome.org/totem-pl-parser/stable/"
|
|
|
|
# eautoreconf needs:
|
|
#SRC_URI="${SRC_URI} mirror://gentoo/introspection-20110205.m4.tar.bz2"
|
|
|
|
LICENSE="LGPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="ppc ppc64"
|
|
IUSE="archive doc +introspection +quvi"
|
|
|
|
RDEPEND=">=dev-libs/glib-2.24:2
|
|
dev-libs/gmime:2.4
|
|
>=net-libs/libsoup-gnome-2.30:2.4
|
|
archive? ( >=app-arch/libarchive-2.8.4 )
|
|
introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
|
|
quvi? ( >=media-libs/quvi-0.2.15 )"
|
|
DEPEND="${RDEPEND}
|
|
!<media-video/totem-2.21
|
|
>=sys-devel/gettext-0.17
|
|
>=dev-util/intltool-0.35
|
|
doc? ( >=dev-util/gtk-doc-1.11 )"
|
|
# eautoreconf needs:
|
|
# >=dev-util/gtk-doc-am-1.11
|
|
|
|
pkg_setup() {
|
|
G2CONF="${G2CONF}
|
|
--disable-static
|
|
--disable-maintainer-mode
|
|
$(use_enable archive libarchive)
|
|
$(use_enable quvi)
|
|
$(use_enable introspection)"
|
|
DOCS="AUTHORS ChangeLog NEWS"
|
|
}
|
|
|
|
# eautoreconf needs:
|
|
#src_unpack() {
|
|
# # If gobject-introspection is installed, we don't need the extra .m4
|
|
# if has_version "dev-libs/gobject-introspection"; then
|
|
# unpack ${P}.tar.bz2
|
|
# else
|
|
# unpack ${A}
|
|
# fi
|
|
#}
|
|
|
|
src_prepare() {
|
|
gnome2_src_prepare
|
|
|
|
# Disable tests requiring network access, bug #346127
|
|
sed -e 's:\(g_test_add_func.*/parser/resolution.*\):/*\1*/:' \
|
|
-e 's:\(g_test_add_func.*/parser/parsing/itms_link.*\):/*\1*/:' \
|
|
-i plparse/tests/parser.c || die "sed failed"
|
|
}
|
|
|
|
src_test() {
|
|
# This is required as told by upstream in bgo#629542
|
|
dbus-launch emake check || die "emake check failed"
|
|
}
|