diff options
-rw-r--r-- | meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers_11.1.5.2.bb | 17 |
1 files changed, 17 insertions, 0 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_11.1.5.2.bb new file mode 100644 index 000000000..c1d807335 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers_11.1.5.2.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | SUMMARY = "FFmpeg nvidia headers" | ||
2 | HOMEPAGE = "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://${S}/include/ffnvcodec/dynlink_cuda.h;beginline=1;endline=26;md5=bb54a418154445b0aa99e15f640eacf4" | ||
5 | |||
6 | SRC_URI = "git://git.videolan.org/git/ffmpeg/nv-codec-headers.git;branch=master;protocol=https" | ||
7 | SRCREV = "f8ae7a49bfef2f99d2c931a791dc3863fda67bf3" | ||
8 | S = "${WORKDIR}/git" | ||
9 | |||
10 | do_install() { | ||
11 | install -d ${D}${includedir}/ffnvcodec ${D}${libdir}/pkgconfig | ||
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 | } | ||