blob: 2c3af4cd05ce0ad5f33c5016173f68fab86e3c94 (
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
47
48
49
50
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
GNOME2_EAUTORECONF=yes
inherit gnome2
DESCRIPTION="A library that implements the DMAP family of protocols"
HOMEPAGE="https://www.flyn.org/projects/libdmapsharing/"
SRC_URI="https://www.flyn.org/projects/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="3.0/2"
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86"
IUSE="+introspection test"
RESTRICT="!test? ( test )"
# Vala/libgee/gtk+:2 is only used when maintainer-mode is enabled
# Doesn't seem to be used for anything...
RDEPEND="
>=dev-libs/glib-2.36:2
x11-libs/gdk-pixbuf:2
>=net-dns/avahi-0.6[dbus]
>=net-libs/libsoup-2.48.0:2.4
media-libs/gstreamer:1.0
media-libs/gst-plugins-base:1.0
sys-libs/zlib
introspection? ( >=dev-libs/gobject-introspection-1.30:= )
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-util/glib-utils
dev-util/gtk-doc-am
virtual/pkgconfig
test? ( >=dev-libs/check-0.9.4 )
"
src_prepare() {
# Remove useless CFLAGS alteration in configure
sed -e 's/CFLAGS -O2/CFLAGS/' -i configure.ac || die
gnome2_src_prepare
}
src_configure() {
gnome2_src_configure \
--with-mdns=avahi \
$(use_enable introspection) \
$(use_enable test tests)
}
|