diff --git a/REQUIREMENTS b/REQUIREMENTS index 140e8245c0..ee00920be4 100644 --- a/REQUIREMENTS +++ b/REQUIREMENTS @@ -110,7 +110,7 @@ Notes: This dependency is entirely optional, the video4linux plugin Package: JPEG library Plugins: jpeg (jpegenc, jpegdec, smokeenc, smokedec) -DebianPackage: libjpeg-dev +DebianPackage: libjpeg62-turbo-dev URL: http://www.libjpeg-turbo.org/ or http://www.ijg.org/ for the IJG version diff --git a/ext/jpeg/meson.build b/ext/jpeg/meson.build index 2222491dfb..817bdbe915 100644 --- a/ext/jpeg/meson.build +++ b/ext/jpeg/meson.build @@ -4,7 +4,7 @@ jpeg_sources = [ 'gstjpegdec.c', ] -jpeglib = cc.find_library('jpeg', required : get_option('jpeg')) +jpeglib = dependency('libjpeg', required : get_option('jpeg')) if jpeglib.found() gstjpeg = library('gstjpeg',