From 0a4a4dba78d4f0787ca1e74608111540a4f84c75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= <ark@switnet.org>
Date: Tue, 12 Jul 2022 21:03:45 +0000
Subject: [PATCH] akregator: prevent trigger ppc64el builds.

---
 helpers/make-akregator | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/helpers/make-akregator b/helpers/make-akregator
index 550157a2..017a2af2 100644
--- a/helpers/make-akregator
+++ b/helpers/make-akregator
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#    Copyright (C) 2020  Luis Guzmán <ark@switnet.org>
+#    Copyright (C) 2022  Luis Guzmán <ark@switnet.org>
 #
 #    This program is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published by
@@ -24,7 +24,11 @@ VERSION=1
 # Patch trisquel feeds
 patch src/akregator_part.cpp < $DATA/trisquel_feeds.patch
 
+#Prevent ppc64el arch since qtwebengine is not build for ppc64el either.
+sed -i 's|Architecture:.*|Architecture: amd64 arm64 armhf i386 mips64el mipsel|g' debian/control
+sed -i 's|qtwebengine5-dev.*|qtwebengine5-dev (>= 5.6.1~) [!ppc64el],|' debian/control
+sed -i '/libkf5/s|,| [!ppc64el],|g' debian/control
+
 changelog "Patched feeds for Trisquel"
 
 compile
-
-- 
GitLab