Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-01-16 15:03:18 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2021-01-16 15:03:18 +0100
commit785e11ce29c34a9924bd7c152557de366480d055 (patch)
tree1d6a290e5564eb98566743d6fae4af299e8885ca
parenta189b54dda8dd8fd9a127540a3a1e8fc10671c57 (diff)
extra/gegl: no vala API on i486
-rw-r--r--extra/ffmpeg/PKGBUILD29
-rw-r--r--extra/gegl/PKGBUILD21
2 files changed, 50 insertions, 0 deletions
diff --git a/extra/ffmpeg/PKGBUILD b/extra/ffmpeg/PKGBUILD
index f0f6f8e1..7c2a7aed 100644
--- a/extra/ffmpeg/PKGBUILD
+++ b/extra/ffmpeg/PKGBUILD
@@ -20,3 +20,32 @@ fi
# force picking of a modern libvpx and not libvpx1.3 needed for steam
makedepends+=('libvpx>=1.8.2')
+
+# no AviSynthPlus on i486 (uses Intel intrinsics and cmake support for
+# disabling it is broken)
+makedepends=(${makedepends[@]//avisynthplus/})
+makedepends_i686+=(avisynthplus)
+makedepends_pentium4=("${makedepends_i686[@]}")
+if [ "$CARCH" == 'i486' ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s/-enable-avisynth/--disable-avisynth/
+ '
+ )"
+fi
+
+# still required dependencies on i486:
+# sdl2
+# - ibus
+# - gtk3
+# - libnotify
+# - python-gobject
+# - gtk2
+# - qt5-base
+# - unicode-cldr
+# - fcitx
+# v4l-utils
+# - qt5-base
+# - mariadb-libs
+# - qtk3
diff --git a/extra/gegl/PKGBUILD b/extra/gegl/PKGBUILD
new file mode 100644
index 00000000..08592578
--- /dev/null
+++ b/extra/gegl/PKGBUILD
@@ -0,0 +1,21 @@
+# no Vala on i486
+makedepends=(${makedepends[@]//vala/})
+makedepends_i686+=(vala)
+makedepends_pentium4=("${makedepends_i686[@]}")
+
+# i486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # no Gnome (gjs), no dbus-glib
+ unset check
+
+ # disable Vala (not bootstrapped for i486)
+ eval "$(
+ declare -f build | \
+ sed '
+ s/\(arch-meson .* \)/\1 -Dvapi=false /
+ '
+ )"
+fi
+
+# python-gobject
+# ffmpeg