From 7ebd1d4456e1e619160c1ba9a3a8596834b8a9ba Mon Sep 17 00:00:00 2001 From: Marko Semet Date: Sat, 31 Aug 2019 22:15:35 +0200 Subject: [PATCH] Add libglu support --- Platform/v1.0/README.md | 4 +-- Platform/v1.0/platform/libglu.yaml | 46 ++++++++++++++++++++++++++++ Platform/v1.0/platform/platform.yaml | 1 + 3 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 Platform/v1.0/platform/libglu.yaml diff --git a/Platform/v1.0/README.md b/Platform/v1.0/README.md index da02a7a..99a09b9 100644 --- a/Platform/v1.0/README.md +++ b/Platform/v1.0/README.md @@ -1,5 +1,6 @@ # Supported -- MinGW (version) +- libGLU +- MinGW # Missing - libv4l2 (for what?) @@ -11,7 +12,6 @@ - OSSv4 (for what?) # TODO -- libGLU - pcap - libhal - libsane diff --git a/Platform/v1.0/platform/libglu.yaml b/Platform/v1.0/platform/libglu.yaml new file mode 100644 index 0000000..7ac84a7 --- /dev/null +++ b/Platform/v1.0/platform/libglu.yaml @@ -0,0 +1,46 @@ +name: libglu-meta +modules: + - name: libglu-platform + sources: + - type: archive + url: https://mesa.freedesktop.org/archive/glu/glu-9.0.1.tar.xz + sha256: fb5a4c2dd6ba6d1c21ab7c05129b0769544e1d68e1e3b0ffecb18e73c93055bc + builddir: true + build-options: + make-install-args: + - DESTDIR=/usr/tmp_glu + - install + post-install: + - rm -rfv /usr/tmp_glu/usr/share + - cp -rav /usr/tmp_glu/usr / + - rm -rfv /usr/tmp_glu + cleanup-platform: + - "*.la" + - "*.a" + - "/include" + - name: libglu-32bit + sources: + - type: archive + url: https://mesa.freedesktop.org/archive/glu/glu-9.0.1.tar.xz + sha256: fb5a4c2dd6ba6d1c21ab7c05129b0769544e1d68e1e3b0ffecb18e73c93055bc + builddir: true + config-opts: + - --build=i686-unknown-linux + - --libdir=/usr/lib32 + - CFLAGS=-m32 + - CXXFLAGS=-m32 + - LDFLAGS=-m32 + build-options: + make-install-args: + - DESTDIR=/usr/tmp_glu + - install + post-install: + - rm -rfv /usr/tmp_glu/usr/share + - cp -rav /usr/tmp_glu/usr / + - rm -rfv /usr/tmp_glu + cleanup-platform: + - "*.la" + - "*.a" + - "/include" + only-arches: + - x86_64 diff --git a/Platform/v1.0/platform/platform.yaml b/Platform/v1.0/platform/platform.yaml index 7b579fb..aa9944e 100644 --- a/Platform/v1.0/platform/platform.yaml +++ b/Platform/v1.0/platform/platform.yaml @@ -4,3 +4,4 @@ build-commands: - mkdir -p /usr/wine_extensions/v1.0 modules: - winetricks.yaml + - libglu.yaml