- Add missing dependencies
- Add license
- Add Makefile to update, build and test
This commit is contained in:
2026-03-20 21:58:54 +00:00
parent 43227d2e6a
commit 27a917d68f
4 changed files with 104 additions and 5 deletions

View File

@@ -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

35
Makefile Normal file
View File

@@ -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

View File

@@ -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"
}

41
README.md Normal file
View File

@@ -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).