forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
libglfw.yaml
66 lines (57 loc) · 1.36 KB
/
libglfw.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
package:
name: libglfw
version: 3.4
epoch: 0
description: A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input
copyright:
- license: Zlib
environment:
contents:
packages:
- build-base
- busybox
- cmake
- doxygen
- libglvnd-dev
- libx11-dev
- libxcursor-dev
- libxi-dev
- libxinerama-dev
- libxrandr-dev
- libxrender-dev
- pkgconf
- pkgconf-dev
- xorg-server-dev
pipeline:
- uses: git-checkout
with:
repository: https://github.com/glfw/glfw
tag: ${{package.version}}
expected-commit: 7b6aead9fb88b3623e3b3725ebb42670cbe4c579
- uses: cmake/configure
with:
opts: |
-DGLFW_BUILD_WAYLAND=0 -DGLFW_LIBRARY_TYPE=SHARED
- uses: cmake/build
- uses: cmake/install
- uses: strip
subpackages:
- name: "libglfw-doc"
description: "libglfw documentation"
pipeline:
- uses: split/manpages
- uses: split/infodir
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/share/doc
mv "${{targets.destdir}}"/usr/share/doc/GLFW "${{targets.subpkgdir}}"/usr/share/doc/
- name: "libglfw-dev"
description: "glfw development headers"
pipeline:
- uses: split/dev
test:
pipeline:
- uses: test/pkgconf
update:
enabled: true
github:
identifier: glfw/glfw