Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 770970

Summary: =media-video/obs-studio-9999 add Wayland USE flag
Product: Gentoo Linux Reporter: Katherine Peeters <katherine.peeters>
Component: Current packagesAssignee: Chiitoo <chiitoo>
Status: RESOLVED FIXED    
Severity: normal CC: ionen
Priority: Normal Keywords: EBUILD, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/20574
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Updated ebuild

Description Katherine Peeters 2021-02-16 16:02:41 UTC
Created attachment 686976 [details]
Updated ebuild

Upstream has now added a Wayland compile option, `-DENABLE_WAYLAND`: https://github.com/obsproject/obs-studio/pull/2482

I've attached an example ebuild which works on my Wayland system, although I suspect there may be some dependencies missing from this example.
Comment 1 Ionen Wolkens gentoo-dev 2021-02-16 17:28:50 UTC
Not necessary but note it's preferable to attach a patch from the previous ebuild rather than the full thing, makes it quicker to see what changed.
Comment 2 Chiitoo gentoo-dev 2021-04-25 12:06:05 UTC
There's a rather big overhaul of the CMake bits coming up, so I might wait for that.

Thanks for the report!
Comment 3 Katherine Peeters 2021-04-25 17:56:29 UTC
This now applies to the latest release as well (once it's added to the repos), not just the live ebuild.
Comment 4 Larry the Git Cow gentoo-dev 2021-05-07 21:23:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=390aa6aeed9dcc9f90f83a0d5d2975bc15126049

commit 390aa6aeed9dcc9f90f83a0d5d2975bc15126049
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2021-04-28 09:29:06 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-05-07 20:59:15 +0000

    media-video/obs-studio: add/update USE-flags and metadata
    
    New USE-flags include decklink, pipewire, and wayland.
    
    Thanks-to: Katherine Peeters <katherine.peeters@leagueh.xyz>
    Closes: https://bugs.gentoo.org/770970
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-video/obs-studio/metadata.xml           | 16 ++++++++--------
 media-video/obs-studio/obs-studio-9999.ebuild | 11 +++++++++--
 2 files changed, 17 insertions(+), 10 deletions(-)