commit dfd172f72b4235df79360c266473be263c443c11
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Fri Jun 5 23:35:22 2020 +0200
Rebuild for Python 3.9| Set opencv cflags
...Y.patch => lives-Switch-to-opencv2-COLOR_RGB2GRAY.patch | 0
lives.spec | 14 ++++++++++----
sources | 2 +-
3 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/Switch-to-opencv2-COLOR_RGB2GRAY.patch
b/lives-Switch-to-opencv2-COLOR_RGB2GRAY.patch
similarity index 100%
rename from Switch-to-opencv2-COLOR_RGB2GRAY.patch
rename to lives-Switch-to-opencv2-COLOR_RGB2GRAY.patch
diff --git a/lives.spec b/lives.spec
index b03c5c3..c5655c5 100644
--- a/lives.spec
+++ b/lives.spec
@@ -33,7 +33,7 @@ License: GPLv3+ and LGPLv3+
URL:
http://lives-video.com
Source0:
http://lives-video.com/releases/LiVES-%{version}.tar.gz
#
https://github.com/salsaman/LiVES/pull/7
-Patch0: Switch-to-opencv2-COLOR_RGB2GRAY.patch
+Patch0: lives-Switch-to-opencv2-COLOR_RGB2GRAY.patch
# Appdata file
Source1: LiVES.appdata.xml
@@ -131,7 +131,7 @@ find . -type f -name "*.c" -exec chmod 0644 '{}' \;
--disable-sdl2 --disable-projectM
%endif
-%make_build CPPFLAGS=`pkg-config --cflags libtirpc`
+%make_build CPPFLAGS="`pkg-config --cflags libtirpc` `pkg-config --cflags
opencv4`"
%install
%make_install
@@ -165,8 +165,8 @@ find %{buildroot} -name 'multi_encoder' -exec rm -f {}
';'
find %{buildroot}%{_bindir} -name '*_encoder' -exec rm -f {} ';'
# Fix unversioned Python interpreter
-find %{buildroot} -name '*multi_encoder3' | xargs sed -i '1s|^#!/usr/bin/env
python|#!%{__python3}|'
-find %{buildroot}%{_bindir} -name '*_encoder3' | xargs sed -i
'1s|^#!/usr/bin/env python|#!%{__python3}|'
+find %{buildroot} -name '*multi_encoder3' | xargs pathfix.py -pn -i
"%{__python3}"
+find %{buildroot}%{_bindir} -name '*_encoder3' | xargs pathfix.py -pn -i
"%{__python3}"
rm -f %{buildroot}%{_bindir}/%{name}
cat > %{buildroot}%{_bindir}/%{name} <<EOF
@@ -212,6 +212,12 @@ appstream-util validate-relax --nonet
%{buildroot}%{_metainfodir}/*.appdata.xml
%{_metainfodir}/LiVES.appdata.xml
%changelog
+* Fri Jun 05 2020 Antonio Trande <sagitter(a)fedoraproject.org> - 3.0.2-6
+- Patch renamed
+- Use pathfix.py commands
+- Rebuild for Python 3.9
+- Set opencv cflags
+
* Wed Apr 01 2020 Nicolas Chauvet <kwizart(a)gmail.com> - 3.0.2-5
- Rebuilt for libfreenect
diff --git a/sources b/sources
index 8e5c789..d1ebbf9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2574a16cc1f5c8d0ff16791b290e8d07 LiVES-3.0.2.tar.gz
+SHA512 (LiVES-3.0.2.tar.gz) =
4f81102569bdc35a52872f1be96e9111a41f9d119778f13784f95016099f7de8c6a73a0a327834b47211dd4c09373eb07c66c25b600f50221ded7c55af70b2e1