Skip to content

Bundling Audacity

probonopd edited this page Dec 15, 2018 · 2 revisions

When trying to compile Audacity from source and bundling it as an AppImage, the build product may have different functionality enabled than the Audacity that comes with the distribution.

Hence, to check the build configuration of Ubuntu:

sudo nano /etc/apt/sources.list
# Copy the line starting with "deb http://archive.ubuntu.com/ubuntu/"
# but replace "deb" with "deb-src"
sudo apt update
apt source audacity
dpkg-source -x *dsc
cat audacity-*/debian/rules

gives

#!/usr/bin/make -f

export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs -Wl,--as-needed

configure_flags := \
	--disable-dynamic-loading \
	--with-expat=system \
	--with-ffmpeg=system \
	--with-lame=system \
	--with-libflac=system \
	--with-libid3tag=system \
	--with-libmad=system \
	--with-libsndfile=system \
	--with-libsoxr=system \
	--with-libtwolame=system \
	--with-libvamp=system \
	--with-libvorbis=system \
	--with-lv2=system \
	--with-midi=system \
	--with-portaudio=system \
	--with-portsmf=system \
	--with-sbsms=system \
	--with-soundtouch=system \
	$(NULL)
(...)

Which gives us a hint on what we might need to enable at build time in order to get similar results.

Thanks @TheAssassin for this idea!


https://github.com/probonopd/audacity/blob/AppImage/.travis.yml