Browse Source

use semver version in zrythm app

use_builds_script
Alexandros Theodotou 2 years ago
parent
commit
ea03690aa9
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 2
      appimage/make_appimage.sh.in
  2. 2
      arch/PKGBUILD.in
  3. 2
      debian/rules.in
  4. 3
      meson.build
  5. 7
      meson_options.txt
  6. 2
      osx-brew/zrythm.rb.in
  7. 2
      rpm/zrythm.spec.in
  8. 2
      windows-msys/PKGBUILD.in

2
appimage/make_appimage.sh.in

@ -36,7 +36,7 @@ PATH="$PATH:/home/build/.local/bin" \ @@ -36,7 +36,7 @@ PATH="$PATH:/home/build/.local/bin" \
-Dtests=true -Ddseg_font=true -Dmanpage=true \
-Dbuildtype=debugoptimized -Dlsp_dsp=enabled \
-Dstatic_lsp_dsp=true -Dsdl=enabled \
-Dfallback_version=@ZRYTHM_PKG_VERSION@ \
-Dfallback_version=@ZRYTHM_PKG_SEMVER_VERSION@ \
-Drtaudio=auto -Drtmidi=auto -Dguile=enabled \
-Dcarla=enabled -Dgraphviz=enabled \
-Dtrial_ver=@TRIAL_TRUE_FALSE@ \

2
arch/PKGBUILD.in

@ -32,7 +32,7 @@ build() { @@ -32,7 +32,7 @@ build() {
-Dsdl=enabled -Drtaudio=enabled \
-Drtmidi=enabled -Dcarla=enabled \
-Dlsp_dsp=enabled -Dstatic_lsp_dsp=true \
-Dfallback_version=@ZRYTHM_PKG_VERSION@ \
-Dfallback_version=@ZRYTHM_PKG_SEMVER_VERSION@ \
-Dtrial_ver=@TRIAL_TRUE_FALSE@ \
-Dphone_home=enabled \
-Dinstaller_ver=true \

2
debian/rules.in vendored

@ -13,7 +13,7 @@ override_dh_auto_configure: @@ -13,7 +13,7 @@ override_dh_auto_configure:
-Dtests=true -Ddseg_font=false -Dmanpage=true \
-Dbuildtype=debugoptimized -Dlsp_dsp=enabled \
-Dstatic_lsp_dsp=true -Dsdl=enabled \
-Dfallback_version=@ZRYTHM_PKG_VERSION@ \
-Dfallback_version=@ZRYTHM_PKG_SEMVER_VERSION@ \
-Drtaudio=auto -Drtmidi=auto -Dguile=enabled \
-Dcarla=enabled -Dgraphviz=enabled \
-Dtrial_ver=@TRIAL_TRUE_FALSE@ \

3
meson.build

@ -34,6 +34,7 @@ libdir = get_option ('libdir') @@ -34,6 +34,7 @@ libdir = get_option ('libdir')
distro = get_option ('distro')
zrythm_git_ver = get_option ('zrythm-git-ver')
zrythm_pkg_ver = get_option ('zrythm-pkg-ver')
zrythm_pkg_semver = get_option ('zrythm-pkg-semver')
zplugins_ver = get_option ('zplugins-ver')
carla_git_ver = get_option ('carla-git-ver')
lsp_dsp_lib_ver = get_option ('lsp-dsp-lib-ver')
@ -91,6 +92,8 @@ global_conf.set ( @@ -91,6 +92,8 @@ global_conf.set (
'ZRYTHM_GIT_VERSION', zrythm_git_ver)
global_conf.set (
'ZRYTHM_PKG_VERSION', zrythm_pkg_ver)
global_conf.set (
'ZRYTHM_PKG_SEMVER_VERSION', zrythm_pkg_semver)
global_conf.set (
'ZRYTHM_SOURCE_TARBALL_FILENAME',
zrythm_src_tarball_filename)

7
meson_options.txt

@ -28,7 +28,12 @@ option ( @@ -28,7 +28,12 @@ option (
option (
'zrythm-pkg-ver', type: 'string',
value: '1',
description: 'Version to use in packages')
description: 'Version to use in package filenames')
option (
'zrythm-pkg-semver', type: 'string',
value: '1',
description: 'Version to use for Zrythm program')
option (
'build-trial', type: 'boolean',

2
osx-brew/zrythm.rb.in

@ -39,7 +39,7 @@ class Zrythm@TRIAL_INITIAL_UPPERCASE@ < Formula @@ -39,7 +39,7 @@ class Zrythm@TRIAL_INITIAL_UPPERCASE@ < Formula
"-Dtests=false", "-Dtrial_ver=@TRIAL_TRUE_FALSE@",
"-Dcarla=enabled",
"-Drtmidi=auto", "-Drtaudio=auto",
"-Dfallback_version=@ZRYTHM_PKG_VERSION@",
"-Dfallback_version=@ZRYTHM_PKG_SEMVER_VERSION@",
# manpage fails
"-Dmanpage=false",
# TODO enable

2
rpm/zrythm.spec.in

@ -105,7 +105,7 @@ PKG_CONFIG_PATH=@LIBRARY_PKG_CONFIG_PATH@:@CARLA_PKG_CONFIG_PATH@ \ @@ -105,7 +105,7 @@ PKG_CONFIG_PATH=@LIBRARY_PKG_CONFIG_PATH@:@CARLA_PKG_CONFIG_PATH@ \
-Dsdl=enabled -Drtaudio=auto -Drtmidi=auto \
-Dtrial_ver=@TRIAL_TRUE_FALSE@ -Dcarla=enabled \
-Dgraphviz=enabled -Dlsp_dsp=enabled \
-Dstatic_lsp_dsp=true -Dfallback_version=@ZRYTHM_PKG_VERSION@ \
-Dstatic_lsp_dsp=true -Dfallback_version=@ZRYTHM_PKG_SEMVER_VERSION@ \
-Dextra_debug_info=true \
-Dphone_home=enabled \
-Dinstaller_ver=true \

2
windows-msys/PKGBUILD.in

@ -63,7 +63,7 @@ build() { @@ -63,7 +63,7 @@ build() {
-Dstatic_lsp_dsp=true \
-Djack=enabled \
-Dguile=disabled \
-Dfallback_version=@ZRYTHM_PKG_VERSION@ \
-Dfallback_version=@ZRYTHM_PKG_SEMVER_VERSION@ \
-Dphone_home=enabled \
-Dmanpage=false \
-Dtrial_ver=@TRIAL_TRUE_FALSE@ \

Loading…
Cancel
Save