File debian.rules of Package JUCE8_08
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
UBUNTU_VERSION := $(shell lsb_release -sr)
ifeq ($(UBUNTU_VERSION),20.04)
export CXX=g++-10
export CC=gcc-10
endif
%:
dh $@
cp /usr/src/packages/SOURCES/juce_VSTInterface.h modules/juce_audio_processors/format_types/
override_dh_auto_configure:
dh_auto_configure -- \
-DJUCE_BUILD_EXTRAS=ON \
-DJUCE_TOOL_INSTALL_DIR=bin
override_dh_auto_install:
dh_auto_install
install -p -s -D -m 0755 */extras/Projucer/Projucer_artefacts/*/Projucer debian/juce808-projucer/usr/bin/Projucer
install -d debian/juce808-projucer/usr/share/applications
install -d debian/juce808-projucer/usr/share/icons/hicolor/512x512/apps
install -p -m 0644 /usr/src/packages/SOURCES/Projucer.desktop debian/juce808-projucer/usr/share/applications/
install -p -m 0644 /usr/src/packages/SOURCES/Projucer.png debian/juce808-projucer/usr/share/icons/hicolor/512x512/apps/