Skip to content

Instantly share code, notes, and snippets.

@cocoastorm
Created February 5, 2024 00:43
Show Gist options
  • Save cocoastorm/cee729da3b4a19c9fdf44160459965bb to your computer and use it in GitHub Desktop.
Save cocoastorm/cee729da3b4a19c9fdf44160459965bb to your computer and use it in GitHub Desktop.
replay-sorcery-void-package-template
# Template file for 'replay-sorcery'
pkgname=replay-sorcery
version=0.6.0
revision=1
hostmakedepends="pkg-config"
makedepends="ffmpeg-devel"
depends="ffmpeg libdrm"
build_style=cmake
configure_args="-DCMAKE_BUILD_TYPE=Release"
make_cmd=make
#make_build_args=""
#make_install_args=""
#conf_files=""
#make_dirs="/var/log/dir 0755 root root"
short_desc="An open-source, instant-replay solution for Linux"
maintainer=""
homepage="https://github.com/matanui159/ReplaySorcery"
changelog="https://github.com/matanui159/ReplaySorcery/releases"
license="GPL-3.0-or-later"
_libbacktrace="d0f5e95a87a4d3e0a1ed6c069b5dae7cbab3ed2a"
distfiles="https://github.com/matanui159/ReplaySorcery/archive/refs/tags/${version}.tar.gz
https://github.com//ianlancetaylor/libbacktrace/archive/${_libbacktrace}.tar.gz>libbacktrace_${_libbacktrace}.tar.gz
"
checksum="7c3a4b67f4ffd58c5323da123146e564ba85e6d506eb5047b7fdb92802b93294
871a9adfc04efb7775b71221ca28150f042b3518c4460bd4650babb51ade371d
"
export CMAKE_GENERATOR="Unix Makefiles"
skip_extraction="libbacktrace_${_libbacktrace}.tar.gz"
post_extract() {
vsrcextract -C dep/libbacktrace \
"libbacktrace_${_libbacktrace}.tar.gz"
}
post_install() {
vlicense COPYING
rm -rf "$DESTDIR"/usr/etc
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment