SVT-VP9 icon indicating copy to clipboard operation
SVT-VP9 copied to clipboard

Building gstreamer plugin without installing svt-vp9

Open Vascom opened this issue 6 years ago • 2 comments

How I can build gstreamer plugin immediately after building main svt-vp9 without installing it to the system?

Vascom avatar Sep 13 '19 07:09 Vascom

Hi @Vascom , may I know why you don't want svt-vp9 library be installed to the system?

tianjunwork avatar Sep 18 '19 13:09 tianjunwork

Because I am maintainer in Fedora. svt-vp9 (and av1, and hevc) contain lib source code and gstreamer plugin source code in one tar.gz file. So I can make many rpm packages from one spec file. I want build lib and immediately build gst plugin using this lib.

Now i use this patch for that:

# Patch build gstreamer plugin
sed -e "s|install: true,|install: true, include_directories : '../Source/API', link_args : '-lSvtVp9Enc',|" \
-e "/svtvp9enc_dep =/d" -e 's|, svtvp9enc_dep||' -e "s|svtvp9enc_dep.found()|true|" -i gstreamer-plugin/meson.build

pushd gstreamer-plugin
    export LIBRARY_PATH="$PWD/../Bin/Release:$LIBRARY_PATH"
    %meson
    %meson_build
popd

Vascom avatar Sep 18 '19 13:09 Vascom