Zrythm installer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
920 B

#!/usr/bin/make -f
%:
dh $@
override_dh_auto_configure:
mkdir -p debian/build
cd debian/build && PKG_CONFIG_PATH=/usr/lib/zrythm/lib/pkgconfig PATH=$$PATH:/home/build/.local/bin ../../../../meson/meson.py --prefix=/usr ../.. -Dtests=true -Ddseg_font=false -Dmanpage=true -Dbuildtype=debugoptimized -Dlsp_dsp=enabled -Dstatic_lsp_dsp=true -Dsdl=enabled -Dfallback_version=@VERSION@ -Drtaudio=auto -Drtmidi=auto -Dguile=enabled -Dcarla=enabled -Dgraphviz=enabled
override_dh_auto_build:
cd debian/build && ninja -v
override_dh_auto_test:
echo test # cd debian/build && ninja test
override_dh_auto_install:
cd debian/build && DESTDIR=${CURDIR}/debian/zrythm ninja install
3 years ago
mkdir -p ${CURDIR}/debian/zrythm/usr/lib/zrythm/lib
3 years ago
cp -RLv /usr/lib/zrythm/lib/carla ${CURDIR}/debian/zrythm/usr/lib/zrythm/lib/
if [ ! -f ${CURDIR}/debian/zrythm/usr/lib/zrythm/lib/carla/libcarla_native-plugin.so ] ; then exit -1 ; fi