Commit 8305cb29 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

meson: find libjpeg via pkg-config

This effectively (but optionally) requires libjpeg-turbo which
ships with a .pc file and is what pretty much everyone these days
uses anyway for libjpeg, so shouldn't be a problem hopefully.
parent cf34d513
......@@ -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
or for the IJG version
......@@ -4,7 +4,7 @@ jpeg_sources = [
jpeglib = cc.find_library('jpeg', required : get_option('jpeg'))
jpeglib = dependency('libjpeg', required : get_option('jpeg'))
if jpeglib.found()
gstjpeg = library('gstjpeg',
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment