From 2b10a9677817377618e33d2b07ab7caefe316633 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Mon, 18 Aug 2014 17:05:22 +0000 Subject: Re-organise definitions with scripts/organise-morphologies.py --- strata/x-generic/freefont-otf.morph | 5 +++++ strata/x-generic/mesa-x.morph | 21 +++++++++++++++++++++ strata/x-generic/util-keysyms.morph | 9 +++++++++ strata/x-generic/xserver.morph | 5 +++++ 4 files changed, 40 insertions(+) create mode 100644 strata/x-generic/freefont-otf.morph create mode 100644 strata/x-generic/mesa-x.morph create mode 100644 strata/x-generic/util-keysyms.morph create mode 100644 strata/x-generic/xserver.morph (limited to 'strata/x-generic') diff --git a/strata/x-generic/freefont-otf.morph b/strata/x-generic/freefont-otf.morph new file mode 100644 index 00000000..e5c6c482 --- /dev/null +++ b/strata/x-generic/freefont-otf.morph @@ -0,0 +1,5 @@ +name: freefont-otf +kind: chunk +install-commands: +- mkdir -p $DESTDIR/usr/share/fonts/opentype/freefont +- install -p *.otf $DESTDIR/usr/share/fonts/opentype/freefont diff --git a/strata/x-generic/mesa-x.morph b/strata/x-generic/mesa-x.morph new file mode 100644 index 00000000..a5a51500 --- /dev/null +++ b/strata/x-generic/mesa-x.morph @@ -0,0 +1,21 @@ +name: mesa-x +kind: chunk +build-system: autotools +configure-commands: +- | + cpu=$(echo $TARGET | cut -d '-' -f 1) + case "$cpu" in + x86_32|x64_64) + DRIDRIVERS=intel,i915,i965,swrast + ;; + *) + DRIDRIVERS=swrast + ;; + esac + ./autogen.sh --prefix="$PREFIX" \ + --enable-gles2 \ + --disable-gallium-egl \ + --with-egl-platforms=x11,drm \ + --enable-gbm --enable-shared-glapi \ + --with-gallium-drivers=swrast \ + --with-dri-drivers=$DRIDRIVERS diff --git a/strata/x-generic/util-keysyms.morph b/strata/x-generic/util-keysyms.morph new file mode 100644 index 00000000..ddae3707 --- /dev/null +++ b/strata/x-generic/util-keysyms.morph @@ -0,0 +1,9 @@ +name: util-keysyms +kind: chunk +configure-commands: +- git submodule update --init +- ./autogen.sh --prefix=/usr +build-commands: +- make +install-commands: +- make DESTDIR="$DESTDIR" install diff --git a/strata/x-generic/xserver.morph b/strata/x-generic/xserver.morph new file mode 100644 index 00000000..473f5d32 --- /dev/null +++ b/strata/x-generic/xserver.morph @@ -0,0 +1,5 @@ +name: xserver +kind: chunk +build-system: autotools +configure-commands: +- ./autogen.sh --prefix="$PREFIX" --with-sha1=libsha1 -- cgit v1.2.1