Add libglu support

master
Marko Semet 2019-08-31 22:15:35 +02:00
parent 62fd4aac25
commit 7ebd1d4456
3 changed files with 49 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -4,3 +4,4 @@ build-commands:
- mkdir -p /usr/wine_extensions/v1.0
modules:
- winetricks.yaml
- libglu.yaml