Diff obs-studio-32.0.4 with a obs-studio-9999
| /usr/portage/media-video/obs-studio/obs-studio-9999.ebuild 2026-03-18 11:46:04.259054799 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| ... | ... | |
| 13 | 13 | |
| 14 | 14 |
CEF_AMD64="cef_binary_6533_linux_x86_64_v6" |
| 15 | 15 |
CEF_ARM64="cef_binary_6533_linux_aarch64_v6" |
| 16 |
OBS_BROWSER_COMMIT="a776dd6a1a0ded4a8a723f2f572f3f8a9707f5a8" |
|
| 17 |
OBS_WEBSOCKET_COMMIT="1c9306b1e200704ebe192e06c893dfc06b097c43" |
|
| 16 |
OBS_BROWSER_COMMIT="ea04212e4bbadd077f9e6038758c4e4779c24fa3" |
|
| 17 |
OBS_WEBSOCKET_COMMIT="68bebc28be57a8ca371404182113e16eeac74cbf" |
|
| 18 | 18 | |
| 19 | 19 |
DESCRIPTION="Software for Recording and Streaming Live Video Content" |
| 20 | 20 |
HOMEPAGE="https://obsproject.com" |
| ... | ... | |
| 63 | 63 |
python? ( dev-lang/swig ) |
| 64 | 64 |
" |
| 65 | 65 |
# media-video/ffmpeg[opus] required due to bug 909566 |
| 66 |
# The websocket plug-in fails to build with 'dev-cpp/asio-1.34.0': |
|
| 67 |
# https://github.com/obsproject/obs-websocket/issues/1291 |
|
| 68 | 66 |
DEPEND=" |
| 69 | 67 |
dev-cpp/nlohmann_json |
| 70 | 68 |
dev-libs/glib:2 |
| ... | ... | |
| 142 | 140 |
x11-libs/libxkbcommon |
| 143 | 141 |
) |
| 144 | 142 |
websocket? ( |
| 145 |
<dev-cpp/asio-1.34.0 |
|
| 143 |
dev-cpp/asio |
|
| 146 | 144 |
dev-cpp/websocketpp |
| 147 | 145 |
dev-libs/qr-code-generator |
| 148 | 146 |
) |
| ... | ... | |
| 160 | 158 |
usr/lib*/obs-plugins/swiftshader/libGLESv2.so |
| 161 | 159 |
" |
| 162 | 160 | |
| 163 |
PATCHES=( |
|
| 164 |
# https://bugs.gentoo.org/966051 |
|
| 165 |
"${FILESDIR}/${PN}-32.0.2-fix-build-with-qt-6.10.patch"
|
|
| 166 |
) |
|
| 167 | ||
| 168 | 161 |
pkg_setup() {
|
| 169 | 162 |
use lua && lua-single_pkg_setup |
| 170 | 163 |
use python && python-single-r1_pkg_setup |
| ... | ... | |
| 185 | 178 |
} |
| 186 | 179 | |
| 187 | 180 |
src_prepare() {
|
| 188 |
# Un-comment after all patches are gone. |
|
| 189 |
#default |
|
| 181 |
default |
|
| 182 | ||
| 183 |
sed -i 's/-Werror //' libobs/cmake/linux/libobs.pc.in || die |
|
| 190 | 184 | |
| 191 | 185 |
# -Werror=lto-type-mismatch |
| 192 | 186 |
# https://bugs.gentoo.org/867250 |