Commit 2196e5765c04f5f755912b95d6e8aa411e84048b

Sam Lantinga 2018-11-07T07:52:39

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

diff --git a/debian/rules b/debian/rules
index 6194e5f..b065aca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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