Browse Source

build debug version on macos

before_cleanup
Alexandros Theodotou 3 years ago
parent
commit
86e06a01c1
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 2
      Makefile
  2. 1
      PKGBUILD-w10.in
  3. 2
      PKGBUILD.in
  4. 5
      tools/osx/zrythm.rb
  5. 2
      zrythm.spec.in

2
Makefile

@ -284,7 +284,7 @@ define make_zplugins @@ -284,7 +284,7 @@ define make_zplugins
cd $(BUILD_DIR) && tar xf $(ZPLUGINS_TARBALL)
cd $(BUILD_DIR)/zplugins-v$(ZPLUGINS_VERSION) && \
cd ext/Soundpipe && CC=$(3)gcc make && cd ../.. && \
../meson/meson.py build --buildtype=release \
../meson/meson.py build --buildtype=debugoptimized \
--prefix=/usr && \
DESTDIR=/tmp ninja -C build install
mkdir -p $(BUILD_DIR)/$(1)/zplugins

1
PKGBUILD-w10.in

@ -58,6 +58,7 @@ build() { @@ -58,6 +58,7 @@ build() {
-Dtrial_ver=false \
-Dwindows_release=true -Dcarla=enabled \
--buildtype=debugoptimized \
-Dextra_debug_info=true \
"../zrythm-${pkgver}"
ninja

2
PKGBUILD.in

@ -27,7 +27,7 @@ build() { @@ -27,7 +27,7 @@ build() {
PKG_CONFIG_PATH=/usr/lib/zrythm/lib/pkgconfig \
meson build --prefix=/usr -Dtests=false \
-Dmanpage=true \
-Dbuildtype=release -Dffmpeg=enabled \
-Dbuildtype=debugoptimized -Dffmpeg=enabled \
-Dsdl=enabled -Drtaudio=enabled \
-Drtmidi=enabled -Dcarla=enabled \
-Dfallback_version=@VERSION@ \

5
tools/osx/zrythm.rb

@ -31,7 +31,10 @@ class Zrythm < Formula @@ -31,7 +31,10 @@ class Zrythm < Formula
def install
mkdir "build" do
system "meson", *std_meson_args, "-Dtests=false", "-Dtrial_ver=false",
system "meson",
"--prefix=#{prefix}", "--libdir=#{lib}",
"--buildtype=debug", "-Dextra_debug_info=true",
"-Dtests=false", "-Dtrial_ver=false",
"-Dcarla=enabled", "-Dffmpeg=enabled",
"-Drtmidi=auto", "-Drtaudio=auto",
"-Dfallback_version=@VERSION@",

2
zrythm.spec.in

@ -88,7 +88,7 @@ and is designed to be intuitive to use. @@ -88,7 +88,7 @@ and is designed to be intuitive to use.
%build
rm -rf build
PKG_CONFIG_PATH=/usr/lib/zrythm/lib/pkgconfig meson build --prefix=/usr -Dtests=true -Dmanpage=true --buildtype=release -Dsdl=enabled -Drtaudio=auto -Drtmidi=auto -Dtrial_ver=false -Dcarla=enabled -Dgraphviz=enabled -Dfallback_version=@VERSION@
PKG_CONFIG_PATH=/usr/lib/zrythm/lib/pkgconfig meson build --prefix=/usr -Dtests=true -Dmanpage=true --buildtype=debugoptimized -Dsdl=enabled -Drtaudio=auto -Drtmidi=auto -Dtrial_ver=false -Dcarla=enabled -Dgraphviz=enabled -Dfallback_version=@VERSION@
ninja -C build
%install

Loading…
Cancel
Save