summaryrefslogblamecommitdiffstats
path: root/roles/obs/tasks/obs-from-source.yml
blob: 915aeb28b8e37daa080d5f0041363b844e38209a (plain) (tree)
















































































                                                                                                                                       
- 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