# Maintainer: pch pkgname=rawmakase-bin pkgver=0.2.4 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=('54b97a3de900277d728c3fef01182dad7b64c396da5e208a3c15c6efedc805a6') sha256sums_aarch64=('9636a73cda592edce2e261e99e5deea5229df0196984d69631ba3e4498bf41d3') 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" }