10 |
10 |
inherit cmake lua-single optfeature python-single-r1 xdg
|
11 |
11 |
|
12 |
12 |
CEF_DIR="cef_binary_5060_linux64"
|
13 |
|
OBS_BROWSER_COMMIT="594115a27d40f0916e55db97cb61f7c7130cbe28"
|
|
13 |
OBS_BROWSER_COMMIT="291464d6988083411e7369fc53eba6d5ef07ff67"
|
14 |
14 |
OBS_WEBSOCKET_COMMIT="6fd18a7ef1ecb149e8444154af1daab61d4241a9"
|
15 |
15 |
QR_COMMIT="8518684c0f33d004fa93971be2c6a8eca3167d1e"
|
16 |
16 |
|
... | ... | |
32 |
32 |
https://github.com/nayuki/QR-Code-generator/archive/${QR_COMMIT}.tar.gz -> qr-${QR_COMMIT}.tar.gz
|
33 |
33 |
https://github.com/obsproject/obs-websocket/archive/${OBS_WEBSOCKET_COMMIT}.tar.gz -> obs-websocket-${OBS_WEBSOCKET_COMMIT}.tar.gz
|
34 |
34 |
"
|
35 |
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
|
35 |
KEYWORDS="~amd64 ~ppc64 ~x86"
|
36 |
36 |
fi
|
37 |
37 |
SRC_URI+=" browser? ( https://cdn-fastly.obsproject.com/downloads/${CEF_DIR}.tar.bz2 )"
|
38 |
38 |
|
... | ... | |
43 |
43 |
SLOT="0"
|
44 |
44 |
IUSE="
|
45 |
45 |
+alsa browser decklink fdk jack lua nvenc pipewire pulseaudio
|
46 |
|
python qt6 speex +ssl truetype v4l vlc wayland websocket
|
|
46 |
python qsv speex +ssl truetype v4l vlc wayland websocket
|
47 |
47 |
"
|
48 |
48 |
REQUIRED_USE="
|
49 |
49 |
browser? ( || ( alsa pulseaudio ) )
|
... | ... | |
59 |
59 |
DEPEND="
|
60 |
60 |
dev-libs/glib:2
|
61 |
61 |
dev-libs/jansson:=
|
|
62 |
dev-qt/qtbase:6[network,widgets,xml(+)]
|
|
63 |
dev-qt/qtsvg:6
|
62 |
64 |
media-libs/libglvnd
|
63 |
65 |
media-libs/libva
|
64 |
66 |
media-libs/x264:=
|
... | ... | |
69 |
71 |
sys-apps/util-linux
|
70 |
72 |
sys-libs/zlib:=
|
71 |
73 |
x11-libs/libX11
|
|
74 |
x11-libs/libxcb:=
|
72 |
75 |
x11-libs/libXcomposite
|
73 |
76 |
x11-libs/libXfixes
|
74 |
|
x11-libs/libxcb:=
|
|
77 |
x11-libs/libxkbcommon
|
75 |
78 |
alsa? ( media-libs/alsa-lib )
|
76 |
79 |
browser? (
|
77 |
80 |
|| (
|
78 |
81 |
>=app-accessibility/at-spi2-core-2.46.0:2
|
79 |
82 |
( app-accessibility/at-spi2-atk dev-libs/atk )
|
80 |
83 |
)
|
|
84 |
dev-cpp/nlohmann_json
|
81 |
85 |
dev-libs/expat
|
82 |
86 |
dev-libs/glib
|
83 |
87 |
dev-libs/nspr
|
... | ... | |
107 |
111 |
pipewire? ( media-video/pipewire:= )
|
108 |
112 |
pulseaudio? ( media-libs/libpulse )
|
109 |
113 |
python? ( ${PYTHON_DEPS} )
|
110 |
|
qt6? (
|
111 |
|
dev-qt/qtbase:6[network,widgets,xml(+)]
|
112 |
|
dev-qt/qtsvg:6
|
113 |
|
x11-libs/libxkbcommon
|
114 |
|
)
|
115 |
|
!qt6? (
|
116 |
|
dev-qt/qtcore:5
|
117 |
|
dev-qt/qtgui:5[wayland?]
|
118 |
|
dev-qt/qtnetwork:5
|
119 |
|
dev-qt/qtquickcontrols:5
|
120 |
|
dev-qt/qtsvg:5
|
121 |
|
dev-qt/qtwidgets:5
|
122 |
|
dev-qt/qtxml:5
|
123 |
|
)
|
|
114 |
qsv? ( media-libs/oneVPL )
|
124 |
115 |
speex? ( media-libs/speexdsp )
|
125 |
116 |
ssl? ( net-libs/mbedtls:= )
|
126 |
117 |
truetype? (
|
... | ... | |
201 |
192 |
-DENABLE_NEW_MPEGTS_OUTPUT=OFF # Requires librist and libsrt.
|
202 |
193 |
-DENABLE_PIPEWIRE=$(usex pipewire)
|
203 |
194 |
-DENABLE_PULSEAUDIO=$(usex pulseaudio)
|
|
195 |
-DENABLE_QSV11=$(usex qsv)
|
204 |
196 |
-DENABLE_RTMPS=$(usex ssl ON OFF) # Needed for bug 880861
|
205 |
197 |
-DENABLE_SPEEXDSP=$(usex speex)
|
206 |
198 |
-DENABLE_V4L2=$(usex v4l)
|
207 |
199 |
-DENABLE_VLC=$(usex vlc)
|
208 |
200 |
-DENABLE_VST=ON
|
209 |
201 |
-DENABLE_WAYLAND=$(usex wayland)
|
|
202 |
-DENABLE_WEBRTC=OFF # Requires libdatachannel.
|
210 |
203 |
-DENABLE_WEBSOCKET=$(usex websocket)
|
211 |
204 |
-DOBS_MULTIARCH_SUFFIX=${libdir#lib}
|
212 |
|
-DQT_VERSION=$(usex qt6 6 5)
|
213 |
205 |
-DUNIX_STRUCTURE=1
|
214 |
206 |
)
|
215 |
207 |
|