Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

obs-linuxbrowser: init at 0.3.1 #41190

Merged
merged 2 commits into from Jun 7, 2018

Conversation

puffnfresh
Copy link
Contributor

Motivation for this change

I use obs-studio to make videos. I'd like to have a browser overlay. I managed to get obs-linuxbrowser to work, with some effort.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.


# nix-env -f . -iA obs-linuxbrowser
# mkdir -p ~/.config/obs-studio/plugins
# ln -s ~/.nix-profile/share/obs/obs-plugins/obs-linuxbrowser ~/.config/obs-studio/plugins/
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be great if we could write an obs-studio-with-plugins derivation. I had a quick go but it doesn't look straight forward to get obs-studio to look into a specific plugins path. I also can't figure out where the plugin paths are specified in the obs-studio code.

@puffnfresh
Copy link
Contributor Author

@jb55 @MP2E as maintainers of obs-studio, you might be interested in this obs-studio plugin!

# https://github.com/bazukas/obs-linuxbrowser/issues/63
version = "3.3325.1750.gaabe4c4";
src = fetchurl {
url = "http://opensource.spotify.com/cefbuilds/cef_binary_${version}_linux64.tar.bz2";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ugh. I guess this is okay for now but we really need to start building chromium stuff from source! This is not very portable.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯% agree

@matthewbauer matthewbauer merged commit dc82e3e into NixOS:master Jun 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants