Used confflags +=, so each option can be enabled individually, if desired

This commit is contained in:
Sam Lantinga 2018-11-07 07:52:39 -08:00
parent 44c5d803ba
commit 2196e5765c
1 changed files with 14 additions and 4 deletions

18
debian/rules vendored
View File

@ -6,10 +6,20 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
confflags = --disable-rpath --disable-video-directfb \
--disable-nas --disable-esd --disable-arts
# These flags can be used to create a package with runtime dependencies
# --disable-alsa-shared \
# --disable-pulseaudio-shared \
# --disable-x11-shared
# These flags can be used to create a package directly linking with external libraries and having the appropriate package dependencies
#confflags += --disable-alsa-shared
#confflags += --disable-arts-shared
#confflags += --disable-directfb-shared
#confflags += --disable-esd-shared
#confflags += --disable-fusionsound-shared
#confflags += --disable-jack-shared
#confflags += --disable-kmsdrm-shared
#confflags += --disable-libsamplerate-shared
#confflags += --disable-nas-shared
#confflags += --disable-pulseaudio-shared
#confflags += --disable-sndio-shared
#confflags += --disable-wayland-shared
#confflags += --disable-x11-shared
%:
dh $@ --parallel