Giter Club home page Giter Club logo

obs-deps's Introduction

obs-deps

Scripts to build and package dependencies for OBS on CI

macOS (10.13+)

Prerequisites

  • Homebrew (https://brew.sh)
  • Python 3 - either installed via homebrew (brew install python) or system-provided (macOS 10.15 Catalina)
  • PyYAML - installed via pip3 install pyyaml

Build steps

  • Checkout obs-deps from Github:
git clone https://github.com/obsproject/obs-deps.git
  • Enter the obs-deps directory
  • Enter the macos directory
  • (Optional) Create the build scripts by running ./build_script_generator.py .github/workflows/build_deps.yml
  • Run bash ./build-script-macos-01.sh to build main dependencies
  • Run bash ./build-script-macos-02.sh to build Qt dependency

Usage

  • Common directory to place obs-deps is /tmp/obsdeps/, but a custom path can be used
  • Unpack pre-built dependencies to /tmp by running tar -xf ./macos-deps-VERSION.tar.gz -C /tmp (replace VERSION with the downloaded/desired version)
  • Unpack pre-built Qt dependency to /tmp by running tar -xf ./macos-qt-QT_VERSION-VERSION.tar.gz -C /tmp (replace QT_VERSION and VERSION with the downloaded/desired versions)
  • IMPORTANT: Remove the quarantine attribute from the downloaded Qt dependencies by running xattr -r -d com.apple.quarantine /tmp/obsdeps
  • Use /tmp/obsdeps as QTDIR, SWIGDIR, and DepsPath when invoking cmake for OBS:
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 -DQTDIR="/tmp/obsdeps" -DSWIGDIR="/tmp/obsdeps" -DDepsPath="/tmp/obsdeps" [..]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.