diff options
Diffstat (limited to 'net-libs/dleyna/dleyna-0.8.0.ebuild')
-rw-r--r-- | net-libs/dleyna/dleyna-0.8.0.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/net-libs/dleyna/dleyna-0.8.0.ebuild b/net-libs/dleyna/dleyna-0.8.0.ebuild new file mode 100644 index 000000000000..52fd2e2448ae --- /dev/null +++ b/net-libs/dleyna/dleyna-0.8.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="dLeyna is a set of services and D-Bus APIs that aim to simplify access to UPnP and DLNA media devices in a network" +HOMEPAGE="https://gitlab.gnome.org/World/dLeyna" +SRC_URI="https://gitlab.gnome.org/World/dLeyna/-/archive/v0.8.0/dLeyna-v${PV}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="1.0/6" # soname of libdleyna-core-1.0.so +KEYWORDS="amd64 ~arm64 ~riscv x86" + +RDEPEND=" + >=dev-libs/glib-2.28:2 + >=net-libs/gssdp-1.6.0:1.6= + >=net-libs/gupnp-1.6.0:1.6= + >=net-libs/gupnp-av-0.12.9:0= + >=media-libs/gupnp-dlna-0.9.4:2.0= + >=net-libs/libsoup-3.0:3.0 + dev-libs/libxml2 + + !net-libs/dleyna-connector-dbus + !net-libs/dleyna-core + !net-libs/dleyna-renderer + !net-misc/dleyna-server +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/docutils + virtual/pkgconfig +" + +S="${WORKDIR}"/dLeyna-v${PV} + +src_prepare() { + default + sed -i -e "s/'rst2man'/'rst2man', 'rst2man.py'/g" doc/meson.build || die +} + +src_configure() { + local emesonargs=( + -Ddbus_service_dir="${EPREFIX}/usr/share/dbus-1/services" + -Dman_pages=true + -Ddocs=false + ) + meson_src_configure +} |