# Maintainer: pch pkgname=rawmakase-bin pkgver=0.2.3 pkgrel=1 pkgdesc="Fast, Lightroom-compatible RAW photo editor (binary release)" arch=(x86_64 aarch64) url="https://github.com/pch/rawmakase" license=(MIT) # LibRaw, lcms2, libjpeg and ONNX Runtime are bundled under /usr/lib/rawmakase # and found through the binary's $ORIGIN runpath. The windowing, input and GPU # libraries are dlopen'd, so this list follows upstream's own Arch recipe # rather than the ELF NEEDED entries. depends=(dbus gcc-libs glibc hicolor-icon-theme libglvnd libx11 libxcb libxcursor libxi libxkbcommon libxkbcommon-x11 libxrandr vulkan-icd-loader wayland zlib) # A Vulkan ICD is needed to draw, but as a hard dependency makepkg -s would # resolve it to nvidia-utils in the build container; Omarchy installs the right # driver per machine. optdepends=('vulkan-driver: GPU rendering' 'xdg-desktop-portal: native file dialogs') provides=(rawmakase) conflicts=(rawmakase) options=(!strip !debug) source_x86_64=("$url/releases/download/v$pkgver/rawmakase-$pkgver-x86_64-linux.tar.gz") source_aarch64=("$url/releases/download/v$pkgver/rawmakase-$pkgver-aarch64-linux.tar.gz") sha256sums_x86_64=('c162372a2a56be18fe0cde9fb7d2a255084b98507b3a9fb8f5ae16f554aeb70f') sha256sums_aarch64=('de3ba6184beb86c5e5d57895bcc47c8c7d8c772681c285885539f84f3a39a03a') package() { # The release tarball is a ready usr/ tree: a launcher script in /usr/bin, # the binary and its bundled libraries in /usr/lib/rawmakase, plus the # desktop entry, icon and licences. cp -a "$srcdir/usr" "$pkgdir/" mv "$pkgdir/usr/share/licenses/rawmakase" "$pkgdir/usr/share/licenses/$pkgname" }