[packages/firefox] v4l2 enabled only on %{arm} aarch64 and riscv64; rel 2

atler atler at pld-linux.org
Thu Aug 3 02:03:58 CEST 2023


commit 7cb4aba24dfbc7a846c9307ec755673dab601028
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Aug 3 00:04:41 2023 +0200

    v4l2 enabled only on %{arm} aarch64 and riscv64; rel 2

 firefox.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/firefox.spec b/firefox.spec
index 21cf1ba..a3c6169 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -31,6 +31,10 @@
 %define		with_lowmem	1
 %endif
 
+%ifarch %{arm} aarch64 riscv64
+%define		with_v4l2	1
+%endif
+
 # On updating version, grab CVE links from:
 # https://www.mozilla.org/security/known-vulnerabilities/firefox.html
 # Release Notes:
@@ -52,7 +56,7 @@ Summary(hu.UTF-8):	Firefox web böngésző
 Summary(pl.UTF-8):	Firefox - przeglądarka WWW
 Name:		firefox
 Version:	116.0
-Release:	1
+Release:	2
 License:	MPL v2.0
 Group:		X11/Applications/Networking
 Source0:	https://releases.mozilla.org/pub/firefox/releases/%{version}/source/firefox-%{version}.source.tar.xz
@@ -2418,7 +2422,7 @@ fi
 %attr(755,root,root) %{_libdir}/%{name}/firefox-bin
 %attr(755,root,root) %{_libdir}/%{name}/glxtest
 %attr(755,root,root) %{_libdir}/%{name}/pingsender
-%attr(755,root,root) %{_libdir}/%{name}/v4l2test
+%{?with_v4l2:%attr(755,root,root) %{_libdir}/%{name}/v4l2test}
 %attr(755,root,root) %{_libdir}/%{name}/vaapitest
 %{_libdir}/%{name}/application.ini
 %{_libdir}/%{name}/browser/omni.ja
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/firefox.git/commitdiff/7cb4aba24dfbc7a846c9307ec755673dab601028



More information about the pld-cvs-commit mailing list