Nevermind, noticed the fork is only for the newer headphones but this could be made into a separate or split package. I'm posting my PKGBUILD here as a reference
pkgname=sonyheadphonesclient-bin
pkgver=1.3.5
pkgrel=1
pkgdesc="A {Windows, macOS, Linux} client recreating the functionality of the Sony Headphones app"
arch=("x86_64")
url="https://github.com/mos9527/SonyHeadphonesClient"
license=('custom:MIT')
depends=("glfw" "unzip" "gcc-libs" "libglvnd" "glibc" "dbus" "bluez-libs" "glew" "glew-2.1" "dbus")
source=("$url/releases/download/$pkgver/SonyHeadphonesClient-linux-x64" "MIT")
sha256sums=('2e30e1c8911a26dffd439b86a9f5dbd11843bd9da2135de5286fd3776b041f17'
'4e9c9904ba661d8e3f8e0367e752fb47859d4ca7374c3efdee1de5d6ff6baeee')
package() {
install -Dm 755 "$srcdir/SonyHeadphonesClient-linux-x64" "$pkgdir/usr/bin/SonyHeadphonesClient"
# Desktop entry
mkdir -p "$pkgdir/usr/share/applications/"
echo "[Desktop Entry]
Name=Sony Headphones Client
Exec=SonyHeadphonesClient
Terminal=false
Type=Application
Icon=application-executable
Categories=Accessories;" >>"$pkgdir/usr/share/applications/SonyHeadphonesClient.desktop"
# License
install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname" "$srcdir/MIT"
}
Pinned Comments
quio commented on 2022-03-28 16:32 (UTC)
AUR-Dependency
Needs glew 2.1.0 to be installed.