View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
GITHUB_USER="hoshinolina"
DESCRIPTION="PipeWire application audio capture plugin for OBS Studio"
LICENSE="GPL-2"
SLOT="0"
inherit github-pkg cmake
if [[ ${PV} != "9999" ]]; then
KEYWORDS="~amd64 ~x86"
if [[ ${PV} == "0.1.1" ]]; then
# faulty tarball name
MY_P="${P/0.1.1/0.1.0}-source"
else
# normal
MY_P="${P}-source"
fi
SRC_URI="${GITHUB_HOMEPAGE}/releases/download/${PV}/${MY_P}.tar.xz"
S="${WORKDIR}/${MY_P}"
fi
DEPEND="
media-video/obs-studio
>=media-video/pipewire-1.2.4"
RDEPEND="${DEPEND}"