summaryrefslogtreecommitdiffstats
path: root/roles/obs/tasks/obs-from-source.yml
blob: 915aeb28b8e37daa080d5f0041363b844e38209a (plain) (blame)
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
- name: Install packages
  package:
    name:
      - xrdp
      - xfce4
      - firefox-esr
      - mpv
      - ffmpeg
      - cmake
      - ninja-build
      - pkg-config
      - clang
      - clang-format
      - build-essential
      - curl
      - ccache
      - libavcodec-dev
      - libavdevice-dev
      - libavfilter-dev
      - libavformat-dev
      - libavutil-dev
      - libswresample-dev
      - libswscale-dev
      - libx264-dev
      - libcurl4-openssl-dev
      - libmbedtls-dev
      - libgl1-mesa-dev
      - libjansson-dev
      - libluajit-5.1-dev
      - python3-dev
      - libx11-dev
      - libxcb-randr0-dev
      - libxcb-shm0-dev
      - libxcb-xinerama0-dev
      - libxcb-composite0-dev
      - libxinerama-dev
      - libxcb1-dev
      - libx11-xcb-dev
      - libxcb-xfixes0-dev
      - swig
      - libcmocka-dev
      - libpci-dev
      - libxss-dev
      - libglvnd-dev
      - libgles2-mesa
      - libgles2-mesa-dev
      - libwayland-dev
      - libxkbcommon-dev
      - qtbase5-dev
      - qtbase5-private-dev
      - libqt5svg5-dev
      - qtwayland5
      - libasound2-dev
      - libfontconfig-dev
      - libfreetype6-dev
      - libjack-jackd2-dev
      - libpulse-dev
      - libsndio-dev
      - libspeexdsp-dev
      - libudev-dev
      - libv4l-dev
      - libva-dev
      - libvlc-dev
      - libdrm-dev
- name: Install source
  git:
    repo: https://github.com/obsproject/obs-studio.git
    dest: /usr/src/obs
    recursive: true
- name: Configure
  shell: sudo cmake -S . -B build -G Ninja -DENABLE_PIPEWIRE=OFF     -DENABLE_AJA=0 -DENABLE_BROWSER=OFF -DENABLE_NEW_MPEGTS_OUTPUT=OFF
  args:
    chdir: /usr/src/obs
- name: Build
  shell: sudo cmake --build build
  args:
    chdir: /usr/src/obs
- name: Install
  shell: sudo cmake --install build
  args:
    chdir: /usr/src/obs