From 61f9316e65067abfbc9d1c3d6fd0fb83e02a0849 Mon Sep 17 00:00:00 2001
From: Dmitriy Terekhin <jqt4@altlinux.org>
Date: Wed, 30 Nov 2022 18:53:30 +0400
Subject: [PATCH] mixin-alt-server.mk: jitsi-meet for x86_64 only

Some of the native libraries used by jitsi-meet
(eg libjnisctp.so libjitsisrtp.so) are only compiled
for the x86_64 architecture.
As a consequence, jitsi-meet cannot run properly
on architectures other than x86_64.

See-also: https://bugzilla.altlinux.org/44327
See-also: https://bugzilla.altlinux.org/44494
See-also: https://bugzilla.altlinux.org/44496
---
 conf.d/mixin-alt-server.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/conf.d/mixin-alt-server.mk b/conf.d/mixin-alt-server.mk
index 36b53056..76684f0e 100644
--- a/conf.d/mixin-alt-server.mk
+++ b/conf.d/mixin-alt-server.mk
@@ -65,6 +65,8 @@ endif
 	@$(call add,INSTALL2_PACKAGES,installer-feature-auto-domain)
 ifneq (,$(filter-out e2k%,$(ARCH)))
 	@$(call add,INSTALL2_PACKAGES,installer-feature-quota-stage2)
+endif
+ifeq (,$(filter-out x86_64,$(ARCH)))
 	@$(call add,MAIN_GROUPS,centaurus/jitsi-meet)
 endif
 	@$(call add,INSTALL2_PACKAGES,fdisk)
-- 
2.24.1