Hello, Vasiliy.
On Thursday, 14 November 2019 at 07:51, Vasiliy Glazov wrote:
commit 22819ea7f6df52fcb7f58940fa4b8585bd399101
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Thu Nov 14 09:51:32 2019 +0300
Correct build gstreamer plugin.
svt-hevc.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/svt-hevc.spec b/svt-hevc.spec
index 364ca43..eb13db2 100644
--- a/svt-hevc.spec
+++ b/svt-hevc.spec
[...]
@@ -51,7 +51,7 @@ This package provides %{name}-based GStreamer
plug-in.
# Remove unneeded flags
sed -i 's|-O3)|)|' CMakeLists.txt
# Patch build gstreamer plugin
-sed -e "s|install: true,|install: true, include_directories :
'../Source/API', link_args : '-lSvtHevcEnc',|" \
+sed -e "s|install: true,|install: true, include_directories :
include_directories('../Source/API'), link_args : '-lSvtHevcEnc',|"
\
-e "/svthevcenc_dep =/d" -e 's|, svthevcenc_dep||' -e
"s|svthevcenc_dep.found()|true|" -i gstreamer-plugin/meson.build
Could you do these changes using patches? sed calls are inherently
a fragile way of patching and will silently pass if it doesn't match
instead of failing like patch does.
Regards,
Dominik
--
Fedora
https://getfedora.org | RPM Fusion
http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan