--- /dev/null
+Description: link against system libpng/libjpeg
+Author: IOhannes m zmölnig <umlaeute@debian.org>
+Forwarded: not-needed
+Last-Update: 2021-12-20
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: giada-0.19.1+ds1/CMakeLists.txt
+===================================================================
+--- giada-0.19.1+ds1.orig/CMakeLists.txt
++++ giada-0.19.1+ds1/CMakeLists.txt
+@@ -385,6 +385,9 @@ else()
+ message("Libsamplerate library found in " ${LIBRARY_SAMPLERATE})
+ endif()
+
++pkg_check_modules(JpegPng IMPORTED_TARGET libjpeg libpng)
++list(APPEND LIBRARIES PkgConfig::JpegPng)
++
+ # Catch (if tests enabled)
+
+ if (WITH_TESTS)