Files
gentoo/net-libs/libdmapsharing/libdmapsharing-3.9.13.ebuild
Michał Górny 6a3644bf2f */*: Add := to virtual/zlib deps, part 1
Done via:

```
git grep -l virtual/zlib$ | xargs sed -i -e 's@virtual/zlib$@&:=@'
```

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-11-04 10:36:27 +01:00

46 lines
1.1 KiB
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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="4.0/3"
KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
IUSE="+introspection test"
RESTRICT="!test? ( test ) test" # TODO: Tests require Avahi mDNS to be running
# 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.66:2
x11-libs/gdk-pixbuf:2
>=net-dns/avahi-0.6[dbus]
net-libs/libsoup:3.0
media-libs/gstreamer:1.0
media-libs/gst-plugins-base:1.0
virtual/zlib:=
introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= )
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-util/glib-utils
dev-build/gtk-doc-am
virtual/pkgconfig
test? ( >=dev-libs/check-0.9.4 )
"
src_configure() {
local myconf=(
--with-mdns=avahi
$(use_enable introspection)
$(use_enable test tests)
)
gnome2_src_configure "${myconf[@]}"
}