From aa12fa4c8af66c0670eac3f155a449970656a3f0 Mon Sep 17 00:00:00 2001 From: AntiApple4life Date: Tue, 3 Feb 2026 19:37:08 -0500 Subject: [PATCH] initial commit --- .SRCINFO | 16 ++++++++++++++++ PKGBUILD | 23 +++++++++++++++++++++++ instructions.install | 11 +++++++++++ 3 files changed, 50 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD create mode 100644 instructions.install diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000000000..19a8db32a6288 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = spout2pw-bin + pkgdesc = Spout2 to PipeWire bridge + pkgver = 0.1.3 + pkgrel = 1 + url = https://github.com/hoshinolina/spout2pw + install = instructions.install + arch = x86_64 + license = LGPL-2.1-only + optdepends = obs-pwvideo: For use with OBS + provides = spout2pw + conflicts = spout2pw + options = !strip + source = https://github.com/hoshinolina/spout2pw/releases/download/0.1.3/spout2pw-0.1.3-bin.tar.gz + sha256sums = 44019e31eb500ad6487524707479831735193872f69108991afa42d3e1c8e4ae + +pkgname = spout2pw-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000000000..60e32e38e424f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: AntiApple4life +_pkgname=spout2pw +pkgname=${_pkgname}-bin +pkgver=0.1.3 +pkgrel=1 +arch=('x86_64') +pkgdesc="Spout2 to PipeWire bridge" +url="https://github.com/hoshinolina/spout2pw" +license=('LGPL-2.1-only') +depends=() +makedepends=() +optdepends=('obs-pwvideo: For use with OBS') +provides=("${_pkgname}") +conflicts=("${_pkgname}") +options=(!strip) +install=instructions.install +source=("https://github.com/hoshinolina/spout2pw/releases/download/${pkgver}/spout2pw-${pkgver}-bin.tar.gz") +sha256sums=('44019e31eb500ad6487524707479831735193872f69108991afa42d3e1c8e4ae') + +package() { + mkdir -p $pkgdir/opt/${_pkgname} + cp -r $_pkgname-$pkgver/* $pkgdir/opt/${_pkgname} +} diff --git a/instructions.install b/instructions.install new file mode 100644 index 0000000000000..8f965c5568b40 --- /dev/null +++ b/instructions.install @@ -0,0 +1,11 @@ +BOLD='\033[1m' +GREEN='\033[32m' +RESET='\033[0m' + +post_install() { + echo + echo -e "${BOLD}spout2pw${RESET} has been installed at ${BOLD}/opt${RESET}." + echo -e "To use ${BOLD}spout2pw${RESET}, follow the instructions at:" + echo "https://github.com/hoshinolina/spout2pw/wiki" + echo +}