From eeefc0c7db8f041c16edb1b8f39e72bb1e934691 Mon Sep 17 00:00:00 2001 From: Alexander Miroshnichenko Date: Thu, 20 Apr 2023 12:25:57 +0300 Subject: [PATCH] add media-plugins/deadbeef-pipewire package --- media-plugins/deadbeef-pipewire/Manifest | 1 + .../deadbeef-pipewire-9999.ebuild | 36 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 media-plugins/deadbeef-pipewire/Manifest create mode 100644 media-plugins/deadbeef-pipewire/deadbeef-pipewire-9999.ebuild diff --git a/media-plugins/deadbeef-pipewire/Manifest b/media-plugins/deadbeef-pipewire/Manifest new file mode 100644 index 0000000..b5e27a9 --- /dev/null +++ b/media-plugins/deadbeef-pipewire/Manifest @@ -0,0 +1 @@ +EBUILD deadbeef-pipewire-9999.ebuild 834 BLAKE2B 9a49317f47aacc2b9c12803a0b9750d70fcd7fd210a8096cd6d3ad2088e4fdac4287e3a5e9eb1d7f9aae3f59a92ff9f0a3619bd6c1b9b2c67459713eec3d1be7 SHA512 473fc4fa582db4778ff7a68b8d8faee20b67e1d6c70b765c0a5d4a3ce4ca039d1ca7916da5e8895b335173ae5fdffee236c32572d5bd948c3fb2884f44915cf3 diff --git a/media-plugins/deadbeef-pipewire/deadbeef-pipewire-9999.ebuild b/media-plugins/deadbeef-pipewire/deadbeef-pipewire-9999.ebuild new file mode 100644 index 0000000..e182167 --- /dev/null +++ b/media-plugins/deadbeef-pipewire/deadbeef-pipewire-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="PipeWire output plugin for DeaDBeeF Music Player" +HOMEPAGE="https://github.com/saivert/ddb_output_pw" +MY_PN="ddb_output_pw" + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/saivert/${MY_PN}.git" + inherit autotools git-r3 +else + KEYWORDS="~amd64" + SRC_URI="https://github.com/saivert/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${MY_PN}-${PV}.tar.gz" + S="${WORKDIR}/${MY_PN}-${PV}" +fi + +LICENSE="GPL-2.0" +SLOT="0" +IUSE="" + +DEPEND_COMMON=" + media-video/pipewire + media-sound/deadbeef" + +RDEPEND="${DEPEND_COMMON}" +DEPEND="${DEPEND_COMMON}" + +src_configure() { + sed -i "s@lib/deadbeef@$(get_libdir)/deadbeef@" meson.build + + meson_src_configure +}