summaryrefslogtreecommitdiff
path: root/py/pyv4l2/meson.build
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2023-02-24 15:37:10 +0200
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2023-02-24 18:10:42 +0200
commitdb5e57cdba31439ab2ae0e85c0ffc0c200ac3082 (patch)
tree2861117f96faf0cad3ffd562034cc81e37b7e541 /py/pyv4l2/meson.build
parent2bd85abc108e0688384f42b0ec83dcd5a622d50d (diff)
Drop v4l2
Drop (hacky) v4l2 support from kms++, and move it to a new, separate, library. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Diffstat (limited to 'py/pyv4l2/meson.build')
-rw-r--r--py/pyv4l2/meson.build38
1 files changed, 0 insertions, 38 deletions
diff --git a/py/pyv4l2/meson.build b/py/pyv4l2/meson.build
deleted file mode 100644
index 03b0dcc..0000000
--- a/py/pyv4l2/meson.build
+++ /dev/null
@@ -1,38 +0,0 @@
-py3_dep = dependency('python3', required : get_option('pyv4l2'))
-
-if py3_dep.found() == false
- subdir_done()
-endif
-
-pybind11_dep = dependency('pybind11', fallback : ['pybind11', 'pybind11_dep'],
- required : get_option('pyv4l2'))
-
-if pybind11_dep.found() == false
- subdir_done()
-endif
-
-pyv4l2_sources = files([
- 'pyv4l2.cpp',
-])
-
-pyv4l2_deps = [
- libv4l2xx_dep,
- py3_dep,
- pybind11_dep,
-]
-
-pyv4l2_args = [ '-fvisibility=hidden' ]
-
-destdir = get_option('libdir') / 'python' + py3_dep.version() / 'site-packages/pyv4l2'
-
-pyv4l2 = shared_module('pyv4l2',
- pyv4l2_sources,
- install : true,
- install_dir : destdir,
- name_prefix : '',
- dependencies : pyv4l2_deps,
- cpp_args : pyv4l2_args)
-
-# Copy __init__.py to build dir so that we can run without installing
-configure_file(input: '__init__.py', output: '__init__.py', copy: true,
- install : true, install_dir : destdir)