Port to FreeBSD and maybe more (#162)

* Make Unix conditionals the fallback

Provides a clear path what needs to be ported if the system is neither
Windows nor POSIX-like. If the difference from Linux is minor like on
macOS or BSDs then new conditionals can be added on case-by-case basis.

* gstreamer-plugin: sync Meson version check with CMake

* gstreamer-plugin: don't assume CMake can find libs by default
This commit is contained in:
Jan Beich 2019-09-24 21:53:51 +00:00 committed by Hassene Tmar
parent 0cee47c7b8
commit f43cc84340

View file

@ -5,7 +5,7 @@ project('gst-svt-av1', 'c',
default_options : [ 'buildtype=debugoptimized' ]) default_options : [ 'buildtype=debugoptimized' ])
# standard gst-plugins-bad dependencies and configuration # standard gst-plugins-bad dependencies and configuration
gst_req = '>= 1.15.1' gst_req = '>= 1.8'
gst_dep = dependency('gstreamer-1.0', version : gst_req, gst_dep = dependency('gstreamer-1.0', version : gst_req,
fallback : ['gstreamer', 'gst_dep']) fallback : ['gstreamer', 'gst_dep'])
gstbase_dep = dependency('gstreamer-base-1.0', version : gst_req, gstbase_dep = dependency('gstreamer-base-1.0', version : gst_req,