summaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia/nv-codec-headers
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2023-03-13 12:41:30 +0100
committerKhem Raj <raj.khem@gmail.com>2023-03-13 09:07:40 -0700
commit263d4ab75cb811ccb750926dce80146123def955 (patch)
treee537469fc648d0bccd02ac051ecd48221996cac3 /meta-multimedia/recipes-multimedia/nv-codec-headers
parentc4e081a1164455a6922e52a2504dfc64438d4049 (diff)
downloadmeta-openembedded-263d4ab75cb811ccb750926dce80146123def955.tar.gz
nv-codec-headers: update 11.1.5.2 -> 12.0.16.0
- use oe_runmake to avoid an error on rebuilds: | NOTE: make clean | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | make: *** No rule to make target 'clean'. Stop. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia/nv-codec-headers')
-rw-r--r--meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers_12.0.16.0.bb (renamed from meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers_11.1.5.2.bb)11
1 files changed, 4 insertions, 7 deletions
diff --git a/meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers_11.1.5.2.bb b/meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers_12.0.16.0.bb
index c1d807335..411c40616 100644
--- a/meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers_11.1.5.2.bb
+++ b/meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers_12.0.16.0.bb
@@ -4,14 +4,11 @@ LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${S}/include/ffnvcodec/dynlink_cuda.h;beginline=1;endline=26;md5=bb54a418154445b0aa99e15f640eacf4" 4LIC_FILES_CHKSUM = "file://${S}/include/ffnvcodec/dynlink_cuda.h;beginline=1;endline=26;md5=bb54a418154445b0aa99e15f640eacf4"
5 5
6SRC_URI = "git://git.videolan.org/git/ffmpeg/nv-codec-headers.git;branch=master;protocol=https" 6SRC_URI = "git://git.videolan.org/git/ffmpeg/nv-codec-headers.git;branch=master;protocol=https"
7SRCREV = "f8ae7a49bfef2f99d2c931a791dc3863fda67bf3" 7SRCREV = "c5e4af74850a616c42d39ed45b9b8568b71bf8bf"
8S = "${WORKDIR}/git" 8S = "${WORKDIR}/git"
9 9
10EXTRA_OEMAKE = "PREFIX=${prefix} DESTDIR=${D}"
11
10do_install() { 12do_install() {
11 install -d ${D}${includedir}/ffnvcodec ${D}${libdir}/pkgconfig 13 oe_runmake install
12 for file in include/ffnvcodec/*.h; do
13 install -m 644 "$file" ${D}${includedir}/ffnvcodec
14 done
15 install -m 644 ffnvcodec.pc.in ${D}${libdir}/pkgconfig/ffnvcodec.pc
16 sed -i "s|@@PREFIX@@|${prefix}|" ${D}${libdir}/pkgconfig/ffnvcodec.pc
17} 14}