Date: Thursday, March 30, 2023 @ 21:46:57
  Author: dvzrv
Revision: 1431342

Use an interpreter dependent version of php-gd 
(https://bugs.archlinux.org/task/77996).

Modified:
  nextcloud/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-30 21:44:03 UTC (rev 1431341)
+++ PKGBUILD    2023-03-30 21:46:57 UTC (rev 1431342)
@@ -112,7 +112,10 @@
   local _dep_ver=""
 
   _get_php_versions
-  depends=("php-interpreter<$_max_php")
+  depends=(
+    "php-interpreter<$_max_php"
+    "php-gd-interpreter<$_max_php"
+  )
 
   # NOTE: this sets a custom php postfix based on whether php-legacy needs to 
be used
   if [[ "$_php_interpreter" != *php ]]; then
@@ -119,8 +122,6 @@
     _dep_ver="-legacy"
   fi
 
-  depends+=("php$_dep_ver-gd")
-
   # NOTE: due to weird makepkg checks we can't add optdepends with dynamically 
derived contents directly
   _optdepends=(
     "php$_dep_ver-apcu: for caching with APCU"

Reply via email to