Browse Source

use env GSETTINGS_SCHEMA_DIR=... in the desktop file to guarantee correct gsettings schemas are used

cairo_optimizations
Alexandros Theodotou 3 years ago
parent
commit
0586a0a6dc
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 22
      INSTALL.md
  2. 11
      data/meson.build
  3. 22
      data/zrythm.desktop.in

22
INSTALL.md

@ -16,19 +16,21 @@ inside `meson_options.txt`. @@ -16,19 +16,21 @@ inside `meson_options.txt`.
## Dependencies
### Required
- GTK+3 (library GPLv2+): <https://gitlab.gnome.org/GNOME/gtk>
- jack (LGPLv2.1+): <https://jackaudio.org/>
- lv2 (ISC): <https://lv2plug.in/>
- GTK+3 (GPLv2+): <https://gitlab.gnome.org/GNOME/gtk>
- audec (AGPLv3+): <https://git.zrythm.org/cgit/libaudec/>
- lilv (ISC): <https://drobilla.net/software/lilv>
- libsndfile (LGPLv3): <https://www.mega-nerd.com/libsndfile>
- libyaml (MIT): <https://pyyaml.org/wiki/LibYAML>
- libsamplerate (2-clause BSD): <http://www.mega-nerd.com/libsamplerate>
- fftw (GPLv2): <http://www.fftw.org/>
- suil (ISC): <http://drobilla.net/software/suil/>
- libcyaml (ISC): <https://github.com/tlsa/libcyaml/>
- fftw (GPLv2+): <http://www.fftw.org/>
### Optional
- portaudio (MIT): <http://www.portaudio.com/>
- jack (LGPLv2.1+): <https://jackaudio.org/>
- ffmpeg (LGPL 2.1+, GPLv2+): <https://ffmpeg.org/>
- carla (GPLv2+): <https://kx.studio/Applications:Carla>
- guile (GPLv3+): <https://www.gnu.org/software/guile/>
- rtaudio (MIT): <http://www.music.mcgill.ca/~gary/rtaudio/>
- rtmidi (MIT): <https://www.music.mcgill.ca/~gary/rtmidi/>
- SDL2 (zlib): <https://www.libsdl.org/>
- libgtop (GPLv2+): <https://developer.gnome.org/libgtop/>
## Installation
Once the program is built, it will need to be
@ -67,7 +69,7 @@ Generally, we recommend installing under `/usr/local` @@ -67,7 +69,7 @@ Generally, we recommend installing under `/usr/local`
----
Copyright (C) 2019 Alexandros Theodotou
Copyright (C) 2019-2020 Alexandros Theodotou
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright

11
data/meson.build

@ -38,8 +38,15 @@ install_data ( @@ -38,8 +38,15 @@ install_data (
# Desktop launcher and description file.
if os_linux or os_freebsd
desktop_file = i18n.merge_file (
desktop_file_config = configuration_data ()
desktop_file_config.set (
'SCHEMAS_DIR', schemasdir)
desktop_file = configure_file (
input: 'zrythm.desktop.in',
output: 'zrythm.desktop.in',
configuration: desktop_file_config)
localized_desktop_file = i18n.merge_file (
input: desktop_file,
output: 'zrythm.desktop',
type: 'desktop',
po_dir: '../po',
@ -52,7 +59,7 @@ if os_linux or os_freebsd @@ -52,7 +59,7 @@ if os_linux or os_freebsd
'desktop-file-validate', required: false)
if desktop_utils.found()
test('Validate desktop file', desktop_utils,
args: [desktop_file]
args: [localized_desktop_file]
)
endif
endif

22
data/zrythm.desktop.in

@ -1,26 +1,16 @@ @@ -1,26 +1,16 @@
# Copyright (C) 2019 Alexandros Theodotou <alex at zrythm dot org>
# Copyright (C) 2019-2020 Alexandros Theodotou <alex at zrythm dot org>
#
# This file is part of Zrythm
#
# Zrythm is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Zrythm is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with Zrythm. If not, see <https://www.gnu.org/licenses/>.
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
[Desktop Entry]
Name=Zrythm
GenericName=Digital Audio Workstation
Version=1.0
Comment=highly automated and intuitive digital audio workstation
Exec=zrythm
Exec=env GSETTINGS_SCHEMA_DIR=@SCHEMAS_DIR@ zrythm
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=zrythm
Type=Application

Loading…
Cancel
Save