Browse Source

set LD_LIBRARY_PATH in zrythm_launch

adwaita_split_btn
Alexandros Theodotou 2 years ago
parent
commit
8a71302581
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 8
      data/meson.build
  2. 2
      data/zrythm_launch.in
  3. 3
      meson.build

8
data/meson.build

@ -43,10 +43,14 @@ install_data ( @@ -43,10 +43,14 @@ install_data (
zrythm_launcher_config = configuration_data ()
zrythm_launcher_config.set (
'SCHEMAS_DIR', schemasdir)
zrythm_launcher_config.set (
'BIN_DIR', bindir)
zrythm_launcher_config.set ('BIN_DIR', bindir)
zrythm_launcher_config.set (
'PROGRAM_NAME_LOWERCASE', prog_name_lowercase)
zrythm_launcher_config.set (
'ZRYTHM_LIBDIR', zrythm_libdir)
zrythm_launcher_config.set (
'ZRYTHM_CARLA_LIBDIR', zrythm_libdir / 'carla')
zrythm_launcher_config.set ('LIBDIR', libdir)
# install desktop file and launcher scripts
if os_gnu or os_freebsd or os_darwin

2
data/zrythm_launch.in

@ -17,6 +17,8 @@ @@ -17,6 +17,8 @@
# You should have received a copy of the GNU Affero General Public License
# along with Zrythm. If not, see <https://www.gnu.org/licenses/>.
export LD_LIBRARY_PATH="@ZRYTHM_CARLA_LIBDIR@:@ZRYTHM_LIBDIR@:@LIBDIR@:$LD_LIBRARY_PATH"
export GSETTINGS_SCHEMA_DIR=@SCHEMAS_DIR@
# if not first run, set language so that pre-startup

3
meson.build

@ -903,7 +903,8 @@ gtk_dep = dependency ( @@ -903,7 +903,8 @@ gtk_dep = dependency (
default_options: [
'introspection=disabled',
'demos=false', 'build-examples=false',
'build-tests=false' ],
'build-tests=false',
'media-gstreamer=disabled',],
static: all_static)
min_version = '>=1.0.25'
if get_option ('opus')

Loading…
Cancel
Save