scummvm/snapcraft.yaml.in
Zvika Haramaty 1b8f471c69 GUI: Added (partial) BiDI support
Added GNU FriBidi, thus allowing Hebrew (or other future RTL languages)
to be displayed correctly.
It's been implemented for all ScummVM GUI (as far as I have noticed),
and can be further used by the engines as needed.

This work is only partial, because for complete BiDI support we'll need
to mirror the widgets, and support input text areas (which currently
don't even support Hebrew text input at all).

Some changes are required in order to use this:
- Visual Studio:
  -- add FriBidi lib from https://github.com/ShiftMediaProject/fribidi
     (and place the files in the other libs location)
  -- add fribidi.dll to the current directory
  -- add fribidi.lib to VS library list
     (in GUI it's: Project -> scummvm Properties -> Linker ->
                   input -> Additional Dependencies)
  -- Add USE_FRIBIDI define
     either to:
         dists/msvc/ScummVM_Global.props   <PreprocessorDefinitions>
     or in GUI:
         Project -> scummvm Properties ->
         C/C++ -> Preprocessor -> Preprocessor Definitions
- GCC:
  -- install FriBidi
     e.g.,
        Ubuntu: `apt-get install libfribidi-dev`
        CentOS: `yum install fribidi-devel`
  -- rerun `configure`
2020-04-30 10:32:18 +02:00

65 lines
1.4 KiB
YAML

name: scummvm
version: "@VERSION@"
summary: ScummVM
description: |
ScummVM is a program which allows you to run certain classic graphical
point-and-click adventure games, provided you already have their data
files. The clever part about this: ScummVM just replaces the executables
shipped with the game, allowing you to play them on systems for which
they were never designed!
confinement: strict
apps:
scummvm:
command: scummvm
plugs: [x11, home, pulseaudio, unity7, opengl]
parts:
scummvm:
source: .
plugin: autotools
# Quick test build
# configflags:
# - --disable-all-engines
# - --enable-engine=scumm
build-packages:
- g++
- make
- libsdl2-dev
- libjpeg62-dev
- libmpeg2-4-dev
- libogg-dev
- libvorbis-dev
- libflac-dev
- libmad0-dev
- libpng12-dev
- libtheora-dev
- libfaad-dev
- libfluidsynth-dev
- libfreetype6-dev
- zlib1g-dev
- libunity-dev
- libfribidi-dev
stage-packages:
- libicu55
- libasound2
- libc6
- libfaad2
- libflac8
- libfluidsynth1
- libgl1-mesa-dri
- libgl1-mesa-glx
- libjpeg62
- libjpeg8
- libmad0
- libmpeg2-4
- libogg0
- libpng12-0
- libsdl2-2.0-0
- libsndio6.1
- libstdc++6
- libtheora0
- libvorbis0a
- libvorbisfile3
- zlib1g