Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/ghostscript
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ghostscript')
-rw-r--r--extra/ghostscript/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/ghostscript/PKGBUILD b/extra/ghostscript/PKGBUILD
new file mode 100644
index 00000000..cbae39fe
--- /dev/null
+++ b/extra/ghostscript/PKGBUILD
@@ -0,0 +1,22 @@
+# breaking cycle with gtk3 on i486
+makedepends=(${makedepends[@]//gtk3/})
+makedepends_i686+=(gtk3)
+makedepends_pentium4=("${makedepends_i686[@]}")
+
+# breaking cycle with OpenGL on i486
+makedepends=(${makedepends[@]//freeglut/})
+makedepends_i686+=(freeglut)
+makedepends_pentium4=("${makedepends_i686[@]}")
+makedepends=(${makedepends[@]//glu/})
+makedepends_i686+=(glu)
+makedepends_pentium4=("${makedepends_i686[@]}")
+
+# breaking cycle with X
+if [ "$CARCH" = 'i486' ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--with-x/--without-x/g
+ '
+ )"
+fi