https://bugzilla.redhat.com/show_bug.cgi?id=1751987

Vitaly Zaitsev <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



--- Comment #2 from Vitaly Zaitsev <[email protected]> ---
> # Patch build gstreamer plugin

Just use one one sed command:

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

> mkdir -p release

mkdir -p %{_target_platform}

> pushd release
>     %cmake3 \
>         -DCMAKE_SKIP_BUILD_RPATH=TRUE \
>         ..
>     %make_build
> popd

pushd %{_target_platform}
    %cmake -G Ninja \
    -DCMAKE_SKIP_BUILD_RPATH=TRUE \
    ..
popd
%ninja_build -C %{_target_platform}

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

%meson_build -C gstreamer-plugin

> pushd release
>     %make_install
> popd
> pushd gstreamer-plugin
>     %meson_install
> popd

%ninja_install -C %{_target_platform}
%meson_install -C gstreamer-plugin

> export LIBRARY_PATH="$PWD/../Bin/Release:$LIBRARY_PATH"

Do you really need this during build?

> %{_libdir}/gstreamer-1.0/libgstsvtvp9enc.so

Add Requires: gstreamer1-plugins-base%{?_isa}.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to