Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage3/python/DESCR
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-25 21:14:09 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-25 21:14:09 +0100
commitb4cf5d6e1197c8076b94131ef2495c6d5c6fb89a (patch)
treeb1503402e30c8ef9bd9089bdbf614e70da8baf00 /i486-stage3/python/DESCR
parent2d2dc3a222e422e49082e0031ac53118c1957a7e (diff)
building most unproblematic packages in stage3
Diffstat (limited to 'i486-stage3/python/DESCR')
-rw-r--r--i486-stage3/python/DESCR16
1 files changed, 16 insertions, 0 deletions
diff --git a/i486-stage3/python/DESCR b/i486-stage3/python/DESCR
new file mode 100644
index 0000000..1e44107
--- /dev/null
+++ b/i486-stage3/python/DESCR
@@ -0,0 +1,16 @@
+# remove dependency on most things, we want only a simple interpreter
+# a little bit smarter than a shell for building and code generation
+sed -i "/makedepends=/s/'tk'//" PKGBUILD
+sed -i "/makedepends=/s/'sqlite'//" PKGBUILD
+sed -i "/makedepends=/s/'valgrind'//" PKGBUILD
+sed -i "/makedepends=/s/'bluez-libs'//" PKGBUILD
+sed -i "/makedepends=/s/'llvm'//" PKGBUILD
+
+# do not start X servers just for building software!
+sed -i "/makedepends=/s/'xorg-server-xvfb'//" PKGBUILD
+sed -i "s/\(export servernum=99\)/#\1/" PKGBUILD
+sed -i "s/\(while\)/#\1/" PKGBUILD
+sed -i 's@LC_CTYPE=en_US.UTF-8 xvfb-run -a -n "$servernum" make EXTRA_CFLAGS="$CFLAGS"@LC_CTYPE=en_US.UTF-8 make EXTRA_CFLAGS="$CFLAGS"@g' PKGBUILD
+
+# no LTO (we don't have support for it yet)
+sed -i "s/--with-lto/--without-lto/" PKGBUILD