1 |
commit: f4671528d31484f621606681eeaec7d3a9127a06 |
2 |
Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 29 20:01:41 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 2 23:58:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4671528 |
7 |
|
8 |
media-video/obs-studio: remove version 26.1.2 and update metadata/files |
9 |
|
10 |
The 'imagemagick' USE-flag and the '-fix-alsa-crash.patch' are no |
11 |
longer used after 26.1.2 is gone. |
12 |
|
13 |
Package-Manager: Portage-3.0.24, Repoman-3.0.3 |
14 |
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org> |
15 |
Closes: https://github.com/gentoo/gentoo/pull/22444 |
16 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
17 |
|
18 |
media-video/obs-studio/Manifest | 1 - |
19 |
.../files/obs-studio-26.1.2-fix-alsa-crash.patch | 30 ---- |
20 |
media-video/obs-studio/metadata.xml | 1 - |
21 |
media-video/obs-studio/obs-studio-26.1.2-r2.ebuild | 167 --------------------- |
22 |
4 files changed, 199 deletions(-) |
23 |
|
24 |
diff --git a/media-video/obs-studio/Manifest b/media-video/obs-studio/Manifest |
25 |
index 99613fc54b2..4c88e779fa6 100644 |
26 |
--- a/media-video/obs-studio/Manifest |
27 |
+++ b/media-video/obs-studio/Manifest |
28 |
@@ -1,6 +1,5 @@ |
29 |
DIST cef_binary_4280_linux64.tar.bz2 79740715 BLAKE2B c648a9a4205094450f9eae407e98cbc3da2b7cd81b3c19c4f52cfa3efcca01dce40528018996c65f026eb97520d78040165d1906b0d19236a86e76ec39c58c26 SHA512 060a5a8716a75b4b96dfb6ac28c132e22b93107915d680311c1b9d4fd12c7712a9e3497338eac6d2b9f4e74f2dc005a75d195c597bba049e4731fe3724f519ba |
30 |
DIST obs-browser-2a338b7c76d5dd0a6b23f1d49affefd40213b0e9.tar.gz 89474 BLAKE2B ff76a884ffbb7765430a14a7de2955164e9d8823f5dd48bd85e6d0452022b706517e935d813ad78a45adf5eca95fda02e17ae81dbd721145d3ecd169c5a70537 SHA512 bcc8e38505b3cabd7c0e3edcd34ed21141efaa09a9bb0af79fefb57e315531f0ee089b79696802fa052659f66e0becf304286ef82afcf16283ed6664cb5cedd4 |
31 |
DIST obs-browser-f1a61c5a2579e5673765c31a47c2053d4b502d4b.tar.gz 79259 BLAKE2B 28cfa46928de0b5e626b384673f7b92b3a48cb631066dda06288c51df78f06b913707a1295a5142d4521505b0678a6c639bfbb5b8a066d585fa12849578a382e SHA512 3ecab39bfb36774ac501de087ca70ecde12f408cfd54cdf12539a92e89d0cf531767a066ff77139389158c46beee423cf1848081ed187890b86241aa96f7b179 |
32 |
-DIST obs-studio-26.1.2.tar.gz 16624899 BLAKE2B 655a6c71d3a0ae6ae1fc2d166a148002bb17d6eaec06d5633a10fdbfe7f42e073526ede83cd36ad21c440debe870b41b43724caa00633733f1e196d918304adc SHA512 cd95fbf587f7edfe415cae75299d65c1d771bb118649fb839ae43d77145d87725c23df3360aa7b8c35ab8b62e5ec7983a8b02f8b102caa78f768eb58b4263417 |
33 |
DIST obs-studio-27.0.1.tar.gz 15787807 BLAKE2B c2ea571f06a81b2e87ce5d9fd010610ea6cc2753223e6373025f0389972d4638a5f3ff1802f9f0af2c631d71ebcf4603e064da804e8c89eb032b1ad5743d1bd4 SHA512 c15dda62c1f212f623914e61a90c6b1e035720fb84d64726c14f43d77ae7569777a23d04221db34347ce610e7c3407c29e726ae36412e98e34ea2ddb2072b7f3 |
34 |
DIST obs-studio-27.1.1.tar.gz 15994581 BLAKE2B 43ec33b36e9d63636c9b9b750788795cb2e31866e2572d18e405836c569e24a375108b0fda5826b56c9a13839210c8a51cf3fef22d589f816c189c6bb76b826e SHA512 911fec2168ea0d378dfc295e10851ab436fb9f94ea7bb6aef6d00d32ea427b34e4929c955b138973b3f635e55ef17aa9272faaff4f9ba2c1c3c97c082318d59c |
35 |
|
36 |
diff --git a/media-video/obs-studio/files/obs-studio-26.1.2-fix-alsa-crash.patch b/media-video/obs-studio/files/obs-studio-26.1.2-fix-alsa-crash.patch |
37 |
deleted file mode 100644 |
38 |
index 2e52926feba..00000000000 |
39 |
--- a/media-video/obs-studio/files/obs-studio-26.1.2-fix-alsa-crash.patch |
40 |
+++ /dev/null |
41 |
@@ -1,30 +0,0 @@ |
42 |
-From 41367bb2b4732507248f2b3c2e43e2aa46c5ef2a Mon Sep 17 00:00:00 2001 |
43 |
-From: Jimi Huotari <chiitoo@g.o> |
44 |
-Date: Wed, 30 Dec 2020 03:14:34 +0200 |
45 |
-Subject: [PATCH] UI: Fix crash when no audio backends are available |
46 |
- |
47 |
-This commit prevents a crash in, for example, Linux configurations |
48 |
-where PulseAudio is disabled, which leads into 'mod' being 'null', |
49 |
-which in turn leads into a segmentation fault when an ALSA source |
50 |
-is selected. |
51 |
- |
52 |
-Closes https://github.com/obsproject/obs-studio/issues/3485 |
53 |
---- |
54 |
- UI/context-bar-controls.cpp | 4 ++++ |
55 |
- 1 file changed, 4 insertions(+) |
56 |
- |
57 |
-diff --git a/UI/context-bar-controls.cpp b/UI/context-bar-controls.cpp |
58 |
-index 9dff8979a2..9ef850b6d1 100644 |
59 |
---- a/UI/context-bar-controls.cpp |
60 |
-+++ b/UI/context-bar-controls.cpp |
61 |
-@@ -179,6 +179,10 @@ void AudioCaptureToolbar::Init() |
62 |
- |
63 |
- obs_module_t *mod = |
64 |
- get_os_module("win-wasapi", "mac-capture", "linux-pulseaudio"); |
65 |
-+ if (!mod) { |
66 |
-+ return; |
67 |
-+ } |
68 |
-+ |
69 |
- const char *device_str = |
70 |
- get_os_text(mod, "Device", "CoreAudio.Device", "Device"); |
71 |
- ui->deviceLabel->setText(device_str); |
72 |
|
73 |
diff --git a/media-video/obs-studio/metadata.xml b/media-video/obs-studio/metadata.xml |
74 |
index de6926e4749..b16a1b2e5db 100644 |
75 |
--- a/media-video/obs-studio/metadata.xml |
76 |
+++ b/media-video/obs-studio/metadata.xml |
77 |
@@ -19,7 +19,6 @@ |
78 |
<flag name="browser">Enable browser source support via (precompiled) CEF.</flag> |
79 |
<flag name="decklink">Build the Decklink plugin.</flag> |
80 |
<flag name="fdk">Build with LibFDK AAC support.</flag> |
81 |
- <flag name="imagemagick">Use ImageMagick for image loading instead of FFmpeg.</flag> |
82 |
<flag name="nvenc">Build with NVENC encoding support for nVidia video cards.</flag> |
83 |
<flag name="pipewire">Build with PipeWire support.</flag> |
84 |
<flag name="python">Build with scripting support for Python 3.</flag> |
85 |
|
86 |
diff --git a/media-video/obs-studio/obs-studio-26.1.2-r2.ebuild b/media-video/obs-studio/obs-studio-26.1.2-r2.ebuild |
87 |
deleted file mode 100644 |
88 |
index 0ff7ff59c0e..00000000000 |
89 |
--- a/media-video/obs-studio/obs-studio-26.1.2-r2.ebuild |
90 |
+++ /dev/null |
91 |
@@ -1,167 +0,0 @@ |
92 |
-# Copyright 1999-2021 Gentoo Authors |
93 |
-# Distributed under the terms of the GNU General Public License v2 |
94 |
- |
95 |
-EAPI=7 |
96 |
- |
97 |
-CMAKE_REMOVE_MODULES_LIST=( FindFreetype ) |
98 |
-LUA_COMPAT=( luajit ) |
99 |
-PYTHON_COMPAT=( python3_{7..9} ) |
100 |
- |
101 |
-inherit cmake lua-single python-single-r1 xdg-utils |
102 |
- |
103 |
-if [[ ${PV} == *9999 ]]; then |
104 |
- inherit git-r3 |
105 |
- EGIT_REPO_URI="https://github.com/obsproject/obs-studio.git" |
106 |
- EGIT_SUBMODULES=() |
107 |
-else |
108 |
- SRC_URI="https://github.com/obsproject/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
109 |
- KEYWORDS="~amd64 ~ppc64 ~x86" |
110 |
-fi |
111 |
- |
112 |
-DESCRIPTION="Software for Recording and Streaming Live Video Content" |
113 |
-HOMEPAGE="https://obsproject.com" |
114 |
- |
115 |
-LICENSE="GPL-2" |
116 |
-SLOT="0" |
117 |
-IUSE="+alsa fdk imagemagick jack lua nvenc pulseaudio python speex +ssl truetype v4l vlc" |
118 |
-REQUIRED_USE=" |
119 |
- lua? ( ${LUA_REQUIRED_USE} ) |
120 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
121 |
-" |
122 |
- |
123 |
-BDEPEND=" |
124 |
- lua? ( dev-lang/swig ) |
125 |
- python? ( dev-lang/swig ) |
126 |
-" |
127 |
-DEPEND=" |
128 |
- >=dev-libs/jansson-2.5:= |
129 |
- dev-qt/qtcore:5 |
130 |
- dev-qt/qtdeclarative:5 |
131 |
- dev-qt/qtgui:5 |
132 |
- dev-qt/qtmultimedia:5 |
133 |
- dev-qt/qtnetwork:5 |
134 |
- dev-qt/qtquickcontrols:5 |
135 |
- dev-qt/qtsql:5 |
136 |
- dev-qt/qtsvg:5 |
137 |
- dev-qt/qtwidgets:5 |
138 |
- dev-qt/qtx11extras:5 |
139 |
- dev-qt/qtxml:5 |
140 |
- media-libs/x264:= |
141 |
- media-video/ffmpeg:=[x264] |
142 |
- net-misc/curl |
143 |
- sys-apps/dbus |
144 |
- sys-libs/zlib |
145 |
- virtual/udev |
146 |
- x11-libs/libX11 |
147 |
- x11-libs/libXcomposite |
148 |
- x11-libs/libXfixes |
149 |
- x11-libs/libXinerama |
150 |
- x11-libs/libXrandr |
151 |
- x11-libs/libxcb |
152 |
- alsa? ( media-libs/alsa-lib ) |
153 |
- fdk? ( media-libs/fdk-aac:= ) |
154 |
- imagemagick? ( media-gfx/imagemagick:= ) |
155 |
- jack? ( virtual/jack ) |
156 |
- lua? ( ${LUA_DEPS} ) |
157 |
- nvenc? ( >=media-video/ffmpeg-4[video_cards_nvidia] ) |
158 |
- pulseaudio? ( media-sound/pulseaudio ) |
159 |
- python? ( ${PYTHON_DEPS} ) |
160 |
- speex? ( media-libs/speexdsp ) |
161 |
- ssl? ( net-libs/mbedtls:= ) |
162 |
- truetype? ( |
163 |
- media-libs/fontconfig |
164 |
- media-libs/freetype |
165 |
- ) |
166 |
- v4l? ( media-libs/libv4l ) |
167 |
- vlc? ( media-video/vlc:= ) |
168 |
-" |
169 |
-RDEPEND="${DEPEND}" |
170 |
- |
171 |
-PATCHES=( |
172 |
- "${FILESDIR}/${PN}-26.1.2-fix-alsa-crash.patch" |
173 |
- "${FILESDIR}/${PN}-26.1.2-python-3.8.patch" # https://github.com/obsproject/obs-studio/pull/3335 |
174 |
-) |
175 |
- |
176 |
-pkg_setup() { |
177 |
- use lua && lua-single_pkg_setup |
178 |
- use python && python-single-r1_pkg_setup |
179 |
-} |
180 |
- |
181 |
-src_configure() { |
182 |
- local libdir=$(get_libdir) |
183 |
- local mycmakeargs=( |
184 |
- -DDISABLE_ALSA=$(usex !alsa) |
185 |
- -DDISABLE_FREETYPE=$(usex !truetype) |
186 |
- -DDISABLE_JACK=$(usex !jack) |
187 |
- -DDISABLE_LIBFDK=$(usex !fdk) |
188 |
- -DDISABLE_PULSEAUDIO=$(usex !pulseaudio) |
189 |
- -DDISABLE_SPEEXDSP=$(usex !speex) |
190 |
- -DDISABLE_V4L2=$(usex !v4l) |
191 |
- -DDISABLE_VLC=$(usex !vlc) |
192 |
- -DLIBOBS_PREFER_IMAGEMAGICK=$(usex imagemagick) |
193 |
- -DOBS_MULTIARCH_SUFFIX=${libdir#lib} |
194 |
- -DUNIX_STRUCTURE=1 |
195 |
- -DWITH_RTMPS=$(usex ssl) |
196 |
- ) |
197 |
- |
198 |
- if [[ ${PV} != *9999 ]]; then |
199 |
- mycmakeargs+=( |
200 |
- -DOBS_VERSION_OVERRIDE=${PV} |
201 |
- ) |
202 |
- fi |
203 |
- |
204 |
- if use lua || use python; then |
205 |
- mycmakeargs+=( |
206 |
- -DDISABLE_LUA=$(usex !lua) |
207 |
- -DDISABLE_PYTHON=$(usex !python) |
208 |
- -DENABLE_SCRIPTING=yes |
209 |
- ) |
210 |
- else |
211 |
- mycmakeargs+=( -DENABLE_SCRIPTING=no ) |
212 |
- fi |
213 |
- |
214 |
- cmake_src_configure |
215 |
-} |
216 |
- |
217 |
-src_install() { |
218 |
- cmake_src_install |
219 |
- #external plugins may need some things not installed by default, install them here |
220 |
- insinto /usr/include/obs/UI/obs-frontend-api |
221 |
- doins UI/obs-frontend-api/obs-frontend-api.h |
222 |
-} |
223 |
- |
224 |
-pkg_postinst() { |
225 |
- xdg_icon_cache_update |
226 |
- |
227 |
- if ! use alsa && ! use pulseaudio; then |
228 |
- elog |
229 |
- elog "For the audio capture features to be available," |
230 |
- elog "either the 'alsa' or the 'pulseaudio' USE-flag needs to" |
231 |
- elog "be enabled." |
232 |
- elog |
233 |
- fi |
234 |
- |
235 |
- if ! has_version "sys-apps/dbus"; then |
236 |
- elog |
237 |
- elog "The 'sys-apps/dbus' package is not installed, but" |
238 |
- elog "could be used for disabling hibernating, screensaving," |
239 |
- elog "and sleeping. Where it is not installed," |
240 |
- elog "'xdg-screensaver reset' is used instead" |
241 |
- elog "(if 'x11-misc/xdg-utils' is installed)." |
242 |
- elog |
243 |
- fi |
244 |
-} |
245 |
- |
246 |
-pkg_postinst() { |
247 |
- if use python; then |
248 |
- ewarn "This ebuild applies a patch that is not yet accepted upstream," |
249 |
- ewarn "and while it fixes Python support at least to some extent, it" |
250 |
- ewarn "may cause other issues." |
251 |
- ewarn "" |
252 |
- ewarn "Please report any such issues to the Gentoo maintainer." |
253 |
- fi |
254 |
-} |
255 |
- |
256 |
-pkg_postrm() { |
257 |
- xdg_icon_cache_update |
258 |
-} |