From 27a917d68f65a839c575e3ed31dcb5ff42b6fa48 Mon Sep 17 00:00:00 2001 From: Dan Head Date: Fri, 20 Mar 2026 21:58:54 +0000 Subject: [PATCH] 1.8.0-3 - Add missing dependencies - Add license - Add Makefile to update, build and test --- .SRCINFO | 13 +++++++++++-- Makefile | 35 +++++++++++++++++++++++++++++++++++ PKGBUILD | 20 +++++++++++++++++--- README.md | 41 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 104 insertions(+), 5 deletions(-) create mode 100644 Makefile create mode 100644 README.md diff --git a/.SRCINFO b/.SRCINFO index 22152c3..5b625dd 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,9 +1,18 @@ pkgbase = playback-appimage - pkgdesc = Playback software for Epilogue's GB Operator + pkgdesc = Playback software for Epilogue Operator devices pkgver = 1.8.0 - pkgrel = 2 + pkgrel = 3 url = https://www.epilogue.co arch = x86_64 + license = LicenseRef-proprietary + depends = bash + depends = fuse2 + depends = gcc-libs + depends = glibc + depends = hicolor-icon-theme + depends = libglvnd + depends = libusb + depends = zlib options = !strip source = Playback-1.8.0.AppImage::https://epilogue.nyc3.digitaloceanspaces.com/releases/software/Playback/version/1.8.0/release/linux/Playback.AppImage source = playback.sh diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1743b63 --- /dev/null +++ b/Makefile @@ -0,0 +1,35 @@ +.PHONY: build test clean update push srcinfo + +# Build the package +build: + rm -f *.pkg.tar.zst + makepkg -sf + +# Build and run namcap checks (filter AppImage-related false positives) +test: build + @output=$$(namcap PKGBUILD 2>&1 | grep -v "may not be needed ('fuse2')"); \ + if [ -n "$$output" ]; then echo "$$output"; exit 1; fi + @output=$$(namcap *.pkg.tar.zst 2>&1 | grep -v -e "ELF files outside" -e "lacks FULL RELRO" -e "lacks PIE" -e "is empty" -e "lacks GNU_PROPERTY" -e "may not be needed"); \ + if [ -n "$$output" ]; then echo "$$output"; exit 1; fi + +# Clean build artifacts +clean: + rm -rf pkg/ src/ *.pkg.tar.zst squashfs-root/ + +# Regenerate .SRCINFO +srcinfo: + makepkg --printsrcinfo > .SRCINFO + +# Update to a new version: make update VERSION=x.y.z +update: + @test -n "$(VERSION)" || (echo "Usage: make update VERSION=x.y.z" && exit 1) + sed -i 's/^pkgver=.*/pkgver=$(VERSION)/' PKGBUILD + sed -i 's/^pkgrel=.*/pkgrel=1/' PKGBUILD + updpkgsums + $(MAKE) srcinfo + +# Build, test, commit, and push to AUR +push: test srcinfo + git add PKGBUILD .SRCINFO + git commit -m "$$(grep '^pkgver=' PKGBUILD | cut -d= -f2)-$$(grep '^pkgrel=' PKGBUILD | cut -d= -f2)" + git push origin master diff --git a/PKGBUILD b/PKGBUILD index d32560d..b5284b7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,11 +2,21 @@ pkgname=playback-appimage pkgver=1.8.0 -pkgrel=2 -pkgdesc="Playback software for Epilogue's GB Operator" +pkgrel=3 +pkgdesc="Playback software for Epilogue Operator devices" arch=('x86_64') url="https://www.epilogue.co" -license=() +license=('LicenseRef-proprietary') +depends=( + 'bash' + 'fuse2' + 'gcc-libs' + 'glibc' + 'hicolor-icon-theme' + 'libglvnd' + 'libusb' + 'zlib' +) options=(!strip) _filename="Playback.AppImage" @@ -29,6 +39,7 @@ prepare () { chmod +x $_appimage ./$_appimage --appimage-extract "usr/share/icons/hicolor/*/apps/Playback.png" > /dev/null 2>&1 ./$_appimage --appimage-extract "$_squashfs_desktop_file" > /dev/null 2>&1 + ./$_appimage --appimage-extract "usr/share/licenses/playback/LICENSE" > /dev/null 2>&1 } package() { @@ -48,4 +59,7 @@ package() { # Install udev rules for GB Operator device access install -Dm644 "60-gb-operator.rules" "$pkgdir/usr/lib/udev/rules.d/60-gb-operator.rules" + + # Install license + install -Dm644 "squashfs-root/usr/share/licenses/playback/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } diff --git a/README.md b/README.md new file mode 100644 index 0000000..46e0daf --- /dev/null +++ b/README.md @@ -0,0 +1,41 @@ +# playback-appimage + +AUR package for [Playback](https://www.epilogue.co), the software for Epilogue +Operator devices. + +## Installation + +From the AUR: + +```bash +yay -S playback-appimage +``` + +Or manually: + +```bash +git clone https://aur.archlinux.org/playback-appimage.git +cd playback-appimage +makepkg -si +``` + +## Building + +```bash +make build # Build the package +make test # Build and run namcap checks +make clean # Remove build artifacts +``` + +## Updating to a New Version + +```bash +make update VERSION=x.y.z +make test +make push +``` + +## License + +The PKGBUILD and associated files are provided as-is. Playback itself is +proprietary software by [Epilogue](https://www.epilogue.co).