From 9cc8533c28967439cf57e6d4d0cac95d53b5ac67 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 28 Oct 2022 03:30:59 +0100 Subject: added snes9x and torsocks --- repo/snes9x/snes9x.xibuild | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'repo/snes9x') diff --git a/repo/snes9x/snes9x.xibuild b/repo/snes9x/snes9x.xibuild index 59487b3..d82f9ec 100644 --- a/repo/snes9x/snes9x.xibuild +++ b/repo/snes9x/snes9x.xibuild @@ -3,21 +3,32 @@ NAME="snes9x" DESC="Super NES Emulator" -MAKEDEPS="meson glib sdl2 gtk3 libxrandr libepoxy wayland libxv portaudio alsa-lib libpng minizip zlib" +MAKEDEPS=" alsa-lib glib gtk+3.0 gtkmm3 libepoxy libpng libxrandr libxv meson minizip portaudio sdl2 wayland zlib" + +glslang=bcf6a2430e99e8fc24f9f266e99316905e6d5134 +spirv=1458bae62ec67ea7d12c5a13b740e23ed4bb226c PKG_VER=1.61 SOURCE="https://github.com/snes9xgit/snes9x/archive/$PKG_VER.tar.gz" -prepare () { +ADDITIONAL="https://github.com/KhronosGroup/glslang/archive/$glslang.tar.gz + https://github.com/KhronosGroup/SPIRV-Cross/archive/$spirv.tar.gz" + +prepare() { + + tar xf $glslang.tar.gz + tar xf $spirv.tar.gz cd gtk + + rm -r ../shaders/glslang ../shaders/SPIRV-Cross + ln -s ../glslang-$glslang ../shaders/glslang + ln -s ../SPIRV-Cross-$spirv ../shaders/SPIRV-Cross } build() { meson --prefix=/usr \ - -Dopengl=true \ - -Dgtk3=true \ -Dpulseaudio=false \ - . output + . output meson compile ${JOBS:+-j ${JOBS}} -C output } -- cgit v1.2.1