aes: specify the required OpenSSL version
authorAntonio Ospite <antonio.ospite@collabora.com>
Wed, 6 Oct 2021 11:38:35 +0000 (13:38 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 18 Oct 2021 23:25:50 +0000 (23:25 +0000)
commit7f001b63117ef01ccc31aac925ea62809ae1ec9d
treeeca2005e2811721c5d2a77e56253432411d66b80
parent8d7dde25875db33ab7c0bdf66afc76cfa776803a
aes: specify the required OpenSSL version

The code in the aes elements assumes OpenSSL >= 1.1.0:

  - implicit library initialization;
  - version retrieved with OpenSSL_version(OPENSSL_VERSION);

and it fails to build with older versions.

Specify the required OpenSSL version explicitly in meson.build so that
the elements are excluded on older systems (e.g. Ubuntu 16.04) and the
rest of GStreamer can still build.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1067>
subprojects/gst-plugins-bad/ext/aes/meson.build