summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-07-07 14:44:24 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2018-07-07 14:44:24 +0000
commit8ed0728c59898b5fc15bd45914620bee92b9b5dc (patch)
treef8d66b8310e8ee526061f1ef1f67d0b2dbbfca9c /extra
parentbc84bb5521096efecb4ee87805ce5e8f69a25a6d (diff)
downloadpackages-8ed0728c59898b5fc15bd45914620bee92b9b5dc.tar.xz
extra/jsoncpp: added i486 specific patches
Diffstat (limited to 'extra')
-rw-r--r--extra/git/PKGBUILD1
-rw-r--r--extra/jsoncpp/PKGBUILD18
2 files changed, 18 insertions, 1 deletions
diff --git a/extra/git/PKGBUILD b/extra/git/PKGBUILD
index 4e8184da..d78c5181 100644
--- a/extra/git/PKGBUILD
+++ b/extra/git/PKGBUILD
@@ -1,6 +1,5 @@
# 486-specific
if [ "${CARCH}" = "i486" ]; then
- echo 486
# we currently have no Gnome and libsecret, so disable integration
makedepends=(${makedepends[@]//libgnome-keyring/})
makedepends=(${makedepends[@]//libsecret/})
diff --git a/extra/jsoncpp/PKGBUILD b/extra/jsoncpp/PKGBUILD
new file mode 100644
index 00000000..a9b60ed8
--- /dev/null
+++ b/extra/jsoncpp/PKGBUILD
@@ -0,0 +1,18 @@
+# 486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # no doxygen or graphviz
+ makedepends=(${makedepends[@]//doxygen/})
+ makedepends=(${makedepends[@]//graphviz/})
+ eval "$(
+ declare -f build | \
+ sed '
+ /python doxybuild.py/d
+ '
+ declare -f package_jsoncpp-doc | \
+ sed '
+ /cp -a dist\/doxygen/d
+ '
+ )"
+fi
+
+