diff options
author | alperak <alperyasinak1@gmail.com> | 2023-11-12 16:37:06 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-11-12 12:18:47 -0800 |
commit | 8b1805ff1b690f1db172d9c62ddc37162f3ded87 (patch) | |
tree | 7c8f4d47c7735b84bd0f3d3e608abf2ee87339c0 /meta-multimedia | |
parent | 7d1a0cd654ecaa68e27e09666744901e21b775a9 (diff) | |
download | meta-openembedded-8b1805ff1b690f1db172d9c62ddc37162f3ded87.tar.gz |
libmatroska: upgrade 1.4.1 -> 1.7.1
Changelog:
https://github.com/Matroska-Org/libmatroska/blob/v1.x/NEWS.md
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia')
3 files changed, 16 insertions, 66 deletions
diff --git a/meta-multimedia/recipes-mkv/libmatroska/libmatroska/0001-Makefile-Use-LINKFLAGS-during-link-step.patch b/meta-multimedia/recipes-mkv/libmatroska/libmatroska/0001-Makefile-Use-LINKFLAGS-during-link-step.patch deleted file mode 100644 index f7656913b..000000000 --- a/meta-multimedia/recipes-mkv/libmatroska/libmatroska/0001-Makefile-Use-LINKFLAGS-during-link-step.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From f0c879097c331d1dabe6ee92b583a8badb62ea6d Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 18 Mar 2017 08:26:35 -0700 | ||
4 | Subject: [PATCH] Makefile: Use LINKFLAGS during link step | ||
5 | |||
6 | Adds much needed GNU_HASH section into the .so | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | make/linux/Makefile | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/make/linux/Makefile b/make/linux/Makefile | ||
15 | index 3ca7b0f..b5c9645 100644 | ||
16 | --- a/make/linux/Makefile | ||
17 | +++ b/make/linux/Makefile | ||
18 | @@ -104,7 +104,7 @@ $(LIBRARY): $(objects) | ||
19 | $(RANLIB) $@ | ||
20 | |||
21 | $(LIBRARY_SO): $(objects_so) | ||
22 | - $(CXX) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so) -lebml | ||
23 | + $(CXX) $(LINKFLAGS) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so) -lebml | ||
24 | rm -f $(LIBRARY_SO) | ||
25 | ln -s $(LIBRARY_SO_VER) $(LIBRARY_SO) | ||
26 | |||
27 | -- | ||
28 | 2.12.0 | ||
29 | |||
diff --git a/meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.4.1.bb b/meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.4.1.bb deleted file mode 100644 index 890be6926..000000000 --- a/meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.4.1.bb +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | SUMMARY = "libmatroska is a C++ libary to parse Matroska files (.mkv and .mka)" | ||
2 | LICENSE = "LGPL-2.1-only" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4fbd65380cdd255951079008b364516c" | ||
4 | |||
5 | DEPENDS = "libebml" | ||
6 | |||
7 | SRC_URI = "http://dl.matroska.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2 \ | ||
8 | file://0001-Makefile-Use-LINKFLAGS-during-link-step.patch \ | ||
9 | " | ||
10 | SRC_URI[md5sum] = "f61b2e5086f4bb9d24a43cc8af43a719" | ||
11 | SRC_URI[sha256sum] = "086f21873e925679babdabf793c3bb85c353d0cd79423543a3355e08e8a4efb7" | ||
12 | |||
13 | EXTRA_OEMAKE = "-e MAKEFLAGS=" | ||
14 | |||
15 | do_compile() { | ||
16 | cd ${S}/make/linux | ||
17 | oe_runmake CROSS="${TARGET_PREFIX}" | ||
18 | } | ||
19 | |||
20 | do_install() { | ||
21 | cd ${S}/make/linux | ||
22 | |||
23 | install -d ${D}${libdir} | ||
24 | install -m 0644 libmatroska.a ${D}${libdir} | ||
25 | install -m 0755 libmatroska.so.* ${D}${libdir} | ||
26 | cp -R --no-dereference --preserve=mode,links -v libmatroska.so ${D}${libdir} | ||
27 | |||
28 | install -d ${D}${includedir}/matroska | ||
29 | for i in ../../matroska/*.h; do | ||
30 | install -m 0644 $i ${D}${includedir}/matroska | ||
31 | done | ||
32 | |||
33 | install -d ${D}${includedir}/matroska/c | ||
34 | for i in ../../matroska/c/*.h; do | ||
35 | install -m 0644 $i ${D}${includedir}/matroska/c | ||
36 | done | ||
37 | } | ||
diff --git a/meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.7.1.bb b/meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.7.1.bb new file mode 100644 index 000000000..16862e690 --- /dev/null +++ b/meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.7.1.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | SUMMARY = "C++ library to parse and create Matroska files(.mkv and .mka)" | ||
2 | HOMEPAGE = "https://github.com/Matroska-Org/libmatroska" | ||
3 | LICENSE = "LGPL-2.1-only" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4fbd65380cdd255951079008b364516c" | ||
5 | |||
6 | DEPENDS = "libebml" | ||
7 | |||
8 | SRC_URI = "git://github.com/Matroska-Org/libmatroska.git;branch=v1.x;protocol=https" | ||
9 | SRCREV = "f5315fddda2d434e47035c038549a808d8b8eac7" | ||
10 | |||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | inherit pkgconfig cmake | ||
14 | |||
15 | #Static library enabled by default. It has been added in case you want to use it dynamically. | ||
16 | #EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON" | ||