blob: fee9bd71ee36d27f66b095c4c21201672b7f1160 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/gssdp/gssdp-0.12.0.ebuild,v 1.3 2012/05/05 02:54:27 jdhore Exp $
EAPI=4
inherit eutils gnome.org multilib
DESCRIPTION="A GObject-based API for handling resource discovery and announcement over SSDP."
HOMEPAGE="http://gupnp.org/"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="+introspection +gtk"
RDEPEND=">=dev-libs/glib-2.22:2
>=net-libs/libsoup-2.26.1:2.4[introspection?]
gtk? ( >=x11-libs/gtk+-2.12:2 )
introspection? ( >=dev-libs/gobject-introspection-0.6.7 )"
DEPEND="${RDEPEND}
virtual/pkgconfig
sys-devel/gettext"
src_configure() {
econf \
$(use_enable introspection) \
$(use_with gtk) \
--disable-dependency-tracking \
--disable-static \
--disable-gtk-doc
}
src_install() {
default
# Remove pointless .la files
find "${D}" -name '*.la' -delete
}
pkg_preinst() {
preserve_old_lib /usr/$(get_libdir)/libgssdp-1.0.so.2
}
pkg_postinst() {
preserve_old_lib_notify /usr/$(get_libdir)/libgssdp-1.0.so.2
}
|