diff options
| author | Pratyush Meduri <mpratyus@qti.qualcomm.com> | 2026-01-21 14:04:05 +0530 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-01-21 15:29:20 -0800 |
| commit | def8784b1d4c9ae6275de0b49f4154cc5756095d (patch) | |
| tree | d63c38e76237d7a8ce32a8ce3bf209f4d9022a72 | |
| parent | 7bbe4a4e200452b1fd6c09c7fcf36c4b229146f6 (diff) | |
| download | meta-openembedded-def8784b1d4c9ae6275de0b49f4154cc5756095d.tar.gz | |
tinycompress: install compress_ops.h as public header
Add a patch to install compress_ops.h as a public header for
tinycompress, and update the recipe to apply it.
This is required for users that need access to compress_ops from
external components.
Upstream-Status: submitted
Signed-off-by: Pratyush Meduri <mpratyus@qti.qualcomm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2 files changed, 34 insertions, 1 deletions
diff --git a/meta-multimedia/recipes-multimedia/tinycompress/tinycompress/0001-include-install-compress_ops.h-as-public-header.patch b/meta-multimedia/recipes-multimedia/tinycompress/tinycompress/0001-include-install-compress_ops.h-as-public-header.patch new file mode 100644 index 0000000000..0bd70fa4d5 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/tinycompress/tinycompress/0001-include-install-compress_ops.h-as-public-header.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 2db4ee4ed5e12a48b1d195dab0f57b7106ff37c4 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Pratyush Meduri <mpratyus@qti.qualcomm.com> | ||
| 3 | Date: Tue, 20 Jan 2026 14:47:27 +0530 | ||
| 4 | Subject: [PATCH] include: install compress_ops.h as public header | ||
| 5 | |||
| 6 | Move tinycompress/compress_ops.h from noinst_HEADERS to | ||
| 7 | nobase_include_HEADERS so it gets installed for users. | ||
| 8 | |||
| 9 | Signed-off-by: Pratyush Meduri <mpratyus@qti.qualcomm.com> | ||
| 10 | Upstream-Status: Submitted [https://github.com/alsa-project/tinycompress/pull/30] | ||
| 11 | --- | ||
| 12 | include/Makefile.am | 4 ++-- | ||
| 13 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 14 | |||
| 15 | diff --git a/include/Makefile.am b/include/Makefile.am | ||
| 16 | index b12c2c5..15058a9 100644 | ||
| 17 | --- a/include/Makefile.am | ||
| 18 | +++ b/include/Makefile.am | ||
| 19 | @@ -1,8 +1,8 @@ | ||
| 20 | -nobase_include_HEADERS = tinycompress/tinycompress.h | ||
| 21 | +nobase_include_HEADERS = tinycompress/tinycompress.h \ | ||
| 22 | + tinycompress/compress_ops.h | ||
| 23 | |||
| 24 | noinst_HEADERS = sound/compress_offload.h \ | ||
| 25 | sound/compress_params.h \ | ||
| 26 | tinycompress/version.h \ | ||
| 27 | - tinycompress/compress_ops.h \ | ||
| 28 | tinycompress/tinymp3.h \ | ||
| 29 | tinycompress/tinywave.h | ||
| 30 | -- | ||
| 31 | 2.34.1 | ||
| 32 | |||
diff --git a/meta-multimedia/recipes-multimedia/tinycompress/tinycompress_1.2.13.bb b/meta-multimedia/recipes-multimedia/tinycompress/tinycompress_1.2.13.bb index 0dee6cba1f..ae34624ebf 100644 --- a/meta-multimedia/recipes-multimedia/tinycompress/tinycompress_1.2.13.bb +++ b/meta-multimedia/recipes-multimedia/tinycompress/tinycompress_1.2.13.bb | |||
| @@ -6,6 +6,7 @@ LICENSE = "LGPL-2.1-only | BSD-3-Clause" | |||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=cf9105c1a2d4405cbe04bbe3367373a0" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=cf9105c1a2d4405cbe04bbe3367373a0" |
| 7 | 7 | ||
| 8 | SRCREV = "ea5c7245beb0b6aec1565cfae0454d6ba374dfdd" | 8 | SRCREV = "ea5c7245beb0b6aec1565cfae0454d6ba374dfdd" |
| 9 | SRC_URI = "git://github.com/alsa-project/tinycompress.git;branch=master;protocol=https;tag=v${PV}" | 9 | SRC_URI = "git://github.com/alsa-project/tinycompress.git;branch=master;protocol=https;tag=v${PV} \ |
| 10 | file://0001-include-install-compress_ops.h-as-public-header.patch" | ||
| 10 | 11 | ||
| 11 | inherit autotools pkgconfig | 12 | inherit autotools pkgconfig |
