From 75927f43c9b1b92f1c62f792b1846a7cc398582e Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Mon, 25 Apr 2016 19:35:24 +0100 Subject: Generate metadata and pass new --arch option to flatpak-builder Allows us to keep some build configurations in the same place so they do not have to be duplicated, and lets us easily build on mulitple architectures without having to edit the metadata. https://bugs.freedesktop.org/show_bug.cgi?id=95439 --- Makefile | 32 +- metadata.platform | 23 - metadata.platform.in | 23 + metadata.sdk | 23 - metadata.sdk.in | 23 + org.freedesktop.Sdk.json | 1893 ------------------------------------------- org.freedesktop.Sdk.json.in | 1893 +++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 1969 insertions(+), 1941 deletions(-) delete mode 100644 metadata.platform create mode 100644 metadata.platform.in delete mode 100644 metadata.sdk create mode 100644 metadata.sdk.in delete mode 100644 org.freedesktop.Sdk.json create mode 100644 org.freedesktop.Sdk.json.in diff --git a/Makefile b/Makefile index 0713bee..0450faf 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,33 @@ -all: repo org.freedesktop.Sdk.json - flatpak-builder --force-clean --ccache --require-changes --repo=repo --subject="build of org.freedesktop.Sdk, `date`" ${EXPORT_ARGS} sdk org.freedesktop.Sdk.json +# Override the arch with `make ARCH=i386` +ARCH ?= $(shell xdg-app --default-arch) + +# SDK Versions setup here +# +# SDK_BRANCH: The version (branch) of runtime and sdk to produce +# SDK_RUNTIME_VERSION: The org.freedesktop.BaseSdk and platform version to build against +# +SDK_BRANCH=1.5 +SDK_RUNTIME_VERSION=1.4 + +# Canned recipe for generating metadata +SUBST_FILES=org.freedesktop.Sdk.json metadata.sdk metadata.platform +define subst-metadata + @echo -n "Generating files: ${SUBST_FILES}... "; + @for file in ${SUBST_FILES}; do \ + file_source=$${file}.in; \ + sed -e 's/@@SDK_ARCH@@/${ARCH}/g' \ + -e 's/@@SDK_BRANCH@@/${SDK_BRANCH}/g' \ + -e 's/@@SDK_RUNTIME_VERSION@@/${SDK_RUNTIME_VERSION}/g' \ + $$file_source > $$file.tmp && mv $$file.tmp $$file || exit 1; \ + done + @echo "Done."; +endef + +all: repo $(patsubst %,%.in,$(SUBST_FILES)) + $(call subst-metadata) + flatpak-builder --force-clean --ccache --require-changes --repo=repo --arch=${ARCH} \ + --subject="build of org.freedesktop.Sdk, `date`" \ + ${EXPORT_ARGS} sdk org.freedesktop.Sdk.json rm -rf sdk repo: diff --git a/metadata.platform b/metadata.platform deleted file mode 100644 index 172c401..0000000 --- a/metadata.platform +++ /dev/null @@ -1,23 +0,0 @@ -[Runtime] -name=org.freedesktop.Platform -runtime=org.freedesktop.Platform/x86_64/1.5 -sdk=org.freedesktop.Sdk/x86_64/1.5 - -[Extension org.freedesktop.Platform.GL] -directory=lib/GL - -[Extension org.freedesktop.Platform.Timezones] -directory=share/zoneinfo - -[Extension org.freedesktop.Platform.Locale] -directory=share/runtime/locale -subdirectories=true - -[Extension org.freedesktop.Platform.GStreamer] -directory=lib/extensions/gstreamer-1.0 -subdirectories=true - -[Environment] -GI_TYPELIB_PATH=/app/lib/girepository-1.0 -GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0:/usr/lib/extensions/gstreamer-1.0:/usr/lib/gstreamer-1.0 -LD_LIBRARY_PATH=/app/lib:/usr/lib/GL diff --git a/metadata.platform.in b/metadata.platform.in new file mode 100644 index 0000000..b9a61cb --- /dev/null +++ b/metadata.platform.in @@ -0,0 +1,23 @@ +[Runtime] +name=org.freedesktop.Platform +runtime=org.freedesktop.Platform/@@SDK_ARCH@@/@@SDK_BRANCH@@ +sdk=org.freedesktop.Sdk/@@SDK_ARCH@@/@@SDK_BRANCH@@ + +[Extension org.freedesktop.Platform.GL] +directory=lib/GL + +[Extension org.freedesktop.Platform.Timezones] +directory=share/zoneinfo + +[Extension org.freedesktop.Platform.Locale] +directory=share/runtime/locale +subdirectories=true + +[Extension org.freedesktop.Platform.GStreamer] +directory=lib/extensions/gstreamer-1.0 +subdirectories=true + +[Environment] +GI_TYPELIB_PATH=/app/lib/girepository-1.0 +GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0:/usr/lib/extensions/gstreamer-1.0:/usr/lib/gstreamer-1.0 +LD_LIBRARY_PATH=/app/lib:/usr/lib/GL diff --git a/metadata.sdk b/metadata.sdk deleted file mode 100644 index 5da3637..0000000 --- a/metadata.sdk +++ /dev/null @@ -1,23 +0,0 @@ -[Runtime] -name=org.freedesktop.Sdk -runtime=org.freedesktop.Platform/x86_64/1.5 -sdk=org.freedesktop.Sdk/x86_64/1.5 - -[Extension org.freedesktop.Platform.GL] -directory=lib/GL - -[Extension org.freedesktop.Platform.Timezones] -directory=share/zoneinfo - -[Extension org.freedesktop.Sdk.Locale] -directory=share/runtime/locale -subdirectories=true - -[Extension org.freedesktop.Platform.GStreamer] -directory=lib/extensions/gstreamer-1.0 -subdirectories=true - -[Environment] -GI_TYPELIB_PATH=/app/lib/girepository-1.0 -GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0:/usr/lib/extensions/gstreamer-1.0:/usr/lib/gstreamer-1.0 -LD_LIBRARY_PATH=/app/lib:/usr/lib/GL diff --git a/metadata.sdk.in b/metadata.sdk.in new file mode 100644 index 0000000..a873086 --- /dev/null +++ b/metadata.sdk.in @@ -0,0 +1,23 @@ +[Runtime] +name=org.freedesktop.Sdk +runtime=org.freedesktop.Platform/@@SDK_ARCH@@/@@SDK_BRANCH@@ +sdk=org.freedesktop.Sdk/@@SDK_ARCH@@/@@SDK_BRANCH@@ + +[Extension org.freedesktop.Platform.GL] +directory=lib/GL + +[Extension org.freedesktop.Platform.Timezones] +directory=share/zoneinfo + +[Extension org.freedesktop.Sdk.Locale] +directory=share/runtime/locale +subdirectories=true + +[Extension org.freedesktop.Platform.GStreamer] +directory=lib/extensions/gstreamer-1.0 +subdirectories=true + +[Environment] +GI_TYPELIB_PATH=/app/lib/girepository-1.0 +GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0:/usr/lib/extensions/gstreamer-1.0:/usr/lib/gstreamer-1.0 +LD_LIBRARY_PATH=/app/lib:/usr/lib/GL diff --git a/org.freedesktop.Sdk.json b/org.freedesktop.Sdk.json deleted file mode 100644 index 2120449..0000000 --- a/org.freedesktop.Sdk.json +++ /dev/null @@ -1,1893 +0,0 @@ -{ - "build-runtime": true, - "id": "org.freedesktop.Sdk", - "id-platform": "org.freedesktop.Platform", - "branch": "1.5", - "runtime": "org.freedesktop.BasePlatform", - "sdk": "org.freedesktop.BaseSdk", - "runtime-version": "1.4", - "writable-sdk": true, - "sdk-extensions": [], - "metadata": "metadata.sdk", - "metadata-platform": "metadata.platform", - "cleanup": [ "/cache", - "/man", - "/share/doc", - "/share/man", - "/share/gtk-doc", - "/share/devhelp", - "/lib/systemd", - "/lib/opkg", - "*.la", "*.a"], - "cleanup-commands": [ "touch -d @0 /usr/share/fonts", - "touch -d @0 /usr/share/fonts/*", - "fc-cache -fs", - "mkdir -p /usr/lib/GL", - "mkdir -p /usr/lib/debug", - "ln -s /app/lib/debug /usr/lib/debug/app", - "ln -s ../../run/ /usr/lib/extensions" - ], - "cleanup-platform": [ "/include", - "/share/aclocal", - "/share/pkgconfig", - "/lib/pkgconfig", - "/lib/cmake", - "/share/vala", - "/share/gir-1.0", - "/lib/python*/test" - ], - "build-options" : { - "cflags": "-O2 -g", - "cxxflags": "-O2 -g", - "env": { - "V": "1" - } - }, - "modules": [ - { - "name": "autoconf-archive", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://ftp.acc.umu.se/mirror/gnu.org/gnu/autoconf-archive/autoconf-archive-2016.03.20.tar.xz", - "sha256": "88fb2efff640eddd28a52ae550ff5561bca3bd2bba09e1d7b0580e719875e437" - } - ] - }, - { - "name": "xorg-x11-util-macros", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/util/util-macros-1.19.0.tar.bz2", - "sha256": "2835b11829ee634e19fa56517b4cfc52ef39acea0cd82e15f68096e27cbed0ba" - } - ] - }, - { - "name": "xorg-x11-proto-bigreqs", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/bigreqsproto-1.1.2.tar.bz2", - "sha256": "462116ab44e41d8121bfde947321950370b285a5316612b8fce8334d50751b1e" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-composite", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/compositeproto-0.4.2.tar.bz2", - "sha256": "049359f0be0b2b984a8149c966dd04e8c58e6eade2a4a309cf1126635ccd0cfc" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-damage", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/damageproto-1.2.1.tar.bz2", - "sha256": "5c7c112e9b9ea8a9d5b019e5f17d481ae20f766cb7a4648360e7c1b46fc9fc5b" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-dmx", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/dmxproto-2.3.1.tar.bz2", - "sha256": "e72051e6a3e06b236d19eed56368117b745ca1e1a27bdc50fd51aa375bea6509" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-evieext", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/evieext-1.1.1.tar.bz2", - "sha256": "1cf74114436d99f56577a90b6438a32ba31b8128c9e63842bb179aba592733fe" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-fixes", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/fixesproto-5.0.tar.bz2", - "sha256": "ba2f3f31246bdd3f2a0acf8bd3b09ba99cab965c7fb2c2c92b7dc72870e424ce" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-fonts", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/fontsproto-2.1.3.tar.bz2", - "sha256": "259046b0dd9130825c4a4c479ba3591d6d0f17a33f54e294b56478729a6e5ab8" - } - ] - }, - { - "name": "xorg-x11-proto-gl", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/glproto-1.4.17.tar.bz2", - "sha256": "adaa94bded310a2bfcbb9deb4d751d965fcfe6fb3a2f6d242e2df2d6589dbe40" - } - ] - }, - { - "name": "xorg-x11-proto-input", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/inputproto-2.3.1.tar.bz2", - "sha256": "5a47ee62053a6acef3a83f506312494be1461068d0b9269d818839703b95c1d1" - } - ] - }, - { - "name": "xorg-x11-proto-kb", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/kbproto-1.0.7.tar.bz2", - "sha256": "f882210b76376e3fa006b11dbd890e56ec0942bc56e65d1249ff4af86f90b857" - } - ] - }, - { - "name": "xorg-x11-proto-randr", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/randrproto-1.5.0.tar.bz2", - "sha256": "4c675533e79cd730997d232c8894b6692174dce58d3e207021b8f860be498468" - } - ] - }, - { - "name": "xorg-x11-proto-record", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/recordproto-1.14.2.tar.bz2", - "sha256": "a777548d2e92aa259f1528de3c4a36d15e07a4650d0976573a8e2ff5437e7370" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-render", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/renderproto-0.11.1.tar.bz2", - "sha256": "06735a5b92b20759204e4751ecd6064a2ad8a6246bb65b3078b862a00def2537" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-resource", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/resourceproto-1.2.0.tar.bz2", - "sha256": "3c66003a6bdeb0f70932a9ed3cf57cc554234154378d301e0c5cfa189d8f6818" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-scrnsaver", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/scrnsaverproto-1.2.2.tar.bz2", - "sha256": "8bb70a8da164930cceaeb4c74180291660533ad3cc45377b30a795d1b85bcd65" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-video", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/videoproto-2.3.2.tar.bz2", - "sha256": "8dae168cb820fcd32f564879afb3f24d27c176300d9af66819a18265539bd4b6" - } - ] - }, - { - "name": "xorg-x11-proto-xcmisc", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/xcmiscproto-1.2.2.tar.bz2", - "sha256": "b13236869372256c36db79ae39d54214172677fb79e9cdc555dceec80bd9d2df" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-xext", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/xextproto-7.3.0.tar.bz2", - "sha256": "f3f4b23ac8db9c3a9e0d8edb591713f3d70ef9c3b175970dd8823dfc92aa5bb0" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-xf86bigfont", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/xf86bigfontproto-1.2.0.tar.bz2", - "sha256": "ba9220e2c4475f5ed2ddaa7287426b30089e4d29bd58d35fad57ba5ea43e1648" - } - ] - }, - { - "name": "xorg-x11-proto-xf86dga", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/xf86dgaproto-2.1.tar.bz2", - "sha256": "ac5ef65108e1f2146286e53080975683dae49fc94680042e04bd1e2010e99050" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-xf86dri", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/xf86driproto-2.1.1.tar.bz2", - "sha256": "9c4b8d7221cb6dc4309269ccc008a22753698ae9245a398a59df35f1404d661f" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-xf86misc", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/xf86miscproto-0.9.3.tar.bz2", - "sha256": "45b8ec6a4a8ca21066dce117e09dcc88539862e616e60fb391de05b36f63b095" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-xf86vidmode", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/xf86vidmodeproto-2.3.1.tar.bz2", - "sha256": "45d9499aa7b73203fd6b3505b0259624afed5c16b941bd04fcf123e5de698770" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-xinerama", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/xineramaproto-1.2.1.tar.bz2", - "sha256": "977574bb3dc192ecd9c55f59f991ec1dff340be3e31392c95deff423da52485b" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-x", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/xproto-7.0.28.tar.bz2", - "sha256": "29e85568d1f68ceef8a2c081dad9bc0e5500a53cfffde24b564dc43d46ddf6ca" - } - ] - }, - { - "name": "xorg-x11-proto-xproxymanagement", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/xproxymanagementprotocol-1.0.3.tar.bz2", - "sha256": "7382acd8c76fa577beb622cab86cc07fafdcecbbd9b4f209bfa72976c4fd26c2" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-dri2", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/dri2proto-2.8.tar.bz2", - "sha256": "f9b55476def44fc7c459b2537d17dbc731e36ed5d416af7ca0b1e2e676f8aa04" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xorg-x11-proto-present", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/presentproto-1.0.tar.bz2", - "sha256": "812c7d48721f909a0f7a2cb1e91f6eead76159a36c4712f4579ca587552839ce" - } - ] - }, - { - "name": "xorg-x11-proto-dri3", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/proto/dri3proto-1.0.tar.bz2", - "sha256": "01be49d70200518b9a6b297131f6cc71f4ea2de17436896af153226a774fc074" - } - ] - }, - { - "name": "xorg-x11-xtrans-devel", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/xtrans-1.3.5.tar.bz2", - "sha256": "adbd3b36932ce4c062cd10f57d78a156ba98d618bdb6f50664da327502bc8301" - } - ] - }, - { - "name": "libXau", - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libXau-1.0.8.tar.bz2", - "sha256": "fdd477320aeb5cdd67272838722d6b7d544887dfe7de46e1e7cc0c27c2bea4f2" - } - ] - }, - { - "name": "xcb-proto", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://xcb.freedesktop.org/dist/xcb-proto-1.11.tar.bz2", - "sha256": "b4aceee6502a0ce45fc39b33c541a2df4715d00b72e660ebe8c5bb444771e32e" - } - ] - }, - { - "name": "libxcb", - "rm-configure": true, - /* I'm getting strange python errors with parallel build: EOFError: EOF read where object expected when parsing xml desc */ - "no-parallel-make": true, - "config-opts": [ "--disable-static", "--enable-xkb", "--disable-xprint" ], - "post-install": [ "sed 's,@libdir@,/usr/lib,;s,@prefix@,/usr,;s,@exec_prefix@,/usr,' pthread-stubs.pc.in > /usr/lib/pkgconfig/pthread-stubs.pc"], - "sources": [ - { - "type": "archive", - "url": "http://xcb.freedesktop.org/dist/libxcb-1.11.tar.bz2", - "sha256": "03635d70045b9ede90778e67516135828a57de87ac508f987024f43c03620ff7" - }, - { - "type": "file", - "path": "pthread-stubs.pc.in" - }, - { - "type": "patch", - "path": "libxcb-pthread-stub.patch" - } - ] - }, - { - "name": "libXdmcp", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libXdmcp-1.1.2.tar.bz2", - "sha256": "81fe09867918fff258296e1e1e159f0dc639cb30d201c53519f25ab73af4e4e2" - } - ] - }, - { - "name": "libX11", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libX11-1.6.3.tar.bz2", - "sha256": "cf31a7c39f2f52e8ebd0db95640384e63451f9b014eed2bb7f5de03e8adc8111" - } - ] - }, - { - "name": "libXext", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libXext-1.3.3.tar.bz2", - "sha256": "b518d4d332231f313371fdefac59e3776f4f0823bcb23cf7c7305bfb57b16e35" - } - ] - }, - { - "name": "libXv", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libXv-1.0.10.tar.bz2", - "sha256": "55fe92f8686ce8612e2c1bfaf58c057715534419da700bda8d517b1d97914525" - } - ] - }, - { - "name": "libXfixes", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libXfixes-5.0.1.tar.bz2", - "sha256": "63bec085084fa3caaee5180490dd871f1eb2020ba9e9b39a30f93693ffc34767" - } - ] - }, - { - "name": "libXdamage", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libXdamage-1.1.4.tar.bz2", - "sha256": "7c3fe7c657e83547f4822bfde30a90d84524efb56365448768409b77f05355ad" - }, - { - "type": "shell", - "commands": [ - "rm -f config.sub config.guess", - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "libXi", - "config-opts": [ "--disable-static", "--disable-specs" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libXi-1.7.4.tar.bz2", - "sha256": "2cffc2686618dc1803725636cd92b36342c512dc60a7a35cba34bf7192a42244" - } - ] - }, - { - "name": "libXtst", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libXtst-1.2.2.tar.bz2", - "sha256": "ef0a7ffd577e5f1a25b1663b375679529663a1880151beaa73e9186c8309f6d9" - } - ] - }, - { - "name": "libICE", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libICE-1.0.9.tar.bz2", - "sha256": "8f7032f2c1c64352b5423f6b48a8ebdc339cc63064af34d66a6c9aa79759e202" - } - ] - }, - { - "name": "libSM", - "config-opts": [ "--disable-static", "--with-libuuid" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libSM-1.2.2.tar.bz2", - "sha256": "0baca8c9f5d934450a70896c4ad38d06475521255ca63b717a6510fdb6e287bd" - } - ] - }, - { - "name": "libXt", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libXt-1.1.5.tar.bz2", - "sha256": "46eeb6be780211fdd98c5109286618f6707712235fdd19df4ce1e6954f349f1a" - } - ] - }, - { - "name": "libvdpau", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://cgit.freedesktop.org/~aplattner/libvdpau/snapshot/libvdpau-1.1.1.tar.bz2", - "sha256": "e0d3840e2d2bda66f8fa953e9cb3d0d1925d42616cad90d73a64cf8ec6227bfa" - } - ] - }, - { - "name": "libpciaccess", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libpciaccess-0.13.4.tar.bz2", - "sha256": "07f864654561e4ac8629a0ef9c8f07fbc1f8592d1b6c418431593e9ba2cf2fcf" - } - ] - }, - { - "name": "libdrm", - "config-opts": [ "--disable-static", "--disable-udev" ], - "sources": [ - { - "type": "archive", - "url": "https://dri.freedesktop.org/libdrm/libdrm-2.4.67.tar.gz", - "sha256": "4ae392513c4df30d88f10e69bf425a1dff960a5b4ccd4da621d9fc88523f7acb" - } - ] - }, - { - "name": "libXxf86vm", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libXxf86vm-1.1.4.tar.bz2", - "sha256": "afee27f93c5f31c0ad582852c0fb36d50e4de7cd585fcf655e278a633d85cd57" - } - ] - }, - { - "name": "libxshmfence", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libxshmfence-1.2.tar.bz2", - "sha256": "d21b2d1fd78c1efbe1f2c16dae1cb23f8fd231dcf891465b8debe636a9054b0c" - } - ] - }, - { - "name": "libXpm", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libXpm-3.5.11.tar.bz2", - "sha256": "c5bdafa51d1ae30086fac01ab83be8d47fe117b238d3437f8e965434090e041c" - } - ] - }, - { - "name": "libXrender", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libXrender-0.9.9.tar.bz2", - "sha256": "fc2fe57980a14092426dffcd1f2d9de0987b9d40adea663bd70d6342c0e9be1a" - } - ] - }, - { - "name": "libXScrnSaver", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libXScrnSaver-1.2.2.tar.bz2", - "sha256": "8ff1efa7341c7f34bcf9b17c89648d6325ddaae22e3904e091794e0b4426ce1d" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "libXcursor", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libXcursor-1.1.14.tar.bz2", - "sha256": "9bc6acb21ca14da51bda5bc912c8955bc6e5e433f0ab00c5e8bef842596c33df" - } - ] - }, - { - "name": "libXinerama", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libXinerama-1.1.3.tar.bz2", - "sha256": "7a45699f1773095a3f821e491cbd5e10c887c5a5fce5d8d3fced15c2ff7698e2" - } - ] - }, - { - "name": "libXrandr", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libXrandr-1.5.0.tar.bz2", - "sha256": "6f864959b7fc35db11754b270d71106ef5b5cf363426aa58589cb8ac8266de58" - } - ] - }, - { - "name": "libXcomposite", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libXcomposite-0.4.4.tar.bz2", - "sha256": "ede250cd207d8bee4a338265c3007d7a68d5aca791b6ac41af18e9a2aeb34178" - }, - { - "type": "shell", - "commands": [ - "rm -f config.sub config.guess", - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "xcb-util", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xcb.freedesktop.org/dist/xcb-util-0.4.0.tar.bz2", - "sha256": "46e49469cb3b594af1d33176cd7565def2be3fa8be4371d62271fabb5eae50e9" - } - ] - }, - { - "name": "xcb-util-image", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xcb.freedesktop.org/dist/xcb-util-image-0.4.0.tar.bz2", - "sha256": "2db96a37d78831d643538dd1b595d7d712e04bdccf8896a5e18ce0f398ea2ffc" - } - ] - }, - { - "name": "xcb-util-renderutil", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xcb.freedesktop.org/dist/xcb-util-renderutil-0.3.9.tar.bz2", - "sha256": "c6e97e48fb1286d6394dddb1c1732f00227c70bd1bedb7d1acabefdd340bea5b" - } - ] - }, - { - "name": "xcb-util-cursor", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xcb.freedesktop.org/dist/xcb-util-cursor-0.1.2.tar.bz2", - "sha256": "ed65367b810d47ab637011585135f4a84dd12e235dddcd3b26e0cfb3be21fb3a" - } - ] - }, - { - "name": "xcb-util-keysyms", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xcb.freedesktop.org/dist/xcb-util-keysyms-0.4.0.tar.bz2", - "sha256": "0ef8490ff1dede52b7de533158547f8b454b241aa3e4dcca369507f66f216dd9" - } - ] - }, - { - "name": "xcb-util-wm", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xcb.freedesktop.org/dist/xcb-util-wm-0.4.1.tar.bz2", - "sha256": "28bf8179640eaa89276d2b0f1ce4285103d136be6c98262b6151aaee1d3c2a3f" - } - ] - }, - { - /* This is to bootstrap the harfbuzz build, it will be rebuilt later again */ - "name": "freetype-bootstrap", - "config-opts": [ "--disable-static", "--with-zlib=yes", "--with-bzip2=yes", "--with-png=yes", "--with-harfbuzz=no" ], - "cleanup-platform": [ "/bin/freetype-config" ], - "sources": [ - { - "type": "archive", - "url": "http://downloads.sourceforge.net/project/freetype/freetype2/2.6.3/freetype-2.6.3.tar.bz2", - "sha256": "371e707aa522acf5b15ce93f11183c725b8ed1ee8546d7b3af549863045863a2" - } - ] - }, - { - "name": "fontconfig", - "config-opts": [ "--disable-static"], - "post-install": [ "install -m 0644 -p -T fontconfig-flatpak.conf /etc/fonts/conf.d/50-flatpak.conf"], - "sources": [ - { - "type": "archive", - "url": "http://fontconfig.org/release/fontconfig-2.11.95.tar.bz2", - "sha256": "7b165eee7aa22dcc1557db56f58d905b6a14b32f9701c79427452474375b4c89" - }, - { - "type": "file", - "path": "fontconfig-flatpak.conf" - } - ] - }, - { - "name": "libXft", - "config-opts": [ "--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/libXft-2.3.2.tar.bz2", - "sha256": "f5a3c824761df351ca91827ac221090943ef28b248573486050de89f4bfcdc4c" - } - ] - }, - { - "name": "glib2", - "config-opts": ["--disable-gtk-doc", "--with-pcre=system" ], - "cleanup-platform": [ "/share/glib-2.0/codegen", - "/bin/gdbus-codegen", - "/bin/glib-*", - "/bin/gobject-query", - "/bin/gresource", - "/bin/gtester*" - ], - "sources": [ - { - "type": "archive", - "url": "https://download.gnome.org/sources/glib/2.48/glib-2.48.0.tar.xz", - "sha256": "744be6931ca914c68af98dc38ff6b0cf8381d65e335060faddfbf04c17147c34" - } - ] - }, - { - "name": "xkeyboard-config", - "config-opts": [ "--enable-compat-rules", "--with-xkb-base=/usr/share/X11/xkb", "--with-xkb-rules-symlink=xorg"], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/data/xkeyboard-config/xkeyboard-config-2.15.tar.bz2", - "sha256": "0e443cf7ca2f0b40846472c029647a05933fc705d611e1478c4db8a48a6f38bf" - } - ] - }, - { - "name": "libxkbcommon", - "config-opts": [ "--disable-static", "--enable-x11" ], - "sources": [ - { - "type": "archive", - "url": "http://xkbcommon.org/download/libxkbcommon-0.5.0.tar.xz", - "sha256": "90bd7824742b9a6f52a6cf80e2cadd6f5349cf600a358d08260772615b89d19c" - } - ] - }, - { - "name": "llvm", - "cmake": true, - "builddir": true, - "build-options" : { - "cflags": "-O2 -g1", - "cxxflags": "-O2 -g1" - }, - "cleanup-platform": ["/bin/llvm-*"], - "config-opts": [ - "-DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG", - "-DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG", - "-DBUILD_SHARED_LIBS:BOOL=ON", - "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON", - "-DCMAKE_BUILD_TYPE=RelWithDebInfo", - "-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-Bsymbolic -static-libstdc++", - "-DLLVM_LIBDIR_SUFFIX=", - "-DLLVM_ENABLE_LIBCXX:BOOL=OFF", - "-DLLVM_ENABLE_ZLIB:BOOL=ON", - "-DLLVM_ENABLE_FFI:BOOL=ON", - "-DLLVM_ENABLE_RTTI:BOOL=ON", - "-DLLVM_BUILD_RUNTIME:BOOL=ON", - "-DLLVM_INCLUDE_TOOLS:BOOL=ON", - "-DLLVM_BUILD_TOOLS:BOOL=ON", - "-DLLVM_INCLUDE_TESTS:BOOL=OFF", - "-DLLVM_BUILD_TESTS:BOOL=OFF", - "-DLLVM_INCLUDE_EXAMPLES:BOOL=OFF", - "-DLLVM_BUILD_EXAMPLES:BOOL=OFF", - "-DLLVM_INCLUDE_UTILS:BOOL=ON", - "-DLLVM_INSTALL_UTILS:BOOL=OFF", - "-DLLVM_INCLUDE_DOCS:BOOL=OFF", - "-DLLVM_BUILD_DOCS:BOOL=OFF", - "-DLLVM_ENABLE_SPHINX:BOOL=OFF", - "-DLLVM_ENABLE_DOXYGEN:BOOL=OFF", - "-DLLVM_BUILD_LLVM_DYLIB:BOOL=OFF", - "-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON", - "-DFFI_INCLUDE_DIR=/usr/lib//libffi-3.2.1/include", - "-DLLVM_INSTALL_TOOLCHAIN_ONLY:BOOL=OFF"], - "sources": [ - { - "type": "archive", - "url": "http://llvm.org/releases/3.8.0/llvm-3.8.0.src.tar.xz", - "sha256": "555b028e9ee0f6445ff8f949ea10e9cd8be0d084840e21fbbe1d31d51fc06e46" - } - ] - }, - { - "name": "clang", - "cmake": true, - "builddir": true, - "build-options" : { - "cflags": "-O2 -g1", - "cxxflags": "-O2 -g1" - }, - "config-opts": [ - "-DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG", - "-DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG", - "-DBUILD_SHARED_LIBS:BOOL=ON", - "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON", - "-DCMAKE_BUILD_TYPE=RelWithDebInfo", - "-DLLVM_CONFIG:FILEPATH=/usr/bin/llvm-config", - "-DCLANG_ENABLE_ARCMT:BOOL=ON", - "-DCLANG_ENABLE_STATIC_ANALYZER:BOOL=ON", - "-DCLANG_INCLUDE_DOCS:BOOL=OFF", - "-DCLANG_INCLUDE_TESTS:BOOL=OFF", - "-DCLANG_PLUGIN_SUPPORT:BOOL=ON", - "-DCLANG_BUILD_EXAMPLES:BOOL=OFF"], - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://llvm.org/releases/3.8.0/cfe-3.8.0.src.tar.xz", - "sha256": "04149236de03cf05232d68eb7cb9c50f03062e339b68f4f8a03b650a11536cf9" - }, - { - "type": "patch", - "path": "clang-detect-aarch64-gcc.patch" - } - ] - }, - { - "name": "wayland", - "config-opts": ["--disable-static", "--disable-documentation"], - "cleanup-platform": [ "/bin/wayland-scanner" ], - "sources": [ - { - "type": "archive", - "url": "https://wayland.freedesktop.org/releases/wayland-1.10.0.tar.xz", - "sha256": "4bf6e790aa6f50ab3825676282ecd75850ec9c4767af96ecb7127b1f3c3d60dc" - } - ] - }, - { - "name": "wayland-protocols", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://wayland.freedesktop.org/releases/wayland-protocols-1.3.tar.xz", - "sha256": "6bcd0633fdf9225ef1c7d2831f542e947f7d79811c79fc37f57b2e5375ded82f" - } - ] - }, - { - "name": "mesa", - "build-options" : { - "cxxflags": "-O2 -g -fno-rtti -fno-exceptions", - "arch" : { - "i386" : { - "config-opts" : [ - "--with-gallium-drivers=svga,swrast,nouveau,r600,r300,radeonsi", - "--with-dri-drivers=swrast,nouveau,radeon,r200,i915,i965" - ] - }, - "aarch64" : { - "config-opts" : [ - "--with-gallium-drivers=svga,swrast,nouveau,freedreno,vc4", - "--with-dri-drivers=swrast,nouveau,radeon,r200" - ] - } - } - }, - "config-opts": [ - "--disable-selinux", - "--disable-osmesa", - "--with-dri-driverdir=/usr/lib/dri", - "--enable-egl", - "--disable-gles1", - "--enable-gles2", - "--disable-xvmc", - "--with-egl-platforms=x11,drm,surfaceless,wayland", - "--enable-shared-glapi", - "--enable-gbm", - "--disable-opencl", - "--enable-glx-tls", - "--enable-texture-float=yes", - "--enable-gallium-llvm", - "--enable-llvm-shared-libs", - "--enable-dri", - "--enable-sysfs" - ], - "make-args": [ "MKDEP=/bin/true"], - "sources": [ - { - "type": "archive", - "url": "https://mesa.freedesktop.org/archive/11.2.2/mesa-11.2.2.tar.xz", - "sha256": "40e148812388ec7c6d7b6657d5a16e2e8dabba8b97ddfceea5197947647bdfb4" - } - ] - }, - { - "name": "libva", - "cleanup-platform": ["/bin"], - - "sources": [ - { - "type": "archive", - "url": "http://www.freedesktop.org/software/vaapi/releases/libva/libva-1.6.2.tar.bz2", - "sha256": "c417f09cdeef549e54f4be5f9876026513afeac395c5be28750b431d848c8bd0" - } - ] - }, - { - "name": "libva-vdpau-driver", - "config-opts": ["--enable-glx"], - "sources": [ - { - "type": "archive", - "url": "http://www.freedesktop.org/software/vaapi/releases/libva-vdpau-driver/libva-vdpau-driver-0.7.4.tar.bz2", - "sha256": "155c1982f0ac3f5435ba20b221bcaa11be212c37db548cd1f2a030ffa17e9bb9" - }, - { - "type": "patch", - "path": "libva-vdpau-driver-0.7.4-glext-85.patch" - }, - { - "type": "patch", - "path": "libva-vdpau-driver-0.7.4-drop-h264-api.patch" - }, - { - "type": "patch", - "path": "libva-vdpau-driver-0.7.4-fix_type.patch" - } - ] - }, - { - "name": "dbus", - "sources": [ - { - "type": "archive", - "url": "http://dbus.freedesktop.org/releases/dbus/dbus-1.10.8.tar.gz", - "sha256": "baf3d22baa26d3bdd9edc587736cd5562196ce67996d65b82103bedbe1f0c014" - } - ] - }, - { - "name": "pulseaudio", - "config-opts": [ - "--disable-static", - "--disable-rpath", - "--with-system-user=pulse", - "--with-system-group=pulse", - "--with-access-group=pulse-access", - "--disable-oss-output", - "--disable-jack", - "--disable-lirc", - "--disable-bluez4", - "--disable-bluez5", - "--disable-systemd" - ], - "cleanup": [ "/share/pulseaudio", - "/bin/pulseaudio", - "/bin/start-pulseaudio-x11", - "/bin/pasuspender", - "/lib/pulse-*/modules", - "/etc/dbus-1/system.d", - "/etc/pulse/daemon.conf", - "/etc/pulse/*.pa"], - "sources": [ - { - "type": "archive", - "url": "http://www.freedesktop.org/software/pulseaudio/releases/pulseaudio-8.0.tar.xz", - "sha256": "690eefe28633466cfd1ab9d85ebfa9376f6b622deec6bfee5091ac9737cd1989" - } - ] - }, - { - "name": "alsa-lib", - "config-opts": [ "--disable-aload", "--disable-alisp", "--disable-old-symbols", - "--disable-rawmidi", "--disable-instr", - "--with-pcm-plugins=hw ioplug extplug"], - "sources": [ - { - "type": "archive", - "url": "http://pkgs.fedoraproject.org/repo/pkgs/alsa-lib/alsa-lib-1.1.0.tar.bz2/69515ca73c3c4a212ef45160dea846c1/alsa-lib-1.1.0.tar.bz2", - "sha256": "dfde65d11e82b68f82e562ab6228c1fb7c78854345d3c57e2c68a9dd3dae1f15" - }, - { - "type": "script", - "dest-filename": "autogen.sh", - "commands": [ "autoreconf -i" ] - } - ] - }, - { - "name": "alsa-plugins", - "config-opts": [ "--disable-jack", "--enable-pulseaudio", "--disable-samplerate", - "--disable-avcodec", "--with-speex=no"], - "post-install": [ "mv /usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf.example /usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf" ], - "sources": [ - { - "type": "archive", - "url": "http://pkgs.fedoraproject.org/repo/pkgs/alsa-plugins/alsa-plugins-1.1.0.tar.bz2/b123e42ed881b9adbc99e4040f257c39/alsa-plugins-1.1.0.tar.bz2", - "sha256": "3b83c329953bef99f5fe25ae04ec4a455fe6514939f3b45a5321966652b2c9ee" - }, - { - "type": "script", - "dest-filename": "autogen.sh", - "commands": [ "autoreconf -i" ] - } - ] - }, - { - "name": "libepoxy", - "sources": [ - { - "type": "archive", - "url": "https://github.com/anholt/libepoxy/releases/download/v1.3.1/libepoxy-1.3.1.tar.bz2", - "sha256": "1d8668b0a259c709899e1c4bab62d756d9002d546ce4f59c9665e2fc5f001a64" - } - ] - }, - { - "name": "itstool", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://files.itstool.org/itstool/itstool-2.0.2.tar.bz2", - "sha256": "bf909fb59b11a646681a8534d5700fec99be83bb2c57badf8c1844512227033a" - } - ] - }, - { - "name": "desktop-file-utils", - "cleanup-platform": [ "*" ], - "sources": [ - { - "type": "archive", - "url": "http://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-0.22.tar.xz", - "sha256": "843532672692f98e9b2d6ae6cc8658da562dfde1606c7f33d9d227a344de56c5" - } - ] - }, - { - "name": "shared-mime-info", - "config-opts": ["--disable-update-mimedb"], - "cleanup-platform": [ "/bin/update-mime-database" ], - "no-parallel-make": true, - "sources": [ - { - "type": "archive", - "url": "http://people.freedesktop.org/~hadess/shared-mime-info-1.6.tar.xz", - "sha256": "b2f8f85b6467933824180d0252bbcaee523f550a8fbc95cc4391bd43c03bc34c" - } - ] - }, - { - "name": "hicolor-icon-theme", - "sources": [ - { - "type": "archive", - "url": "http://icon-theme.freedesktop.org/releases/hicolor-icon-theme-0.15.tar.xz", - "sha256": "9cc45ac3318c31212ea2d8cb99e64020732393ee7630fa6c1810af5f987033cc" - } - ] - }, - { - "name": "pixman", - "config-opts": ["--disable-static"], - "sources": [ - { - "type": "archive", - "url": "http://xorg.freedesktop.org/archive/individual/lib/pixman-0.34.0.tar.bz2", - "sha256": "39ba3438f3d17c464b0cb8be006dacbca0ab5aee97ebde69fec7ecdbf85794a0" - } - ] - }, - { - "name": "cairo", - "config-opts": ["--disable-static", - "--enable-xlib", - "--enable-ft", - "--enable-svg", - "--enable-ps", - "--enable-pdf", - "--enable-tee", - "--enable-gobject", - "--disable-gtk-doc" - ], - "cleanup-platform": ["/bin"], - "sources": [ - { - "type": "archive", - "url": "http://cairographics.org/releases/cairo-1.14.6.tar.xz", - "sha256": "613cb38447b76a93ff7235e17acd55a78b52ea84a9df128c3f2257f8eaa7b252" - } - ] - }, - { - "name": "graphite2", - "cmake": true, - "config-opts": [ - "-DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG", - "-DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG", - "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON", - "-DCMAKE_INSTALL_PREFIX:PATH=/usr", - "-DINCLUDE_INSTALL_DIR:PATH=/usr/include", - "-DLIB_INSTALL_DIR:PATH=/usr/lib", - "-DSYSCONF_INSTALL_DIR:PATH=/etc", - "-DSHARE_INSTALL_PREFIX:PATH=/usr/share", - "-DBUILD_SHARED_LIBS:BOOL=ON", - "-DGRAPHITE2_COMPARE_RENDERER=OFF" - ], - "sources": [ - { - "type": "archive", - "url": "http://downloads.sourceforge.net/project/silgraphite/graphite2/graphite-1.3.6.tgz", - "sha256": "475e7657ac606ed8805518031729c1273cf7d9d422169ac6f7882e01d832af75" - } - ] - }, - { - "name": "harfbuzz", - "config-opts": ["--disable-static", - "--disable-gtk-doc", - "--with-gobject", - "--with-graphite2" - ], - "sources": [ - { - "type": "archive", - "url": "http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-1.2.6.tar.bz2", - "sha256": "7537bacccb3524df0cd2a4d5bc7e168bcc10e8171e0324f3cd522583868192c1" - } - ] - }, - { - /* Rebuild with harfbuzz support */ - "name": "freetype", - "config-opts": [ "--disable-static", "--with-zlib=yes", "--with-bzip2=yes", "--with-png=yes", "--with-harfbuzz=yes" ], - "cleanup-platform": [ "/bin/freetype-config" ], - "sources": [ - { - "type": "archive", - "url": "http://downloads.sourceforge.net/project/freetype/freetype2/2.6.3/freetype-2.6.3.tar.bz2", - "sha256": "371e707aa522acf5b15ce93f11183c725b8ed1ee8546d7b3af549863045863a2" - } - ] - }, - { - "name": "libproxy", - "cmake": true, - "config-opts": [ - "-DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG", - "-DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG", - "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON", - "-DCMAKE_INSTALL_PREFIX:PATH=/usr", - "-DINCLUDE_INSTALL_DIR:PATH=/usr/include", - "-DLIB_INSTALL_DIR:PATH=/usr/lib", - "-DSYSCONF_INSTALL_DIR:PATH=/etc", - "-DSHARE_INSTALL_PREFIX:PATH=/usr/share", - "-DBUILD_SHARED_LIBS:BOOL=ON", - "-DMODULE_INSTALL_DIR=/usr/lib/libproxy/0.4.11/modules", - "-DWITH_PERL=OFF", - "-DWITH_GNOME3=OFF" - ], - "sources": [ - { - "type": "archive", - "url": "http://libproxy.googlecode.com/files/libproxy-0.4.11.tar.gz", - "sha256": "dc3f33de54163718f82b3e7c496a7de97f8862578414b8ecaad3cbfe4821864b" - } - ] - }, - { - "name": "gobject-introspection", - "config-opts": ["--disable-gtk-doc", "--disable-static" ], - "cleanup-platform": ["/lib/gobject-introspection/giscanner", - "/share/gobject-introspection/giscanner", - "/bin"], - "sources": [ - { - "type": "archive", - "url": "https://download.gnome.org/sources/gobject-introspection/1.48/gobject-introspection-1.48.0.tar.xz", - "sha256": "fa275aaccdbfc91ec0bc9a6fd0562051acdba731e7d584b64a277fec60e75877" - } - ] - }, - { - "name": "glib-networking", - "config-opts": ["--disable-static", "--with-libproxy"], - "sources": [ - { - "type": "archive", - "url": "https://download.gnome.org/sources/glib-networking/2.48/glib-networking-2.48.0.tar.xz", - "sha256": "7a1f3312e757b97af94e2db8a1f14eb9cc018c983931ecdf3b0c54acece39024" - } - ] - }, - { - "name": "libsoup", - "config-opts": [ "--disable-static", "--disable-vala", "--disable-gtk-doc" ], - "sources": [ - { - "type": "archive", - "url": "https://download.gnome.org/sources/libsoup/2.54/libsoup-2.54.0.1.tar.xz", - "sha256": "ade4920166bd036e8890d04acdc135686d877670953949fa6245797c906e38e0" - } - ] - }, - { - "name": "p11-kit", - "config-opts": ["--disable-gtk-doc" ], - "sources": [ - { - "type": "archive", - "url": "http://p11-glue.freedesktop.org/releases/p11-kit-0.23.2.tar.gz", - "sha256": "ba726ea8303c97467a33fca50ee79b7b35212964be808ecf9b145e9042fdfaf0" - } - ] - }, - { - "name": "gnu-free-fonts", - "no-autogen": true, - "make-args": ["NAME=gnu-free", "PRIO=69", "FAMILIES=sans serif mono"], - "sources": [ - { - "type": "archive", - "url": "http://ftp.gnu.org/gnu/freefont/freefont-ttf-20120503.zip", - "sha256": "7c85baf1bf82a1a1845d1322112bc6ca982221b484e3b3925022e25b5cae89af" - }, - { - "type": "file", - "path": "gnu-free-mono.conf" - }, - { - "type": "file", - "path": "gnu-free-sans.conf" - }, - { - "type": "file", - "path": "gnu-free-serif.conf" - }, - { - "type": "file", - "path": "Makefile-fonts", - "dest-filename": "Makefile" - } - ] - }, - { - "name": "liberation-fonts", - "no-autogen": true, - "make-args": ["NAME=liberation-fonts", "PRIO=59", "FAMILIES=sans serif mono narrow"], - "sources": [ - { - "type": "archive", - "url": "https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-2.00.1.tar.gz", - "sha256": "7890278a6cd17873c57d9cd785c2d230d9abdea837e96516019c5885dd271504" - }, - { - "type": "file", - "path": "liberation-fonts-mono.conf" - }, - { - "type": "file", - "path": "liberation-fonts-sans.conf" - }, - { - "type": "file", - "path": "liberation-fonts-serif.conf" - }, - { - "type": "file", - "path": "liberation-fonts-narrow.conf" - }, - { - "type": "file", - "path": "Makefile-fonts", - "dest-filename": "Makefile" - } - ] - }, - { - "name": "google-crosextra-caladea-fonts", - "no-autogen": true, - "make-args": ["NAME=google-crosextra-caladea", "PRIO=62", "EXTRA_CONFS=30-0-google-crosextra-caladea.conf"], - "sources": [ - { - "type": "archive", - "url": "http://gsdview.appspot.com/chromeos-localmirror/distfiles/crosextrafonts-20130214.tar.gz", - "sha256": "c48d1c2fd613c9c06c959c34da7b8388059e2408d2bb19845dc3ed35f76e4d09" - }, - { - "type": "file", - "path": "30-0-google-crosextra-caladea.conf" - }, - { - "type": "file", - "path": "google-crosextra-caladea.conf" - }, - { - "type": "file", - "path": "Makefile-fonts", - "dest-filename": "Makefile" - } - ] - }, - { - "name": "google-crosextra-carlito-fonts", - "no-autogen": true, - "make-args": ["NAME=google-crosextra-carlito", "PRIO=62", "EXTRA_CONFS=30-0-google-crosextra-carlito.conf"], - "sources": [ - { - "type": "archive", - "url": "http://gsdview.appspot.com/chromeos-localmirror/distfiles/crosextrafonts-carlito-20130920.tar.gz", - "sha256": "4bd12b6cbc321c1cf16da76e2c585c925ce956a08067ae6f6c64eff6ccfdaf5a" - }, - { - "type": "file", - "path": "30-0-google-crosextra-carlito.conf" - }, - { - "type": "file", - "path": "google-crosextra-carlito.conf" - }, - { - "type": "file", - "path": "Makefile-fonts", - "dest-filename": "Makefile" - } - ] - }, - { - "name": "gdk-pixbuf2", - "config-opts": ["--disable-static", - "--disable-gtk-doc", - "--without-x11", - "--without-libjasper", - "--with-included-loaders=png,jpeg" ], - "cleanup-platform": [ "/bin"], - "sources": [ - { - "type": "archive", - "url": "https://download.gnome.org/sources/gdk-pixbuf/2.34/gdk-pixbuf-2.34.0.tar.xz", - "sha256": "d55e5b383ee219bd0e23bf6ed4427d56a7db5379729a6e3e0a0e0eba9a8d8879" - } - ] - }, - { - "name": "orc", - "config-opts": ["--disable-static", - "--disable-gtk-doc"], - "cleanup-platform": [ "/bin" ], - "sources": [ - { - "type": "archive", - "url": "http://gstreamer.freedesktop.org/src/orc/orc-0.4.25.tar.xz", - "sha256": "c1b1d54a58f26d483f0b3881538984789fe5d5460ab8fab74a1cacbd3d1c53d1" - } - ] - }, - { - "name": "gstreamer", - "config-opts": ["--disable-gtk-doc", "--enable-debug", "--disable-examples" ], - "sources": [ - { - "type": "archive", - "url": "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.8.0.tar.xz", - "sha256": "947a314a212b5d94985d89b43440dbe66b696e12bbdf9a2f78967b98d74abedc" - } - ] - }, - { - "name": "gstreamer-plugins-base", - "config-opts": ["--disable-gtk-doc", "--enable-experimental", "--enable-orc" ], - "sources": [ - { - "type": "archive", - "url": "https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.8.0.tar.xz", - "sha256": "abc0acc1d15b4b9c97c65cd9689bd6400081853b9980ea428d3c8572dd791522" - } - ] - }, - { - "name": "gstreamer-plugins-good", - "config-opts": ["--disable-gtk-doc", - "--enable-experimental", - "--enable-orc" , - "--disable-monoscope", - "--disable-aalib", - "--enable-cairo", - "--disable-libcaca", - "--disable-jack", - "--with-default-visualizer=autoaudiosink" ], - "sources": [ - { - "type": "archive", - "url": "http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.8.0.tar.xz", - "sha256": "c20c134d47dbc238d921707a3b66da709c2b4dd89f9d267cec13d1ddf16e9f4d" - } - ] - }, - { - "name": "gstreamer-plugins-bad", - "config-opts": ["--disable-gtk-doc", "--enable-experimental", "--enable-orc" ], - "sources": [ - { - "type": "archive", - "url": "http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.8.0.tar.xz", - "sha256": "116376dd1085082422e0b21b0ecd3d1cb345c469c58e32463167d4675f4ca90e" - } - ] - }, - { - "name": "gtk-doc-stub", - "sources": [ - { - "type": "git", - "url": "git://git.gnome.org/gtk-doc-stub", - "branch": "1dea266593edb766d6d898c79451ef193eb17cfa" - } - ] - }, - { - "name": "json-glib", - "config-opts": [ "--disable-static", - "--disable-gtk-doc" ], - "sources": [ - { - "type": "archive", - "url": "https://download.gnome.org/sources/json-glib/1.2/json-glib-1.2.0.tar.xz", - "sha256": "99d6dfbe49c08fd7529f1fe8dcb1893b810a1bb222f1e7b65f41507658b8a7d3" - } - ] - }, - { - "name": "libappstream-glib", - "cleanup": ["/share/installed-tests"], - "config-opts": [ "--disable-gtk-doc", - "--disable-man", - "--disable-fonts", - "--disable-firmware", - "--disable-dep11", - "--disable-static", - "--disable-dependency-tracking" ], - "sources": [ - { - "type": "archive", - "url": "https://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-0.5.11.tar.xz", - "sha256": "90245f938666896d5f5c86654589808dd652f54bfe58b2fff18ca59bd4e5f329" - } - ] - }, - { - "name": "hunspell", - "config-opts": [ "--disable-static", - "--with-readline", - "--with-ui" ], - "sources": [ - { - "type": "archive", - "url": "http://downloads.sourceforge.net/hunspell/hunspell-1.3.3.tar.gz", - "sha256": "a7b2c0de0e2ce17426821dc1ac8eb115029959b3ada9d80a81739fa19373246c" - } - ] - }, - { - "name": "aspell", - "sources": [ - { - "type": "archive", - "url": "http://ftp.gnu.org/gnu/aspell/aspell-0.60.6.1.tar.gz", - "sha256": "f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1" - }, - { - "type": "shell", - "commands": [ - "cp /usr/share/gnu-config/config.sub .", - "cp /usr/share/gnu-config/config.guess ." - ] - } - ] - }, - { - "name": "hunspell-en", - "no-autogen": true, - "sources": [ - { - "type": "archive", - "url": "http://pkgs.fedoraproject.org/repo/pkgs/hunspell-en/wordlist-20121024.tar.xz/10a7ff0b2209af7d22b14b219b98c9b5/wordlist-20121024.tar.xz", - "strip-components": 0, - "sha256": "0e3e127bfa2a8068f6913949d137e75c4d025ecb9cf1748b80a8176cdee53148" - }, - { - "type": "archive", - "strip-components": 0, - "dest": "en_GB", - "url": "http://pkgs.fedoraproject.org/repo/pkgs/hunspell-en/en_GB.zip/218909136738f4564b81ecd145ade6ee/en_GB.zip", - "sha256": "5869d8bd80eb2eb328ebe36b356348de4ae2acb1db6df39d1717d33f89f63728" - }, - { - "type": "file", - "path": "Makefile-hunspell-en", - "dest-filename": "Makefile" - } - ] - }, - { - "name": "hyphen", - "config-opts": ["--disable-static"], - "sources": [ - { - "type": "archive", - "url": "http://downloads.sourceforge.net/hunspell/hyphen-2.8.8.tar.gz", - "sha256": "304636d4eccd81a14b6914d07b84c79ebb815288c76fe027b9ebff6ff24d5705" - } - ] - }, - { - "name": "xdg-user-dirs", - "config-opts": ["--disable-documentation"], - "make-args": ["SUBDIRS=po"], - "make-install-args": ["SUBDIRS=po"], - "sources": [ - { - "type": "archive", - "url": "http://user-dirs.freedesktop.org/releases/xdg-user-dirs-0.15.tar.gz", - "sha256": "20b4a751f41d0554bce3e0ce5e8d934be98cc62d48f0b90a894c3e1916552786" - } - ] - }, - { - "name": "cups", - "cleanup-platform": [ "/bin/cups-config" ], - "config-opts": ["--disable-static", - "--enable-debug", - "--with-components=core", - "--with-dbusdir=/etc/dbus-1", - "--enable-avahi", - "--disable-systemd", - "--enable-threads", - "--enable-gnutls", - "--libdir=/usr/lib", - "localedir=/usr/share/locale" ], - "post-install": [ "chmod u+w /usr/bin/ipptool /usr/lib/libcups.*" ], - "sources": [ - { - "type": "archive", - "url": "http://www.cups.org/software/2.1.0/cups-2.1.0-source.tar.bz2", - "sha256": "ba0238418442b8d84e09a865d0df6a728a20399826c5b466b14b1e9ab8c6d2c9" - } - ] - }, - { - "name": "SDL2", - "config-opts": ["--enable-sdl-dlopen", - "--disable-arts", - "--disable-esd", - "--disable-nas", - "--enable-pulseaudio", - "--disable-alsa", - "--disable-oss", - "--disable-sndio", - "--disable-libudev", - "--enable-video-wayland", - "--enable-wayland-shared=no"], - "cleanup-platform": ["/bin/sdl2-config"], - "sources": [ - { - "type": "archive", - "url": "http://www.libsdl.org/release/SDL2-2.0.4.tar.gz", - "sha256": "da55e540bf6331824153805d58b590a29c39d2d506c6d02fa409aedeab21174b" - } - ] - }, - { - "name": "SDL2_image", - "config-opts": ["--disable-static", - "--disable-jpg-shared", - "--disable-png-shared", - "--disable-tif-shared", - "--disable-webp-shared" ], - "sources": [ - { - "type": "archive", - "url": "http://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz", - "sha256": "3a3eafbceea5125c04be585373bfd8b3a18f259bd7eae3efc4e6d8e60e0d7f64" - } - ] - }, - { - "name": "SDL2_net", - "config-opts": ["--disable-static", - "--disable-gui" ], - "sources": [ - { - "type": "archive", - "url": "http://www.libsdl.org/projects/SDL_net/release/SDL2_net-2.0.1.tar.gz", - "sha256": "15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21" - } - ] - }, - { - "name": "SDL2_ttf", - "config-opts": ["--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz", - "sha256": "34db5e20bcf64e7071fe9ae25acaa7d72bdc4f11ab3ce59acc768ab62fe39276" - } - ] - }, - { - "name": "SDL2_mixer", - "config-opts": ["--disable-static" ], - "sources": [ - { - "type": "archive", - "url": "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.tar.gz", - "sha256": "5a24f62a610249d744cbd8d28ee399d8905db7222bf3bdbc8a8b4a76e597695f" - } - ] - }, - { - "name": "geoclue2", - /* TODO: Use --disable-backend when supported (missing .pc file atm) */ - "config-opts": ["--disable-gtk-doc", - "--disable-3g-source", "--disable-cdma-source", - "--disable-modem-gps-source", "--disable-nmea-source"], - "cleanup": [ "/share/applications", - "/etc/dbus-1/system.d", "/libexec", - "/share/dbus-1/system-services" ], - "cleanup-platform": [ "/share/dbus-1/interfaces" ], - "sources": [ - { - "type": "archive", - "url": "http://www.freedesktop.org/software/geoclue/releases/2.4/geoclue-2.4.3.tar.xz", - "sha256": "ada9dba870dd79e1b21923aeda4d82b66cbda39e57978fbe3d83d356cc3c605e" - } - ] - } - ] -} diff --git a/org.freedesktop.Sdk.json.in b/org.freedesktop.Sdk.json.in new file mode 100644 index 0000000..e2c78a9 --- /dev/null +++ b/org.freedesktop.Sdk.json.in @@ -0,0 +1,1893 @@ +{ + "build-runtime": true, + "id": "org.freedesktop.Sdk", + "id-platform": "org.freedesktop.Platform", + "branch": "@@SDK_BRANCH@@", + "runtime": "org.freedesktop.BasePlatform", + "sdk": "org.freedesktop.BaseSdk", + "runtime-version": "@@SDK_RUNTIME_VERSION@@", + "writable-sdk": true, + "sdk-extensions": [], + "metadata": "metadata.sdk", + "metadata-platform": "metadata.platform", + "cleanup": [ "/cache", + "/man", + "/share/doc", + "/share/man", + "/share/gtk-doc", + "/share/devhelp", + "/lib/systemd", + "/lib/opkg", + "*.la", "*.a"], + "cleanup-commands": [ "touch -d @0 /usr/share/fonts", + "touch -d @0 /usr/share/fonts/*", + "fc-cache -fs", + "mkdir -p /usr/lib/GL", + "mkdir -p /usr/lib/debug", + "ln -s /app/lib/debug /usr/lib/debug/app", + "ln -s ../../run/ /usr/lib/extensions" + ], + "cleanup-platform": [ "/include", + "/share/aclocal", + "/share/pkgconfig", + "/lib/pkgconfig", + "/lib/cmake", + "/share/vala", + "/share/gir-1.0", + "/lib/python*/test" + ], + "build-options" : { + "cflags": "-O2 -g", + "cxxflags": "-O2 -g", + "env": { + "V": "1" + } + }, + "modules": [ + { + "name": "autoconf-archive", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://ftp.acc.umu.se/mirror/gnu.org/gnu/autoconf-archive/autoconf-archive-2016.03.20.tar.xz", + "sha256": "88fb2efff640eddd28a52ae550ff5561bca3bd2bba09e1d7b0580e719875e437" + } + ] + }, + { + "name": "xorg-x11-util-macros", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/util/util-macros-1.19.0.tar.bz2", + "sha256": "2835b11829ee634e19fa56517b4cfc52ef39acea0cd82e15f68096e27cbed0ba" + } + ] + }, + { + "name": "xorg-x11-proto-bigreqs", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/bigreqsproto-1.1.2.tar.bz2", + "sha256": "462116ab44e41d8121bfde947321950370b285a5316612b8fce8334d50751b1e" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-composite", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/compositeproto-0.4.2.tar.bz2", + "sha256": "049359f0be0b2b984a8149c966dd04e8c58e6eade2a4a309cf1126635ccd0cfc" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-damage", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/damageproto-1.2.1.tar.bz2", + "sha256": "5c7c112e9b9ea8a9d5b019e5f17d481ae20f766cb7a4648360e7c1b46fc9fc5b" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-dmx", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/dmxproto-2.3.1.tar.bz2", + "sha256": "e72051e6a3e06b236d19eed56368117b745ca1e1a27bdc50fd51aa375bea6509" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-evieext", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/evieext-1.1.1.tar.bz2", + "sha256": "1cf74114436d99f56577a90b6438a32ba31b8128c9e63842bb179aba592733fe" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-fixes", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/fixesproto-5.0.tar.bz2", + "sha256": "ba2f3f31246bdd3f2a0acf8bd3b09ba99cab965c7fb2c2c92b7dc72870e424ce" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-fonts", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/fontsproto-2.1.3.tar.bz2", + "sha256": "259046b0dd9130825c4a4c479ba3591d6d0f17a33f54e294b56478729a6e5ab8" + } + ] + }, + { + "name": "xorg-x11-proto-gl", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/glproto-1.4.17.tar.bz2", + "sha256": "adaa94bded310a2bfcbb9deb4d751d965fcfe6fb3a2f6d242e2df2d6589dbe40" + } + ] + }, + { + "name": "xorg-x11-proto-input", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/inputproto-2.3.1.tar.bz2", + "sha256": "5a47ee62053a6acef3a83f506312494be1461068d0b9269d818839703b95c1d1" + } + ] + }, + { + "name": "xorg-x11-proto-kb", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/kbproto-1.0.7.tar.bz2", + "sha256": "f882210b76376e3fa006b11dbd890e56ec0942bc56e65d1249ff4af86f90b857" + } + ] + }, + { + "name": "xorg-x11-proto-randr", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/randrproto-1.5.0.tar.bz2", + "sha256": "4c675533e79cd730997d232c8894b6692174dce58d3e207021b8f860be498468" + } + ] + }, + { + "name": "xorg-x11-proto-record", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/recordproto-1.14.2.tar.bz2", + "sha256": "a777548d2e92aa259f1528de3c4a36d15e07a4650d0976573a8e2ff5437e7370" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-render", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/renderproto-0.11.1.tar.bz2", + "sha256": "06735a5b92b20759204e4751ecd6064a2ad8a6246bb65b3078b862a00def2537" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-resource", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/resourceproto-1.2.0.tar.bz2", + "sha256": "3c66003a6bdeb0f70932a9ed3cf57cc554234154378d301e0c5cfa189d8f6818" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-scrnsaver", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/scrnsaverproto-1.2.2.tar.bz2", + "sha256": "8bb70a8da164930cceaeb4c74180291660533ad3cc45377b30a795d1b85bcd65" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-video", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/videoproto-2.3.2.tar.bz2", + "sha256": "8dae168cb820fcd32f564879afb3f24d27c176300d9af66819a18265539bd4b6" + } + ] + }, + { + "name": "xorg-x11-proto-xcmisc", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/xcmiscproto-1.2.2.tar.bz2", + "sha256": "b13236869372256c36db79ae39d54214172677fb79e9cdc555dceec80bd9d2df" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-xext", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/xextproto-7.3.0.tar.bz2", + "sha256": "f3f4b23ac8db9c3a9e0d8edb591713f3d70ef9c3b175970dd8823dfc92aa5bb0" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-xf86bigfont", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/xf86bigfontproto-1.2.0.tar.bz2", + "sha256": "ba9220e2c4475f5ed2ddaa7287426b30089e4d29bd58d35fad57ba5ea43e1648" + } + ] + }, + { + "name": "xorg-x11-proto-xf86dga", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/xf86dgaproto-2.1.tar.bz2", + "sha256": "ac5ef65108e1f2146286e53080975683dae49fc94680042e04bd1e2010e99050" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-xf86dri", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/xf86driproto-2.1.1.tar.bz2", + "sha256": "9c4b8d7221cb6dc4309269ccc008a22753698ae9245a398a59df35f1404d661f" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-xf86misc", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/xf86miscproto-0.9.3.tar.bz2", + "sha256": "45b8ec6a4a8ca21066dce117e09dcc88539862e616e60fb391de05b36f63b095" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-xf86vidmode", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/xf86vidmodeproto-2.3.1.tar.bz2", + "sha256": "45d9499aa7b73203fd6b3505b0259624afed5c16b941bd04fcf123e5de698770" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-xinerama", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/xineramaproto-1.2.1.tar.bz2", + "sha256": "977574bb3dc192ecd9c55f59f991ec1dff340be3e31392c95deff423da52485b" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-x", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/xproto-7.0.28.tar.bz2", + "sha256": "29e85568d1f68ceef8a2c081dad9bc0e5500a53cfffde24b564dc43d46ddf6ca" + } + ] + }, + { + "name": "xorg-x11-proto-xproxymanagement", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/xproxymanagementprotocol-1.0.3.tar.bz2", + "sha256": "7382acd8c76fa577beb622cab86cc07fafdcecbbd9b4f209bfa72976c4fd26c2" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-dri2", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/dri2proto-2.8.tar.bz2", + "sha256": "f9b55476def44fc7c459b2537d17dbc731e36ed5d416af7ca0b1e2e676f8aa04" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xorg-x11-proto-present", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/presentproto-1.0.tar.bz2", + "sha256": "812c7d48721f909a0f7a2cb1e91f6eead76159a36c4712f4579ca587552839ce" + } + ] + }, + { + "name": "xorg-x11-proto-dri3", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/proto/dri3proto-1.0.tar.bz2", + "sha256": "01be49d70200518b9a6b297131f6cc71f4ea2de17436896af153226a774fc074" + } + ] + }, + { + "name": "xorg-x11-xtrans-devel", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/xtrans-1.3.5.tar.bz2", + "sha256": "adbd3b36932ce4c062cd10f57d78a156ba98d618bdb6f50664da327502bc8301" + } + ] + }, + { + "name": "libXau", + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libXau-1.0.8.tar.bz2", + "sha256": "fdd477320aeb5cdd67272838722d6b7d544887dfe7de46e1e7cc0c27c2bea4f2" + } + ] + }, + { + "name": "xcb-proto", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://xcb.freedesktop.org/dist/xcb-proto-1.11.tar.bz2", + "sha256": "b4aceee6502a0ce45fc39b33c541a2df4715d00b72e660ebe8c5bb444771e32e" + } + ] + }, + { + "name": "libxcb", + "rm-configure": true, + /* I'm getting strange python errors with parallel build: EOFError: EOF read where object expected when parsing xml desc */ + "no-parallel-make": true, + "config-opts": [ "--disable-static", "--enable-xkb", "--disable-xprint" ], + "post-install": [ "sed 's,@libdir@,/usr/lib,;s,@prefix@,/usr,;s,@exec_prefix@,/usr,' pthread-stubs.pc.in > /usr/lib/pkgconfig/pthread-stubs.pc"], + "sources": [ + { + "type": "archive", + "url": "http://xcb.freedesktop.org/dist/libxcb-1.11.tar.bz2", + "sha256": "03635d70045b9ede90778e67516135828a57de87ac508f987024f43c03620ff7" + }, + { + "type": "file", + "path": "pthread-stubs.pc.in" + }, + { + "type": "patch", + "path": "libxcb-pthread-stub.patch" + } + ] + }, + { + "name": "libXdmcp", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libXdmcp-1.1.2.tar.bz2", + "sha256": "81fe09867918fff258296e1e1e159f0dc639cb30d201c53519f25ab73af4e4e2" + } + ] + }, + { + "name": "libX11", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libX11-1.6.3.tar.bz2", + "sha256": "cf31a7c39f2f52e8ebd0db95640384e63451f9b014eed2bb7f5de03e8adc8111" + } + ] + }, + { + "name": "libXext", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libXext-1.3.3.tar.bz2", + "sha256": "b518d4d332231f313371fdefac59e3776f4f0823bcb23cf7c7305bfb57b16e35" + } + ] + }, + { + "name": "libXv", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libXv-1.0.10.tar.bz2", + "sha256": "55fe92f8686ce8612e2c1bfaf58c057715534419da700bda8d517b1d97914525" + } + ] + }, + { + "name": "libXfixes", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libXfixes-5.0.1.tar.bz2", + "sha256": "63bec085084fa3caaee5180490dd871f1eb2020ba9e9b39a30f93693ffc34767" + } + ] + }, + { + "name": "libXdamage", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libXdamage-1.1.4.tar.bz2", + "sha256": "7c3fe7c657e83547f4822bfde30a90d84524efb56365448768409b77f05355ad" + }, + { + "type": "shell", + "commands": [ + "rm -f config.sub config.guess", + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "libXi", + "config-opts": [ "--disable-static", "--disable-specs" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libXi-1.7.4.tar.bz2", + "sha256": "2cffc2686618dc1803725636cd92b36342c512dc60a7a35cba34bf7192a42244" + } + ] + }, + { + "name": "libXtst", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libXtst-1.2.2.tar.bz2", + "sha256": "ef0a7ffd577e5f1a25b1663b375679529663a1880151beaa73e9186c8309f6d9" + } + ] + }, + { + "name": "libICE", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libICE-1.0.9.tar.bz2", + "sha256": "8f7032f2c1c64352b5423f6b48a8ebdc339cc63064af34d66a6c9aa79759e202" + } + ] + }, + { + "name": "libSM", + "config-opts": [ "--disable-static", "--with-libuuid" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libSM-1.2.2.tar.bz2", + "sha256": "0baca8c9f5d934450a70896c4ad38d06475521255ca63b717a6510fdb6e287bd" + } + ] + }, + { + "name": "libXt", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libXt-1.1.5.tar.bz2", + "sha256": "46eeb6be780211fdd98c5109286618f6707712235fdd19df4ce1e6954f349f1a" + } + ] + }, + { + "name": "libvdpau", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://cgit.freedesktop.org/~aplattner/libvdpau/snapshot/libvdpau-1.1.1.tar.bz2", + "sha256": "e0d3840e2d2bda66f8fa953e9cb3d0d1925d42616cad90d73a64cf8ec6227bfa" + } + ] + }, + { + "name": "libpciaccess", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libpciaccess-0.13.4.tar.bz2", + "sha256": "07f864654561e4ac8629a0ef9c8f07fbc1f8592d1b6c418431593e9ba2cf2fcf" + } + ] + }, + { + "name": "libdrm", + "config-opts": [ "--disable-static", "--disable-udev" ], + "sources": [ + { + "type": "archive", + "url": "https://dri.freedesktop.org/libdrm/libdrm-2.4.67.tar.gz", + "sha256": "4ae392513c4df30d88f10e69bf425a1dff960a5b4ccd4da621d9fc88523f7acb" + } + ] + }, + { + "name": "libXxf86vm", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libXxf86vm-1.1.4.tar.bz2", + "sha256": "afee27f93c5f31c0ad582852c0fb36d50e4de7cd585fcf655e278a633d85cd57" + } + ] + }, + { + "name": "libxshmfence", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libxshmfence-1.2.tar.bz2", + "sha256": "d21b2d1fd78c1efbe1f2c16dae1cb23f8fd231dcf891465b8debe636a9054b0c" + } + ] + }, + { + "name": "libXpm", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libXpm-3.5.11.tar.bz2", + "sha256": "c5bdafa51d1ae30086fac01ab83be8d47fe117b238d3437f8e965434090e041c" + } + ] + }, + { + "name": "libXrender", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libXrender-0.9.9.tar.bz2", + "sha256": "fc2fe57980a14092426dffcd1f2d9de0987b9d40adea663bd70d6342c0e9be1a" + } + ] + }, + { + "name": "libXScrnSaver", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libXScrnSaver-1.2.2.tar.bz2", + "sha256": "8ff1efa7341c7f34bcf9b17c89648d6325ddaae22e3904e091794e0b4426ce1d" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "libXcursor", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libXcursor-1.1.14.tar.bz2", + "sha256": "9bc6acb21ca14da51bda5bc912c8955bc6e5e433f0ab00c5e8bef842596c33df" + } + ] + }, + { + "name": "libXinerama", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libXinerama-1.1.3.tar.bz2", + "sha256": "7a45699f1773095a3f821e491cbd5e10c887c5a5fce5d8d3fced15c2ff7698e2" + } + ] + }, + { + "name": "libXrandr", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libXrandr-1.5.0.tar.bz2", + "sha256": "6f864959b7fc35db11754b270d71106ef5b5cf363426aa58589cb8ac8266de58" + } + ] + }, + { + "name": "libXcomposite", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libXcomposite-0.4.4.tar.bz2", + "sha256": "ede250cd207d8bee4a338265c3007d7a68d5aca791b6ac41af18e9a2aeb34178" + }, + { + "type": "shell", + "commands": [ + "rm -f config.sub config.guess", + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "xcb-util", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xcb.freedesktop.org/dist/xcb-util-0.4.0.tar.bz2", + "sha256": "46e49469cb3b594af1d33176cd7565def2be3fa8be4371d62271fabb5eae50e9" + } + ] + }, + { + "name": "xcb-util-image", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xcb.freedesktop.org/dist/xcb-util-image-0.4.0.tar.bz2", + "sha256": "2db96a37d78831d643538dd1b595d7d712e04bdccf8896a5e18ce0f398ea2ffc" + } + ] + }, + { + "name": "xcb-util-renderutil", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xcb.freedesktop.org/dist/xcb-util-renderutil-0.3.9.tar.bz2", + "sha256": "c6e97e48fb1286d6394dddb1c1732f00227c70bd1bedb7d1acabefdd340bea5b" + } + ] + }, + { + "name": "xcb-util-cursor", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xcb.freedesktop.org/dist/xcb-util-cursor-0.1.2.tar.bz2", + "sha256": "ed65367b810d47ab637011585135f4a84dd12e235dddcd3b26e0cfb3be21fb3a" + } + ] + }, + { + "name": "xcb-util-keysyms", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xcb.freedesktop.org/dist/xcb-util-keysyms-0.4.0.tar.bz2", + "sha256": "0ef8490ff1dede52b7de533158547f8b454b241aa3e4dcca369507f66f216dd9" + } + ] + }, + { + "name": "xcb-util-wm", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xcb.freedesktop.org/dist/xcb-util-wm-0.4.1.tar.bz2", + "sha256": "28bf8179640eaa89276d2b0f1ce4285103d136be6c98262b6151aaee1d3c2a3f" + } + ] + }, + { + /* This is to bootstrap the harfbuzz build, it will be rebuilt later again */ + "name": "freetype-bootstrap", + "config-opts": [ "--disable-static", "--with-zlib=yes", "--with-bzip2=yes", "--with-png=yes", "--with-harfbuzz=no" ], + "cleanup-platform": [ "/bin/freetype-config" ], + "sources": [ + { + "type": "archive", + "url": "http://downloads.sourceforge.net/project/freetype/freetype2/2.6.3/freetype-2.6.3.tar.bz2", + "sha256": "371e707aa522acf5b15ce93f11183c725b8ed1ee8546d7b3af549863045863a2" + } + ] + }, + { + "name": "fontconfig", + "config-opts": [ "--disable-static"], + "post-install": [ "install -m 0644 -p -T fontconfig-flatpak.conf /etc/fonts/conf.d/50-flatpak.conf"], + "sources": [ + { + "type": "archive", + "url": "http://fontconfig.org/release/fontconfig-2.11.95.tar.bz2", + "sha256": "7b165eee7aa22dcc1557db56f58d905b6a14b32f9701c79427452474375b4c89" + }, + { + "type": "file", + "path": "fontconfig-flatpak.conf" + } + ] + }, + { + "name": "libXft", + "config-opts": [ "--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/libXft-2.3.2.tar.bz2", + "sha256": "f5a3c824761df351ca91827ac221090943ef28b248573486050de89f4bfcdc4c" + } + ] + }, + { + "name": "glib2", + "config-opts": ["--disable-gtk-doc", "--with-pcre=system" ], + "cleanup-platform": [ "/share/glib-2.0/codegen", + "/bin/gdbus-codegen", + "/bin/glib-*", + "/bin/gobject-query", + "/bin/gresource", + "/bin/gtester*" + ], + "sources": [ + { + "type": "archive", + "url": "https://download.gnome.org/sources/glib/2.48/glib-2.48.0.tar.xz", + "sha256": "744be6931ca914c68af98dc38ff6b0cf8381d65e335060faddfbf04c17147c34" + } + ] + }, + { + "name": "xkeyboard-config", + "config-opts": [ "--enable-compat-rules", "--with-xkb-base=/usr/share/X11/xkb", "--with-xkb-rules-symlink=xorg"], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/data/xkeyboard-config/xkeyboard-config-2.15.tar.bz2", + "sha256": "0e443cf7ca2f0b40846472c029647a05933fc705d611e1478c4db8a48a6f38bf" + } + ] + }, + { + "name": "libxkbcommon", + "config-opts": [ "--disable-static", "--enable-x11" ], + "sources": [ + { + "type": "archive", + "url": "http://xkbcommon.org/download/libxkbcommon-0.5.0.tar.xz", + "sha256": "90bd7824742b9a6f52a6cf80e2cadd6f5349cf600a358d08260772615b89d19c" + } + ] + }, + { + "name": "llvm", + "cmake": true, + "builddir": true, + "build-options" : { + "cflags": "-O2 -g1", + "cxxflags": "-O2 -g1" + }, + "cleanup-platform": ["/bin/llvm-*"], + "config-opts": [ + "-DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG", + "-DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG", + "-DBUILD_SHARED_LIBS:BOOL=ON", + "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON", + "-DCMAKE_BUILD_TYPE=RelWithDebInfo", + "-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-Bsymbolic -static-libstdc++", + "-DLLVM_LIBDIR_SUFFIX=", + "-DLLVM_ENABLE_LIBCXX:BOOL=OFF", + "-DLLVM_ENABLE_ZLIB:BOOL=ON", + "-DLLVM_ENABLE_FFI:BOOL=ON", + "-DLLVM_ENABLE_RTTI:BOOL=ON", + "-DLLVM_BUILD_RUNTIME:BOOL=ON", + "-DLLVM_INCLUDE_TOOLS:BOOL=ON", + "-DLLVM_BUILD_TOOLS:BOOL=ON", + "-DLLVM_INCLUDE_TESTS:BOOL=OFF", + "-DLLVM_BUILD_TESTS:BOOL=OFF", + "-DLLVM_INCLUDE_EXAMPLES:BOOL=OFF", + "-DLLVM_BUILD_EXAMPLES:BOOL=OFF", + "-DLLVM_INCLUDE_UTILS:BOOL=ON", + "-DLLVM_INSTALL_UTILS:BOOL=OFF", + "-DLLVM_INCLUDE_DOCS:BOOL=OFF", + "-DLLVM_BUILD_DOCS:BOOL=OFF", + "-DLLVM_ENABLE_SPHINX:BOOL=OFF", + "-DLLVM_ENABLE_DOXYGEN:BOOL=OFF", + "-DLLVM_BUILD_LLVM_DYLIB:BOOL=OFF", + "-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON", + "-DFFI_INCLUDE_DIR=/usr/lib//libffi-3.2.1/include", + "-DLLVM_INSTALL_TOOLCHAIN_ONLY:BOOL=OFF"], + "sources": [ + { + "type": "archive", + "url": "http://llvm.org/releases/3.8.0/llvm-3.8.0.src.tar.xz", + "sha256": "555b028e9ee0f6445ff8f949ea10e9cd8be0d084840e21fbbe1d31d51fc06e46" + } + ] + }, + { + "name": "clang", + "cmake": true, + "builddir": true, + "build-options" : { + "cflags": "-O2 -g1", + "cxxflags": "-O2 -g1" + }, + "config-opts": [ + "-DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG", + "-DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG", + "-DBUILD_SHARED_LIBS:BOOL=ON", + "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON", + "-DCMAKE_BUILD_TYPE=RelWithDebInfo", + "-DLLVM_CONFIG:FILEPATH=/usr/bin/llvm-config", + "-DCLANG_ENABLE_ARCMT:BOOL=ON", + "-DCLANG_ENABLE_STATIC_ANALYZER:BOOL=ON", + "-DCLANG_INCLUDE_DOCS:BOOL=OFF", + "-DCLANG_INCLUDE_TESTS:BOOL=OFF", + "-DCLANG_PLUGIN_SUPPORT:BOOL=ON", + "-DCLANG_BUILD_EXAMPLES:BOOL=OFF"], + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://llvm.org/releases/3.8.0/cfe-3.8.0.src.tar.xz", + "sha256": "04149236de03cf05232d68eb7cb9c50f03062e339b68f4f8a03b650a11536cf9" + }, + { + "type": "patch", + "path": "clang-detect-aarch64-gcc.patch" + } + ] + }, + { + "name": "wayland", + "config-opts": ["--disable-static", "--disable-documentation"], + "cleanup-platform": [ "/bin/wayland-scanner" ], + "sources": [ + { + "type": "archive", + "url": "https://wayland.freedesktop.org/releases/wayland-1.10.0.tar.xz", + "sha256": "4bf6e790aa6f50ab3825676282ecd75850ec9c4767af96ecb7127b1f3c3d60dc" + } + ] + }, + { + "name": "wayland-protocols", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://wayland.freedesktop.org/releases/wayland-protocols-1.3.tar.xz", + "sha256": "6bcd0633fdf9225ef1c7d2831f542e947f7d79811c79fc37f57b2e5375ded82f" + } + ] + }, + { + "name": "mesa", + "build-options" : { + "cxxflags": "-O2 -g -fno-rtti -fno-exceptions", + "arch" : { + "i386" : { + "config-opts" : [ + "--with-gallium-drivers=svga,swrast,nouveau,r600,r300,radeonsi", + "--with-dri-drivers=swrast,nouveau,radeon,r200,i915,i965" + ] + }, + "aarch64" : { + "config-opts" : [ + "--with-gallium-drivers=svga,swrast,nouveau,freedreno,vc4", + "--with-dri-drivers=swrast,nouveau,radeon,r200" + ] + } + } + }, + "config-opts": [ + "--disable-selinux", + "--disable-osmesa", + "--with-dri-driverdir=/usr/lib/dri", + "--enable-egl", + "--disable-gles1", + "--enable-gles2", + "--disable-xvmc", + "--with-egl-platforms=x11,drm,surfaceless,wayland", + "--enable-shared-glapi", + "--enable-gbm", + "--disable-opencl", + "--enable-glx-tls", + "--enable-texture-float=yes", + "--enable-gallium-llvm", + "--enable-llvm-shared-libs", + "--enable-dri", + "--enable-sysfs" + ], + "make-args": [ "MKDEP=/bin/true"], + "sources": [ + { + "type": "archive", + "url": "https://mesa.freedesktop.org/archive/11.2.2/mesa-11.2.2.tar.xz", + "sha256": "40e148812388ec7c6d7b6657d5a16e2e8dabba8b97ddfceea5197947647bdfb4" + } + ] + }, + { + "name": "libva", + "cleanup-platform": ["/bin"], + + "sources": [ + { + "type": "archive", + "url": "http://www.freedesktop.org/software/vaapi/releases/libva/libva-1.6.2.tar.bz2", + "sha256": "c417f09cdeef549e54f4be5f9876026513afeac395c5be28750b431d848c8bd0" + } + ] + }, + { + "name": "libva-vdpau-driver", + "config-opts": ["--enable-glx"], + "sources": [ + { + "type": "archive", + "url": "http://www.freedesktop.org/software/vaapi/releases/libva-vdpau-driver/libva-vdpau-driver-0.7.4.tar.bz2", + "sha256": "155c1982f0ac3f5435ba20b221bcaa11be212c37db548cd1f2a030ffa17e9bb9" + }, + { + "type": "patch", + "path": "libva-vdpau-driver-0.7.4-glext-85.patch" + }, + { + "type": "patch", + "path": "libva-vdpau-driver-0.7.4-drop-h264-api.patch" + }, + { + "type": "patch", + "path": "libva-vdpau-driver-0.7.4-fix_type.patch" + } + ] + }, + { + "name": "dbus", + "sources": [ + { + "type": "archive", + "url": "http://dbus.freedesktop.org/releases/dbus/dbus-1.10.8.tar.gz", + "sha256": "baf3d22baa26d3bdd9edc587736cd5562196ce67996d65b82103bedbe1f0c014" + } + ] + }, + { + "name": "pulseaudio", + "config-opts": [ + "--disable-static", + "--disable-rpath", + "--with-system-user=pulse", + "--with-system-group=pulse", + "--with-access-group=pulse-access", + "--disable-oss-output", + "--disable-jack", + "--disable-lirc", + "--disable-bluez4", + "--disable-bluez5", + "--disable-systemd" + ], + "cleanup": [ "/share/pulseaudio", + "/bin/pulseaudio", + "/bin/start-pulseaudio-x11", + "/bin/pasuspender", + "/lib/pulse-*/modules", + "/etc/dbus-1/system.d", + "/etc/pulse/daemon.conf", + "/etc/pulse/*.pa"], + "sources": [ + { + "type": "archive", + "url": "http://www.freedesktop.org/software/pulseaudio/releases/pulseaudio-8.0.tar.xz", + "sha256": "690eefe28633466cfd1ab9d85ebfa9376f6b622deec6bfee5091ac9737cd1989" + } + ] + }, + { + "name": "alsa-lib", + "config-opts": [ "--disable-aload", "--disable-alisp", "--disable-old-symbols", + "--disable-rawmidi", "--disable-instr", + "--with-pcm-plugins=hw ioplug extplug"], + "sources": [ + { + "type": "archive", + "url": "http://pkgs.fedoraproject.org/repo/pkgs/alsa-lib/alsa-lib-1.1.0.tar.bz2/69515ca73c3c4a212ef45160dea846c1/alsa-lib-1.1.0.tar.bz2", + "sha256": "dfde65d11e82b68f82e562ab6228c1fb7c78854345d3c57e2c68a9dd3dae1f15" + }, + { + "type": "script", + "dest-filename": "autogen.sh", + "commands": [ "autoreconf -i" ] + } + ] + }, + { + "name": "alsa-plugins", + "config-opts": [ "--disable-jack", "--enable-pulseaudio", "--disable-samplerate", + "--disable-avcodec", "--with-speex=no"], + "post-install": [ "mv /usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf.example /usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf" ], + "sources": [ + { + "type": "archive", + "url": "http://pkgs.fedoraproject.org/repo/pkgs/alsa-plugins/alsa-plugins-1.1.0.tar.bz2/b123e42ed881b9adbc99e4040f257c39/alsa-plugins-1.1.0.tar.bz2", + "sha256": "3b83c329953bef99f5fe25ae04ec4a455fe6514939f3b45a5321966652b2c9ee" + }, + { + "type": "script", + "dest-filename": "autogen.sh", + "commands": [ "autoreconf -i" ] + } + ] + }, + { + "name": "libepoxy", + "sources": [ + { + "type": "archive", + "url": "https://github.com/anholt/libepoxy/releases/download/v1.3.1/libepoxy-1.3.1.tar.bz2", + "sha256": "1d8668b0a259c709899e1c4bab62d756d9002d546ce4f59c9665e2fc5f001a64" + } + ] + }, + { + "name": "itstool", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://files.itstool.org/itstool/itstool-2.0.2.tar.bz2", + "sha256": "bf909fb59b11a646681a8534d5700fec99be83bb2c57badf8c1844512227033a" + } + ] + }, + { + "name": "desktop-file-utils", + "cleanup-platform": [ "*" ], + "sources": [ + { + "type": "archive", + "url": "http://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-0.22.tar.xz", + "sha256": "843532672692f98e9b2d6ae6cc8658da562dfde1606c7f33d9d227a344de56c5" + } + ] + }, + { + "name": "shared-mime-info", + "config-opts": ["--disable-update-mimedb"], + "cleanup-platform": [ "/bin/update-mime-database" ], + "no-parallel-make": true, + "sources": [ + { + "type": "archive", + "url": "http://people.freedesktop.org/~hadess/shared-mime-info-1.6.tar.xz", + "sha256": "b2f8f85b6467933824180d0252bbcaee523f550a8fbc95cc4391bd43c03bc34c" + } + ] + }, + { + "name": "hicolor-icon-theme", + "sources": [ + { + "type": "archive", + "url": "http://icon-theme.freedesktop.org/releases/hicolor-icon-theme-0.15.tar.xz", + "sha256": "9cc45ac3318c31212ea2d8cb99e64020732393ee7630fa6c1810af5f987033cc" + } + ] + }, + { + "name": "pixman", + "config-opts": ["--disable-static"], + "sources": [ + { + "type": "archive", + "url": "http://xorg.freedesktop.org/archive/individual/lib/pixman-0.34.0.tar.bz2", + "sha256": "39ba3438f3d17c464b0cb8be006dacbca0ab5aee97ebde69fec7ecdbf85794a0" + } + ] + }, + { + "name": "cairo", + "config-opts": ["--disable-static", + "--enable-xlib", + "--enable-ft", + "--enable-svg", + "--enable-ps", + "--enable-pdf", + "--enable-tee", + "--enable-gobject", + "--disable-gtk-doc" + ], + "cleanup-platform": ["/bin"], + "sources": [ + { + "type": "archive", + "url": "http://cairographics.org/releases/cairo-1.14.6.tar.xz", + "sha256": "613cb38447b76a93ff7235e17acd55a78b52ea84a9df128c3f2257f8eaa7b252" + } + ] + }, + { + "name": "graphite2", + "cmake": true, + "config-opts": [ + "-DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG", + "-DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG", + "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON", + "-DCMAKE_INSTALL_PREFIX:PATH=/usr", + "-DINCLUDE_INSTALL_DIR:PATH=/usr/include", + "-DLIB_INSTALL_DIR:PATH=/usr/lib", + "-DSYSCONF_INSTALL_DIR:PATH=/etc", + "-DSHARE_INSTALL_PREFIX:PATH=/usr/share", + "-DBUILD_SHARED_LIBS:BOOL=ON", + "-DGRAPHITE2_COMPARE_RENDERER=OFF" + ], + "sources": [ + { + "type": "archive", + "url": "http://downloads.sourceforge.net/project/silgraphite/graphite2/graphite-1.3.6.tgz", + "sha256": "475e7657ac606ed8805518031729c1273cf7d9d422169ac6f7882e01d832af75" + } + ] + }, + { + "name": "harfbuzz", + "config-opts": ["--disable-static", + "--disable-gtk-doc", + "--with-gobject", + "--with-graphite2" + ], + "sources": [ + { + "type": "archive", + "url": "http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-1.2.6.tar.bz2", + "sha256": "7537bacccb3524df0cd2a4d5bc7e168bcc10e8171e0324f3cd522583868192c1" + } + ] + }, + { + /* Rebuild with harfbuzz support */ + "name": "freetype", + "config-opts": [ "--disable-static", "--with-zlib=yes", "--with-bzip2=yes", "--with-png=yes", "--with-harfbuzz=yes" ], + "cleanup-platform": [ "/bin/freetype-config" ], + "sources": [ + { + "type": "archive", + "url": "http://downloads.sourceforge.net/project/freetype/freetype2/2.6.3/freetype-2.6.3.tar.bz2", + "sha256": "371e707aa522acf5b15ce93f11183c725b8ed1ee8546d7b3af549863045863a2" + } + ] + }, + { + "name": "libproxy", + "cmake": true, + "config-opts": [ + "-DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG", + "-DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG", + "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON", + "-DCMAKE_INSTALL_PREFIX:PATH=/usr", + "-DINCLUDE_INSTALL_DIR:PATH=/usr/include", + "-DLIB_INSTALL_DIR:PATH=/usr/lib", + "-DSYSCONF_INSTALL_DIR:PATH=/etc", + "-DSHARE_INSTALL_PREFIX:PATH=/usr/share", + "-DBUILD_SHARED_LIBS:BOOL=ON", + "-DMODULE_INSTALL_DIR=/usr/lib/libproxy/0.4.11/modules", + "-DWITH_PERL=OFF", + "-DWITH_GNOME3=OFF" + ], + "sources": [ + { + "type": "archive", + "url": "http://libproxy.googlecode.com/files/libproxy-0.4.11.tar.gz", + "sha256": "dc3f33de54163718f82b3e7c496a7de97f8862578414b8ecaad3cbfe4821864b" + } + ] + }, + { + "name": "gobject-introspection", + "config-opts": ["--disable-gtk-doc", "--disable-static" ], + "cleanup-platform": ["/lib/gobject-introspection/giscanner", + "/share/gobject-introspection/giscanner", + "/bin"], + "sources": [ + { + "type": "archive", + "url": "https://download.gnome.org/sources/gobject-introspection/1.48/gobject-introspection-1.48.0.tar.xz", + "sha256": "fa275aaccdbfc91ec0bc9a6fd0562051acdba731e7d584b64a277fec60e75877" + } + ] + }, + { + "name": "glib-networking", + "config-opts": ["--disable-static", "--with-libproxy"], + "sources": [ + { + "type": "archive", + "url": "https://download.gnome.org/sources/glib-networking/2.48/glib-networking-2.48.0.tar.xz", + "sha256": "7a1f3312e757b97af94e2db8a1f14eb9cc018c983931ecdf3b0c54acece39024" + } + ] + }, + { + "name": "libsoup", + "config-opts": [ "--disable-static", "--disable-vala", "--disable-gtk-doc" ], + "sources": [ + { + "type": "archive", + "url": "https://download.gnome.org/sources/libsoup/2.54/libsoup-2.54.0.1.tar.xz", + "sha256": "ade4920166bd036e8890d04acdc135686d877670953949fa6245797c906e38e0" + } + ] + }, + { + "name": "p11-kit", + "config-opts": ["--disable-gtk-doc" ], + "sources": [ + { + "type": "archive", + "url": "http://p11-glue.freedesktop.org/releases/p11-kit-0.23.2.tar.gz", + "sha256": "ba726ea8303c97467a33fca50ee79b7b35212964be808ecf9b145e9042fdfaf0" + } + ] + }, + { + "name": "gnu-free-fonts", + "no-autogen": true, + "make-args": ["NAME=gnu-free", "PRIO=69", "FAMILIES=sans serif mono"], + "sources": [ + { + "type": "archive", + "url": "http://ftp.gnu.org/gnu/freefont/freefont-ttf-20120503.zip", + "sha256": "7c85baf1bf82a1a1845d1322112bc6ca982221b484e3b3925022e25b5cae89af" + }, + { + "type": "file", + "path": "gnu-free-mono.conf" + }, + { + "type": "file", + "path": "gnu-free-sans.conf" + }, + { + "type": "file", + "path": "gnu-free-serif.conf" + }, + { + "type": "file", + "path": "Makefile-fonts", + "dest-filename": "Makefile" + } + ] + }, + { + "name": "liberation-fonts", + "no-autogen": true, + "make-args": ["NAME=liberation-fonts", "PRIO=59", "FAMILIES=sans serif mono narrow"], + "sources": [ + { + "type": "archive", + "url": "https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-2.00.1.tar.gz", + "sha256": "7890278a6cd17873c57d9cd785c2d230d9abdea837e96516019c5885dd271504" + }, + { + "type": "file", + "path": "liberation-fonts-mono.conf" + }, + { + "type": "file", + "path": "liberation-fonts-sans.conf" + }, + { + "type": "file", + "path": "liberation-fonts-serif.conf" + }, + { + "type": "file", + "path": "liberation-fonts-narrow.conf" + }, + { + "type": "file", + "path": "Makefile-fonts", + "dest-filename": "Makefile" + } + ] + }, + { + "name": "google-crosextra-caladea-fonts", + "no-autogen": true, + "make-args": ["NAME=google-crosextra-caladea", "PRIO=62", "EXTRA_CONFS=30-0-google-crosextra-caladea.conf"], + "sources": [ + { + "type": "archive", + "url": "http://gsdview.appspot.com/chromeos-localmirror/distfiles/crosextrafonts-20130214.tar.gz", + "sha256": "c48d1c2fd613c9c06c959c34da7b8388059e2408d2bb19845dc3ed35f76e4d09" + }, + { + "type": "file", + "path": "30-0-google-crosextra-caladea.conf" + }, + { + "type": "file", + "path": "google-crosextra-caladea.conf" + }, + { + "type": "file", + "path": "Makefile-fonts", + "dest-filename": "Makefile" + } + ] + }, + { + "name": "google-crosextra-carlito-fonts", + "no-autogen": true, + "make-args": ["NAME=google-crosextra-carlito", "PRIO=62", "EXTRA_CONFS=30-0-google-crosextra-carlito.conf"], + "sources": [ + { + "type": "archive", + "url": "http://gsdview.appspot.com/chromeos-localmirror/distfiles/crosextrafonts-carlito-20130920.tar.gz", + "sha256": "4bd12b6cbc321c1cf16da76e2c585c925ce956a08067ae6f6c64eff6ccfdaf5a" + }, + { + "type": "file", + "path": "30-0-google-crosextra-carlito.conf" + }, + { + "type": "file", + "path": "google-crosextra-carlito.conf" + }, + { + "type": "file", + "path": "Makefile-fonts", + "dest-filename": "Makefile" + } + ] + }, + { + "name": "gdk-pixbuf2", + "config-opts": ["--disable-static", + "--disable-gtk-doc", + "--without-x11", + "--without-libjasper", + "--with-included-loaders=png,jpeg" ], + "cleanup-platform": [ "/bin"], + "sources": [ + { + "type": "archive", + "url": "https://download.gnome.org/sources/gdk-pixbuf/2.34/gdk-pixbuf-2.34.0.tar.xz", + "sha256": "d55e5b383ee219bd0e23bf6ed4427d56a7db5379729a6e3e0a0e0eba9a8d8879" + } + ] + }, + { + "name": "orc", + "config-opts": ["--disable-static", + "--disable-gtk-doc"], + "cleanup-platform": [ "/bin" ], + "sources": [ + { + "type": "archive", + "url": "http://gstreamer.freedesktop.org/src/orc/orc-0.4.25.tar.xz", + "sha256": "c1b1d54a58f26d483f0b3881538984789fe5d5460ab8fab74a1cacbd3d1c53d1" + } + ] + }, + { + "name": "gstreamer", + "config-opts": ["--disable-gtk-doc", "--enable-debug", "--disable-examples" ], + "sources": [ + { + "type": "archive", + "url": "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.8.0.tar.xz", + "sha256": "947a314a212b5d94985d89b43440dbe66b696e12bbdf9a2f78967b98d74abedc" + } + ] + }, + { + "name": "gstreamer-plugins-base", + "config-opts": ["--disable-gtk-doc", "--enable-experimental", "--enable-orc" ], + "sources": [ + { + "type": "archive", + "url": "https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.8.0.tar.xz", + "sha256": "abc0acc1d15b4b9c97c65cd9689bd6400081853b9980ea428d3c8572dd791522" + } + ] + }, + { + "name": "gstreamer-plugins-good", + "config-opts": ["--disable-gtk-doc", + "--enable-experimental", + "--enable-orc" , + "--disable-monoscope", + "--disable-aalib", + "--enable-cairo", + "--disable-libcaca", + "--disable-jack", + "--with-default-visualizer=autoaudiosink" ], + "sources": [ + { + "type": "archive", + "url": "http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.8.0.tar.xz", + "sha256": "c20c134d47dbc238d921707a3b66da709c2b4dd89f9d267cec13d1ddf16e9f4d" + } + ] + }, + { + "name": "gstreamer-plugins-bad", + "config-opts": ["--disable-gtk-doc", "--enable-experimental", "--enable-orc" ], + "sources": [ + { + "type": "archive", + "url": "http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.8.0.tar.xz", + "sha256": "116376dd1085082422e0b21b0ecd3d1cb345c469c58e32463167d4675f4ca90e" + } + ] + }, + { + "name": "gtk-doc-stub", + "sources": [ + { + "type": "git", + "url": "git://git.gnome.org/gtk-doc-stub", + "branch": "1dea266593edb766d6d898c79451ef193eb17cfa" + } + ] + }, + { + "name": "json-glib", + "config-opts": [ "--disable-static", + "--disable-gtk-doc" ], + "sources": [ + { + "type": "archive", + "url": "https://download.gnome.org/sources/json-glib/1.2/json-glib-1.2.0.tar.xz", + "sha256": "99d6dfbe49c08fd7529f1fe8dcb1893b810a1bb222f1e7b65f41507658b8a7d3" + } + ] + }, + { + "name": "libappstream-glib", + "cleanup": ["/share/installed-tests"], + "config-opts": [ "--disable-gtk-doc", + "--disable-man", + "--disable-fonts", + "--disable-firmware", + "--disable-dep11", + "--disable-static", + "--disable-dependency-tracking" ], + "sources": [ + { + "type": "archive", + "url": "https://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-0.5.11.tar.xz", + "sha256": "90245f938666896d5f5c86654589808dd652f54bfe58b2fff18ca59bd4e5f329" + } + ] + }, + { + "name": "hunspell", + "config-opts": [ "--disable-static", + "--with-readline", + "--with-ui" ], + "sources": [ + { + "type": "archive", + "url": "http://downloads.sourceforge.net/hunspell/hunspell-1.3.3.tar.gz", + "sha256": "a7b2c0de0e2ce17426821dc1ac8eb115029959b3ada9d80a81739fa19373246c" + } + ] + }, + { + "name": "aspell", + "sources": [ + { + "type": "archive", + "url": "http://ftp.gnu.org/gnu/aspell/aspell-0.60.6.1.tar.gz", + "sha256": "f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1" + }, + { + "type": "shell", + "commands": [ + "cp /usr/share/gnu-config/config.sub .", + "cp /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "hunspell-en", + "no-autogen": true, + "sources": [ + { + "type": "archive", + "url": "http://pkgs.fedoraproject.org/repo/pkgs/hunspell-en/wordlist-20121024.tar.xz/10a7ff0b2209af7d22b14b219b98c9b5/wordlist-20121024.tar.xz", + "strip-components": 0, + "sha256": "0e3e127bfa2a8068f6913949d137e75c4d025ecb9cf1748b80a8176cdee53148" + }, + { + "type": "archive", + "strip-components": 0, + "dest": "en_GB", + "url": "http://pkgs.fedoraproject.org/repo/pkgs/hunspell-en/en_GB.zip/218909136738f4564b81ecd145ade6ee/en_GB.zip", + "sha256": "5869d8bd80eb2eb328ebe36b356348de4ae2acb1db6df39d1717d33f89f63728" + }, + { + "type": "file", + "path": "Makefile-hunspell-en", + "dest-filename": "Makefile" + } + ] + }, + { + "name": "hyphen", + "config-opts": ["--disable-static"], + "sources": [ + { + "type": "archive", + "url": "http://downloads.sourceforge.net/hunspell/hyphen-2.8.8.tar.gz", + "sha256": "304636d4eccd81a14b6914d07b84c79ebb815288c76fe027b9ebff6ff24d5705" + } + ] + }, + { + "name": "xdg-user-dirs", + "config-opts": ["--disable-documentation"], + "make-args": ["SUBDIRS=po"], + "make-install-args": ["SUBDIRS=po"], + "sources": [ + { + "type": "archive", + "url": "http://user-dirs.freedesktop.org/releases/xdg-user-dirs-0.15.tar.gz", + "sha256": "20b4a751f41d0554bce3e0ce5e8d934be98cc62d48f0b90a894c3e1916552786" + } + ] + }, + { + "name": "cups", + "cleanup-platform": [ "/bin/cups-config" ], + "config-opts": ["--disable-static", + "--enable-debug", + "--with-components=core", + "--with-dbusdir=/etc/dbus-1", + "--enable-avahi", + "--disable-systemd", + "--enable-threads", + "--enable-gnutls", + "--libdir=/usr/lib", + "localedir=/usr/share/locale" ], + "post-install": [ "chmod u+w /usr/bin/ipptool /usr/lib/libcups.*" ], + "sources": [ + { + "type": "archive", + "url": "http://www.cups.org/software/2.1.0/cups-2.1.0-source.tar.bz2", + "sha256": "ba0238418442b8d84e09a865d0df6a728a20399826c5b466b14b1e9ab8c6d2c9" + } + ] + }, + { + "name": "SDL2", + "config-opts": ["--enable-sdl-dlopen", + "--disable-arts", + "--disable-esd", + "--disable-nas", + "--enable-pulseaudio", + "--disable-alsa", + "--disable-oss", + "--disable-sndio", + "--disable-libudev", + "--enable-video-wayland", + "--enable-wayland-shared=no"], + "cleanup-platform": ["/bin/sdl2-config"], + "sources": [ + { + "type": "archive", + "url": "http://www.libsdl.org/release/SDL2-2.0.4.tar.gz", + "sha256": "da55e540bf6331824153805d58b590a29c39d2d506c6d02fa409aedeab21174b" + } + ] + }, + { + "name": "SDL2_image", + "config-opts": ["--disable-static", + "--disable-jpg-shared", + "--disable-png-shared", + "--disable-tif-shared", + "--disable-webp-shared" ], + "sources": [ + { + "type": "archive", + "url": "http://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz", + "sha256": "3a3eafbceea5125c04be585373bfd8b3a18f259bd7eae3efc4e6d8e60e0d7f64" + } + ] + }, + { + "name": "SDL2_net", + "config-opts": ["--disable-static", + "--disable-gui" ], + "sources": [ + { + "type": "archive", + "url": "http://www.libsdl.org/projects/SDL_net/release/SDL2_net-2.0.1.tar.gz", + "sha256": "15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21" + } + ] + }, + { + "name": "SDL2_ttf", + "config-opts": ["--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz", + "sha256": "34db5e20bcf64e7071fe9ae25acaa7d72bdc4f11ab3ce59acc768ab62fe39276" + } + ] + }, + { + "name": "SDL2_mixer", + "config-opts": ["--disable-static" ], + "sources": [ + { + "type": "archive", + "url": "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.tar.gz", + "sha256": "5a24f62a610249d744cbd8d28ee399d8905db7222bf3bdbc8a8b4a76e597695f" + } + ] + }, + { + "name": "geoclue2", + /* TODO: Use --disable-backend when supported (missing .pc file atm) */ + "config-opts": ["--disable-gtk-doc", + "--disable-3g-source", "--disable-cdma-source", + "--disable-modem-gps-source", "--disable-nmea-source"], + "cleanup": [ "/share/applications", + "/etc/dbus-1/system.d", "/libexec", + "/share/dbus-1/system-services" ], + "cleanup-platform": [ "/share/dbus-1/interfaces" ], + "sources": [ + { + "type": "archive", + "url": "http://www.freedesktop.org/software/geoclue/releases/2.4/geoclue-2.4.3.tar.xz", + "sha256": "ada9dba870dd79e1b21923aeda4d82b66cbda39e57978fbe3d83d356cc3c605e" + } + ] + } + ] +} -- cgit v1.2.3