Skip to content
This repository was archived by the owner on Mar 15, 2021. It is now read-only.

Conversation

Procsiab
Copy link

Hi, do you mind to include these build instructions for Fedora/RHEL/CentOS based distros? I tested it on Fedora 31 and CentOS 8, and your plug in works like a charm on those.

@mjg
Copy link

mjg commented Apr 16, 2020

I'm not sure you mean to say what you are saying here:

I hardly recommend to install all the dependencies inside a container

Do you recommend a container build? You are saying that you don't.
In any case, the preference for container (or, on Fedora: mock) over straight on your box is probably independent of the distro, just like the preference of user install (which you describe) over system install (which others describe for other distros).

@Procsiab
Copy link
Author

You are definetly right: I meant "inside a toolbox container"; toolbox is a tool that mirrors your root and mounts your home inside a podman container, using the space inside your home directory: this way you can install different dependencies at different versions without cluttering the system. This program can be downloaded from the official RHEL/Fedora repos. I will rephrase that paragraph.

@LightGuard
Copy link

I followed these instructions, only thing you need to do is move the .so file out of the directory structure. Works great, thank you!

@DaveWK
Copy link

DaveWK commented May 3, 2020

I also made one because I didn't see this: master...DaveWK:master

one thing I noticed is I think you can just get rid of the usage of ObsPluginHelpers.cmake which interestingly enough is in the Fedora dev package but not Ubuntu.. both of them have LibObsConfig.cmake which you can use to trim down the find's.. by using the dev modules I was able to not need to wait and compile OBS Studio, and didnt have to figure out the deps for it..

@DaveWK
Copy link

DaveWK commented May 3, 2020

I think if you wanted to combine your docker approach w/ mine you'd be able to save some compile time and time to download those deps.. by reworking the cmake to use the alternate cmake it was just:
sudo dnf install obs-studio-libs qt5-qtbase-devel
or:
sudo apt install qtbase5-dev libobs-dev

@Procsiab
Copy link
Author

Procsiab commented May 3, 2020

I think if you wanted to combine your docker approach w/ mine you'd be able to save some compile time and time to download those deps.. by reworking the cmake to use the alternate cmake it was just:
sudo dnf install obs-studio-libs qt5-qtbase-devel
or:
sudo apt install qtbase5-dev libobs-dev

Indeed a better approach to grab the needed dependencies! Thanks for sharing!
I will look into editing the PR to make the install process more streamlined.

- `g++`

- RPM Fusion Free ([here](https://rpmfusion.org/Configuration) you can learn how to enable this repository)
- `obs-studio-libs`
Copy link

Choose a reason for hiding this comment

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

Uneeded (implementation detail), this will be fetch automatically once obs-studio-devel is installed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants