ES-DE/es-app/assets/org.es_de.emulationstation-de.yml

120 lines
2.6 KiB
YAML

# SPDX-License-Identifier: MIT
#
# EmulationStation Desktop Edition
# org.es_de.emulationstation-de.yml
#
# Flatpak manifest file for use with flatpak-builder.
#
app-id: org.es_de.emulationstation-de
sdk: org.freedesktop.Sdk
runtime: org.freedesktop.Platform
runtime-version: '21.08'
command: emulationstation
branch: stable
finish-args:
- --share=ipc
- --socket=x11
- --socket=wayland
- --socket=pulseaudio
- --device=dri
- --filesystem=host
- --filesystem=home
- --share=network
cleanup:
- /include
- /share/ffmpeg
- /lib/cmake
- /lib/debug
- /lib/pkgconfig
- /lib/libfreeimage.a
- /lib/libogg.a
- /lib/libvpx.a
modules:
- name: libvpx
config-opts:
- --disable-examples
- --disable-docs
- --enable-pic
- --enable-vp9-highbitdepth
sources:
- type: git
url: https://github.com/webmproject/libvpx.git
tag: v1.11.0
- name: ogg
buildsystem: cmake
config-opts:
- -DCMAKE_POSITION_INDEPENDENT_CODE=on
- -DINSTALL_DOCS=off
sources:
- type: git
url: https://github.com/xiph/ogg.git
tag: v1.3.5
- name: vorbis
buildsystem: cmake
config-opts:
- -DBUILD_SHARED_LIBS=on
sources:
- type: git
url: https://gitlab.xiph.org/xiph/vorbis.git
tag: v1.3.7
- name: opus
buildsystem: cmake
config-opts:
- -DBUILD_SHARED_LIBS=on
sources:
- type: git
url: https://gitlab.xiph.org/xiph/opus.git
tag: v1.3.1
- name: ffmpeg
config-opts:
- --disable-static
- --disable-programs
- --disable-doc
- --enable-gpl
- --enable-shared
- --enable-libvorbis
- --enable-libopus
- --enable-libvpx
- --enable-postproc
sources:
- type: git
url: https://github.com/FFmpeg/FFmpeg.git
tag: n5.0
- name: freeimage
no-autogen: true
build-options:
cxxflags: -std=c++14
make-args:
- DESTDIR=/app
sources:
- type: archive
url: http://downloads.sourceforge.net/freeimage/FreeImage3180.zip
sha256: f41379682f9ada94ea7b34fe86bf9ee00935a3147be41b6569c9605a53e438fd
- type: shell
commands:
- sed -i 's|-o root -g root ||' ./Makefile.gnu
- sed -i 's|/usr|/app|' ./Makefile.gnu
- name: pugixml
buildsystem: cmake
config-opts:
- -DBUILD_SHARED_LIBS=on .
sources:
- type: archive
url: https://github.com/zeux/pugixml/releases/download/v1.11.4/pugixml-1.11.4.tar.gz
sha256: 8ddf57b65fb860416979a3f0640c2ad45ddddbbafa82508ef0a0af3ce7061716
- name: emulationstation
buildsystem: cmake
sources:
- type: git
url: https://gitlab.com/leonstyhre/emulationstation-de.git
branch: stable-1.2