Conversation
| summary : Original Xbox Emulator | ||
| description: | | ||
| An open-source, cross-platform application that emulates the hardware of the original Xbox game console, allowing users to play their Xbox games on Windows, macOS, and Linux systems. | ||
| networking : true |
There was a problem hiding this comment.
Packaging notes
I could not make it find the systems glslang so I had to turn on networking so it could download it's own copy.
There was a problem hiding this comment.
Try adding glslang-devel and pkgconfig(SPIRV-Headers) to the build deps list. Looking at the build output, it looks like there may be a few other missing dependencies, too.
While investigating this, I updated our glslang package, so you may want to wait until that is merged.
There was a problem hiding this comment.
No that did not seem to work:
glslang could not be found because dependency Threads could not be found.
Run-time dependency glslang found: NO (tried pkgconfig)
Initialized empty Git repository in /home/build/YPKG/root/xemu/build/xemu.git/subprojects/glslang/.git/
fatal: unable to access 'https://github.com/KhronosGroup/glslang/': Could not resolve host: github.com
ERROR: Cmake subproject glslang is buildable: NO
../meson.build:2369:27: ERROR: Git command failed: ['/usr/bin/git', 'fetch', '--depth', '1', 'origin', 'b5782e52ee2f7b3e40bb9c80d15b47016e008bc9']
A full log can be found at /home/build/YPKG/root/xemu/build/xemu.git/build/meson-logs/meson-log.txt
ERROR: meson setup failed
There was a problem hiding this comment.
Hrmm something must have changed with the vulkan stack upgrade... Still trying to figure out what. Gonna put my WIP package.yml here so I don't lose it while touching other packages.
# yaml-language-server: $schema=/usr/share/ypkg/schema/schema.json
name : xemu
version : 0.8.133
release : 4
source :
- git|https://github.com/xemu-project/xemu.git : v0.8.133
license :
- GPL-2.0-or-later
- LGPL-2.1-or-later
- MIT
- BSD-2-Clause
component : game.emulator
homepage : https://xbox.app
summary : Original Xbox Emulator
description: |
An open-source, cross-platform application that emulates the hardware of the original Xbox game console, allowing users to play their Xbox games on Windows, macOS, and Linux systems.
clang : true
builddeps :
- pkgconfig(epoxy)
- pkgconfig(gbm)
- pkgconfig(glu)
- pkgconfig(gtk+-3.0)
- pkgconfig(keyutils)
- pkgconfig(libcurl)
- pkgconfig(libpcap)
- pkgconfig(liburing)
- pkgconfig(libusb-1.0)
- pkgconfig(nlohmann_json)
- pkgconfig(pixman-1)
- pkgconfig(samplerate)
- pkgconfig(sdl2)
- pkgconfig(slirp)
- pkgconfig(vulkan)
- acpica-unix
- glslang-devel
setup : |
%patch -p1 -i $pkgfiles/0001-Better-follow-freedesktop-specifications.patch
%configure_no_runstatedir \
--extra-cflags="-DXBOX=1 -Wno-error=redundant-decls ${CFLAGS} -O3 -I$workdir/ui/imgui" \
--target-list=i386-softmmu \
--enable-lto --disable-werror
build : |
%make
install : |
install -v -d $installdir/usr/bin/
install -v $workdir/build/qemu-system-i386 $installdir/usr/bin/xemu
install -Dm00644 $workdir/ui/xemu.desktop $installdir/usr/share/applications/app.xemu.xemu.desktop
for i in 16 24 32 48 64 128 256 512; do
install -Dm00644 $workdir/ui/icons/xemu_${i}x${i}.png $installdir/usr/share/icons/hicolor/${i}x${i}/apps/app.xemu.xemu.png
done
## The svg doesn't render correctly or we could just use that. https://github.com/xemu-project/xemu/issues/1181
# install -Dm00644 $workdir/ui/icons/xemu.svg $installdir/usr/share/icons/hicolor/scalable/apps/app.xemu.xemu.svg
# Appdata
install -Dm00644 $workdir/xemu.metainfo.xml $installdir/usr/share/metainfo/xemu.metainfo.xml
%install_license LICENSE COPYING.LIB COPYINGThere was a problem hiding this comment.
Could this have something to do with glslang?
KhronosGroup/glslang#1715
There was a problem hiding this comment.
Really starting to dislike that stack... xD
I tried the patches from Fedora and Debian, but that just causes link failures when building shared libraries. Those two distros, of course, only build glslang as a static library.
There was a problem hiding this comment.
So which would be best here? Try to fix glslang or just let xemu download it?
**Summary** - Release notes can be found [here](xemu-project/xemu@v0.8.132...v0.8.133).
Summary
Test Plan
Checklist
Packaging notes