commit 5f89ade0d039c0f9d8dc19dab73aa63d73e2dd08 Author: elgato Date: Fri Feb 6 20:53:00 2026 -0600 Initial upload: winamp-mpris 0.1.1-1 diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..171e7d450006 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = winamp-mpris + pkgdesc = MPRIS bridge for Winamp running under Wine (exposes a playerctl-compatible MPRIS endpoint) + pkgver = 0.1.1 + pkgrel = 1 + url = https://github.com/elgatolinux/winamp-mpris + arch = any + license = MIT + depends = python + depends = wine + depends = playerctl + depends = python-dbus-next + provides = winamp-mpris + source = git+https://github.com/elgatolinux/winamp-mpris.git#branch=main + sha256sums = SKIP + +pkgname = winamp-mpris diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e14a0672c59f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: el gato +pkgname=winamp-mpris +pkgver=0.1.1 +pkgrel=1 +pkgdesc="MPRIS bridge for Winamp running under Wine (exposes a playerctl-compatible MPRIS endpoint)" +arch=('any') +url="https://github.com/elgatolinux/winamp-mpris" +license=('MIT') +depends=('python' 'wine' 'playerctl' 'python-dbus-next') +provides=('winamp-mpris') +conflicts=() +replaces=() +source=(git+${url}.git#branch=main) + +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/$pkgname" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +prepare() { + cd "$srcdir" + +} + +package() { + cd "${srcdir}/${pkgname}" + pwd + install -Dm755 winamp-mpris.py "$pkgdir/usr/bin/winamp-mpris" + + install -Dm644 winamp-mpris.service "$pkgdir/usr/lib/systemd/user/winamp-mpris.service" + # Install clamp.exe to a read-only system location so Wine can reference it via Z: drive + install -Dm644 clamp.exe "$pkgdir/usr/share/winamp-mpris/clamp.exe" + + + +} +