mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41919 Signed-off-by: Sam James <sam@gentoo.org>
58 lines
1.3 KiB
Bash
58 lines
1.3 KiB
Bash
# Copyright 2022-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
PYTHON_COMPAT=( python3_{10..13} )
|
|
|
|
inherit meson python-single-r1
|
|
|
|
DESCRIPTION="A set of services and D-Bus APIs to simplify access to UPnP/DLNA media devices"
|
|
HOMEPAGE="https://gitlab.gnome.org/World/dLeyna"
|
|
SRC_URI="https://gitlab.gnome.org/World/dLeyna/-/archive/v${PV}/dLeyna-v${PV}.tar.bz2"
|
|
S="${WORKDIR}"/dLeyna-v${PV}
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="1.0/6" # soname of libdleyna-core-1.0.so
|
|
KEYWORDS="amd64 ~arm64 ~loong ~riscv x86"
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
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:=
|
|
|
|
${PYTHON_DEPS}
|
|
|
|
!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
|
|
"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${PN}-0.8.3-fix-basename-declration-musl.patch"
|
|
)
|
|
|
|
src_configure() {
|
|
local emesonargs=(
|
|
-Ddbus_service_dir="${EPREFIX}/usr/share/dbus-1/services"
|
|
-Dman_pages=true
|
|
-Ddocs=false
|
|
)
|
|
meson_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
meson_src_install
|
|
python_optimize
|
|
}
|