diff options
| author | Einar Gunnarsson <tolvupostur@gmail.com> | 2024-09-10 12:52:39 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-09-11 06:50:25 -0700 |
| commit | b3f53080fc58bc2c4ca8a8756f15497591c70b27 (patch) | |
| tree | dae68c95d9b56977df832a1df43dc4bbdae3ee73 | |
| parent | 6d2e3a44054e1c1ff568f5bb085eee60e2958d58 (diff) | |
| download | meta-openembedded-b3f53080fc58bc2c4ca8a8756f15497591c70b27.tar.gz | |
v4l-utils: Install media ctrl pkgconfig files
Commit 5f453c3401e20eb5489fac4d3b54a5bf96d019ab installs
libraries but without the pkgconfig files, making them harder to link
to. This adds pkgconfig files for these libraries
Signed-off-by: Einar Jon Gunnarsson <tolvupostur@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-media-ctl-Install-media-ctl-pkg-config-files.patch | 49 | ||||
| -rw-r--r-- | meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.26.1.bb | 1 |
2 files changed, 50 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-media-ctl-Install-media-ctl-pkg-config-files.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-media-ctl-Install-media-ctl-pkg-config-files.patch new file mode 100644 index 0000000000..8a009ae806 --- /dev/null +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-media-ctl-Install-media-ctl-pkg-config-files.patch | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | From a422ddf7f8805d34ff1fbb46d335993c9cd05ead Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Einar Jon Gunnarsson <tolvupostur@gmail.com> | ||
| 3 | Date: Fri, 10 May 2024 11:56:17 +0200 | ||
| 4 | Subject: [PATCH] media-ctl: Install media-ctl pkg-config files | ||
| 5 | |||
| 6 | libv4l2subdev/libmediactl can not be used in projects without the | ||
| 7 | pkg-config files. This adds them as well. | ||
| 8 | |||
| 9 | Upstream-Status: Denied | ||
| 10 | |||
| 11 | This is an add-on to the previous patch: | ||
| 12 | 0001-media-ctl-Install-media-ctl-header-and-library-files.patch | ||
| 13 | so same restrictions apply. | ||
| 14 | |||
| 15 | Signed-off-by: Einar Jon Gunnarsson <tolvupostur@gmail.com> | ||
| 16 | --- | ||
| 17 | utils/media-ctl/meson.build | 12 ++++++++++++ | ||
| 18 | 1 file changed, 12 insertions(+) | ||
| 19 | |||
| 20 | diff --git a/utils/media-ctl/meson.build b/utils/media-ctl/meson.build | ||
| 21 | index 40669b4c..6feba1af 100644 | ||
| 22 | --- a/utils/media-ctl/meson.build | ||
| 23 | +++ b/utils/media-ctl/meson.build | ||
| 24 | @@ -38,6 +38,12 @@ libv4l2subdev = library('v4l2subdev', | ||
| 25 | |||
| 26 | dep_libv4l2subdev = declare_dependency(link_with : libv4l2subdev) | ||
| 27 | |||
| 28 | +pkg.generate( | ||
| 29 | + libv4l2subdev, | ||
| 30 | + name : 'libv4l2subdev', | ||
| 31 | + version : meson.project_version(), | ||
| 32 | + description : 'v4l2 subdev library') | ||
| 33 | + | ||
| 34 | media_ctl_sources = files( | ||
| 35 | 'media-ctl.c', | ||
| 36 | 'options.c', | ||
| 37 | @@ -55,3 +61,9 @@ media_ctl = executable('media-ctl', | ||
| 38 | dependencies : media_ctl_deps, | ||
| 39 | install : true, | ||
| 40 | include_directories : v4l2_utils_incdir) | ||
| 41 | + | ||
| 42 | +pkg.generate( | ||
| 43 | + libmediactl, | ||
| 44 | + name : 'libmediactl', | ||
| 45 | + version : meson.project_version(), | ||
| 46 | + description : 'v4l2 mediactl library') | ||
| 47 | -- | ||
| 48 | 2.43.5 | ||
| 49 | |||
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.26.1.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.26.1.bb index eb38d97132..8ab96760a5 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.26.1.bb +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.26.1.bb | |||
| @@ -29,6 +29,7 @@ SRC_URI = "\ | |||
| 29 | git://git.linuxtv.org/v4l-utils.git;protocol=https;branch=stable-1.26 \ | 29 | git://git.linuxtv.org/v4l-utils.git;protocol=https;branch=stable-1.26 \ |
| 30 | file://0001-keytable-meson-Restrict-the-installation-of-50-rc_ke.patch \ | 30 | file://0001-keytable-meson-Restrict-the-installation-of-50-rc_ke.patch \ |
| 31 | file://0001-media-ctl-Install-media-ctl-header-and-library-files.patch \ | 31 | file://0001-media-ctl-Install-media-ctl-header-and-library-files.patch \ |
| 32 | file://0002-media-ctl-Install-media-ctl-pkg-config-files.patch \ | ||
| 32 | " | 33 | " |
| 33 | 34 | ||
| 34 | SRCREV = "4aee01a027923cab1e40969f56f8ba58d3e6c0d1" | 35 | SRCREV = "4aee01a027923cab1e40969f56f8ba58d3e6c0d1" |
