mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
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. https://bugzilla.gnome.org/show_bug.cgi?id=796947
This commit is contained in:
parent
cf34d51318
commit
8305cb2995
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue