Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building gstreamer plugin without installing svt-vp9 #53

Open
Vascom opened this issue Sep 13, 2019 · 2 comments
Open

Building gstreamer plugin without installing svt-vp9 #53

Vascom opened this issue Sep 13, 2019 · 2 comments

Comments

@Vascom
Copy link

Vascom commented Sep 13, 2019

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

@tianjunwork
Copy link
Contributor

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

@Vascom
Copy link
Author

Vascom commented Sep 18, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants