summaryrefslogtreecommitdiffstats
path: root/meta-multimedia
diff options
context:
space:
mode:
authoralperak <alperyasinak1@gmail.com>2023-11-12 16:37:06 +0300
committerKhem Raj <raj.khem@gmail.com>2023-11-12 12:18:47 -0800
commit8b1805ff1b690f1db172d9c62ddc37162f3ded87 (patch)
tree7c8f4d47c7735b84bd0f3d3e608abf2ee87339c0 /meta-multimedia
parent7d1a0cd654ecaa68e27e09666744901e21b775a9 (diff)
downloadmeta-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')
-rw-r--r--meta-multimedia/recipes-mkv/libmatroska/libmatroska/0001-Makefile-Use-LINKFLAGS-during-link-step.patch29
-rw-r--r--meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.4.1.bb37
-rw-r--r--meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.7.1.bb16
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 @@
1From f0c879097c331d1dabe6ee92b583a8badb62ea6d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 18 Mar 2017 08:26:35 -0700
4Subject: [PATCH] Makefile: Use LINKFLAGS during link step
5
6Adds much needed GNU_HASH section into the .so
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 make/linux/Makefile | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/make/linux/Makefile b/make/linux/Makefile
15index 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--
282.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 @@
1SUMMARY = "libmatroska is a C++ libary to parse Matroska files (.mkv and .mka)"
2LICENSE = "LGPL-2.1-only"
3LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4fbd65380cdd255951079008b364516c"
4
5DEPENDS = "libebml"
6
7SRC_URI = "http://dl.matroska.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2 \
8 file://0001-Makefile-Use-LINKFLAGS-during-link-step.patch \
9 "
10SRC_URI[md5sum] = "f61b2e5086f4bb9d24a43cc8af43a719"
11SRC_URI[sha256sum] = "086f21873e925679babdabf793c3bb85c353d0cd79423543a3355e08e8a4efb7"
12
13EXTRA_OEMAKE = "-e MAKEFLAGS="
14
15do_compile() {
16 cd ${S}/make/linux
17 oe_runmake CROSS="${TARGET_PREFIX}"
18}
19
20do_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 @@
1SUMMARY = "C++ library to parse and create Matroska files(.mkv and .mka)"
2HOMEPAGE = "https://github.com/Matroska-Org/libmatroska"
3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4fbd65380cdd255951079008b364516c"
5
6DEPENDS = "libebml"
7
8SRC_URI = "git://github.com/Matroska-Org/libmatroska.git;branch=v1.x;protocol=https"
9SRCREV = "f5315fddda2d434e47035c038549a808d8b8eac7"
10
11S = "${WORKDIR}/git"
12
13inherit 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"