Skip to content

Instantly share code, notes, and snippets.

@Zap123
Created June 26, 2019 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zap123/25d7fe6e0db5314cd6147b999d3f2bd4 to your computer and use it in GitHub Desktop.
Save Zap123/25d7fe6e0db5314cd6147b999d3f2bd4 to your computer and use it in GitHub Desktop.
**Attempt 2: 32 bit lxd container**
name: pcsx2
version: 1.5.0
architectures:
- build-on: i386
run-on:
- amd64
- i386
summary: 'Playstation 2 Emulator'
description: "PCSX2 is a Playstation 2 emulator, a free program that tries to\nreplicate the Playstation 2 console to enable you to play PS2 games on your PC."
confinement: strict
base: core18
grade: devel
apps:
pcsx2:
command: sh $SNAP/root/pcsx2/parts/pcsx2/src/bin/PCSX2-linux.sh
plugs:
- desktop
- joystick
- network
- network-bind
- opengl
- pulseaudio
- screen-inhibit-control
- wayland
- x11
parts:
pcsx2:
plugin: cmake
source: 'https://github.com/PCSX2/pcsx2.git'
configflags:
#- '-DBIN_DIR=/usr/games'
- '-DBUILD_REPLAY_LOADERS=FALSE'
- '-DCMAKE_BUILD_STRIP=TRUE'
- '-DCMAKE_BUILD_TYPE=Release'
#- '-DCMAKE_LIBRARY_PATH=/usr/lib/i386-linux-gnu'
#- '-DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmake'
- '-DDISABLE_ADVANCE_SIMD=TRUE'
- '-DDISABLE_CHEATS_ZIP=FALSE'
# - '-DDISABLE_PCSX2_WRAPPER=TRUE'
#- '-DDOC_DIR=/usr/share/doc/pcsx2'
- '-DEXTRA_PLUGINS=FALSE'
#- '-DGAMEINDEX_DIR=/usr/share/games/pcsx2'
- '-DGTK3_API=FALSE'
#- '-DGTK2_GLIBCONFIG_INCLUDE_DIR=/usr/lib/i386-linux-gnu/glib-2.0/include'
#- '-DGTK2_GDKCONFIG_INCLUDE_DIR=/usr/lib/i386-linux-gnu/gtk-2.0/include'
#- '-DGTK2_INCLUDE_DIRS=/usr/lib/i386-linux-gnu/gtk-2.0'
#- '-DPACKAGE_MODE=TRUE'
#- '-DPLUGIN_DIR=/usr/lib/i386-linux-gnu/pcsx2'
- '-DREBUILD_SHADER=TRUE'
- '-DXDG_STD=TRUE'
organize:
pcsx2/src/bin/: pcsx2
build-packages:
- cmake
- build-essential
stage-packages:
- 'glib-networking'
- 'libaio1'
- 'libatk-bridge2.0-0'
- 'libatk1.0-0'
- 'libatspi2.0-0'
- 'libc-bin'
- 'libcairo-gobject2'
- 'libcolord2'
- 'libdatrie1'
- 'libepoxy0'
- 'libgail-common'
- 'libgail18'
- 'libgdk-pixbuf2.0-0'
- 'libgraphite2-3'
- 'libgtk-3-0'
- 'libgtk2.0-0'
- 'libharfbuzz0b'
- 'libice6'
- 'libjson-glib-1.0-0'
- 'libnotify4'
- 'libpango-1.0-0'
- 'libpangocairo-1.0-0'
- 'libpangoft2-1.0-0'
- 'libportaudio2'
- 'libproxy1v5'
- 'librest-0.7-0'
- 'libsdl2-2.0-0'
- 'libsm6'
- 'libsoundtouch1'
- 'libsoup-gnome2.4-1'
- 'libsoup2.4-1'
- 'libwayland-cursor0'
- 'libwayland-egl1'
- 'libwxbase3.0-0v5'
- 'libwxgtk3.0-0v5'
- 'libxkbcommon0'
- 'notification-daemon'
- 'zlib1g'
- 'libpulse0'
- 'libgl1'
- 'libmount1'
- 'libselinux1'
- 'liblzma5'
- 'libuuid1'
- 'libpcre3'
- 'libstdc++6'
- 'libblkid1'
build-packages:
- libasound2-dev
- libgl1-mesa-dev
- libgtk2.0-dev
- liblzma-dev
- libpng-dev
- libsdl2-dev
- libsoundtouch-dev
- libwxbase3.0-dev
- libwxgtk3.0-dev
- libx11-dev
- portaudio19-dev
- zlib1g-dev
- libaio-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment