1.8.0-2
- Install udev rule for permissive access to GB Operator, user no longer needs to be a member of uucp group - Install wrapper script that sets QT_QPA_PLATFORM=xcb on launch
This commit is contained in:
6
.SRCINFO
6
.SRCINFO
@@ -1,11 +1,15 @@
|
|||||||
pkgbase = playback-appimage
|
pkgbase = playback-appimage
|
||||||
pkgdesc = Playback software for Epilogue's GB Operator
|
pkgdesc = Playback software for Epilogue's GB Operator
|
||||||
pkgver = 1.8.0
|
pkgver = 1.8.0
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://www.epilogue.co
|
url = https://www.epilogue.co
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
options = !strip
|
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-1.8.0.AppImage::https://epilogue.nyc3.digitaloceanspaces.com/releases/software/Playback/version/1.8.0/release/linux/Playback.AppImage
|
||||||
|
source = playback.sh
|
||||||
|
source = 60-gb-operator.rules
|
||||||
sha512sums = 1216eec1167d9d60beebe87d130eb8caa7a54fca3b9be59bb9e4aa7cbdfa030b29c622ada1a683db32f0033295cbde319a35d9107220cb24520a1e34e44a94eb
|
sha512sums = 1216eec1167d9d60beebe87d130eb8caa7a54fca3b9be59bb9e4aa7cbdfa030b29c622ada1a683db32f0033295cbde319a35d9107220cb24520a1e34e44a94eb
|
||||||
|
sha512sums = 2ea22a28795914314d73b52fe94d0e7875b54ae3a1240c62f408c33e26f1a06099f273a7af43e439fe6259e7a4270d18f944f5aedfc5295bd1de4f3223ef4dad
|
||||||
|
sha512sums = af2c3f33e02de571bebaa4ec9097922f78e9c5d27d7c308ae15a3387dfad39029b229e998ef2ad0759bfe40774121b690e6702082cbc544a29a9f10616bc282d
|
||||||
|
|
||||||
pkgname = playback-appimage
|
pkgname = playback-appimage
|
||||||
|
|||||||
3
60-gb-operator.rules
Normal file
3
60-gb-operator.rules
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Epilogue GB Operator
|
||||||
|
SUBSYSTEM=="usb", ATTR{idVendor}=="16d0", ATTR{idProduct}=="123d", MODE="0666"
|
||||||
|
SUBSYSTEM=="tty", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="123d", MODE="0666"
|
||||||
21
PKGBUILD
21
PKGBUILD
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
pkgname=playback-appimage
|
pkgname=playback-appimage
|
||||||
pkgver=1.8.0
|
pkgver=1.8.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Playback software for Epilogue's GB Operator"
|
pkgdesc="Playback software for Epilogue's GB Operator"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://www.epilogue.co"
|
url="https://www.epilogue.co"
|
||||||
@@ -17,10 +17,12 @@ _install_path="/opt/appimages/$_filename"
|
|||||||
|
|
||||||
source=(
|
source=(
|
||||||
"$_appimage::https://epilogue.nyc3.digitaloceanspaces.com/releases/software/Playback/version/$pkgver/release/linux/$_filename"
|
"$_appimage::https://epilogue.nyc3.digitaloceanspaces.com/releases/software/Playback/version/$pkgver/release/linux/$_filename"
|
||||||
|
"playback.sh"
|
||||||
|
"60-gb-operator.rules"
|
||||||
)
|
)
|
||||||
sha512sums=(
|
sha512sums=('1216eec1167d9d60beebe87d130eb8caa7a54fca3b9be59bb9e4aa7cbdfa030b29c622ada1a683db32f0033295cbde319a35d9107220cb24520a1e34e44a94eb'
|
||||||
1216eec1167d9d60beebe87d130eb8caa7a54fca3b9be59bb9e4aa7cbdfa030b29c622ada1a683db32f0033295cbde319a35d9107220cb24520a1e34e44a94eb
|
'2ea22a28795914314d73b52fe94d0e7875b54ae3a1240c62f408c33e26f1a06099f273a7af43e439fe6259e7a4270d18f944f5aedfc5295bd1de4f3223ef4dad'
|
||||||
)
|
'af2c3f33e02de571bebaa4ec9097922f78e9c5d27d7c308ae15a3387dfad39029b229e998ef2ad0759bfe40774121b690e6702082cbc544a29a9f10616bc282d')
|
||||||
|
|
||||||
prepare () {
|
prepare () {
|
||||||
rm -rf ./squashfs-root
|
rm -rf ./squashfs-root
|
||||||
@@ -35,8 +37,15 @@ package() {
|
|||||||
chmod -R 755 "$pkgdir/usr/share/icons"
|
chmod -R 755 "$pkgdir/usr/share/icons"
|
||||||
find "$pkgdir/usr/share/icons" -type f -name "Playback.png" -exec chmod 644 {} \;
|
find "$pkgdir/usr/share/icons" -type f -name "Playback.png" -exec chmod 644 {} \;
|
||||||
|
|
||||||
|
# Patch desktop file to use wrapper script
|
||||||
|
sed -i 's|Exec=Playback|Exec=playback|g' "squashfs-root/$_squashfs_desktop_file"
|
||||||
|
|
||||||
install -Dm644 "squashfs-root/$_squashfs_desktop_file" "$pkgdir/$_desktop_file"
|
install -Dm644 "squashfs-root/$_squashfs_desktop_file" "$pkgdir/$_desktop_file"
|
||||||
install -Dm755 "$_appimage" "$pkgdir/$_install_path"
|
install -Dm755 "$_appimage" "$pkgdir/$_install_path"
|
||||||
mkdir "$pkgdir/usr/bin/" && chmod 755 "$pkgdir/usr/bin/"
|
|
||||||
ln -s "$_install_path" "$pkgdir/usr/bin/Playback"
|
# Install wrapper script (sets QT_QPA_PLATFORM=xcb for Wayland compatibility)
|
||||||
|
install -Dm755 "playback.sh" "$pkgdir/usr/bin/playback"
|
||||||
|
|
||||||
|
# Install udev rules for GB Operator device access
|
||||||
|
install -Dm644 "60-gb-operator.rules" "$pkgdir/usr/lib/udev/rules.d/60-gb-operator.rules"
|
||||||
}
|
}
|
||||||
|
|||||||
3
playback.sh
Normal file
3
playback.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
export QT_QPA_PLATFORM=xcb
|
||||||
|
exec /opt/appimages/Playback.AppImage "$@"
|
||||||
Reference in New Issue
Block a user