Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/obs-studio/
Date: Fri, 08 Oct 2021 02:29:45
Message-Id: 1633660145.970ee38bf64bb133d8961846e00eb8f0ed2d7ddf.ionen@gentoo
1 commit: 970ee38bf64bb133d8961846e00eb8f0ed2d7ddf
2 Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 7 17:33:47 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 8 02:29:05 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=970ee38b
7
8 media-video/obs-studio: remove version 27.1.1
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>
12 Closes: https://github.com/gentoo/gentoo/pull/22511
13 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
14
15 media-video/obs-studio/Manifest | 1 -
16 media-video/obs-studio/obs-studio-27.1.1.ebuild | 214 ------------------------
17 2 files changed, 215 deletions(-)
18
19 diff --git a/media-video/obs-studio/Manifest b/media-video/obs-studio/Manifest
20 index 0bc277ad108..9fc4f9b6d69 100644
21 --- a/media-video/obs-studio/Manifest
22 +++ b/media-video/obs-studio/Manifest
23 @@ -2,5 +2,4 @@ DIST cef_binary_4280_linux64.tar.bz2 79740715 BLAKE2B c648a9a4205094450f9eae407e
24 DIST obs-browser-2a338b7c76d5dd0a6b23f1d49affefd40213b0e9.tar.gz 89474 BLAKE2B ff76a884ffbb7765430a14a7de2955164e9d8823f5dd48bd85e6d0452022b706517e935d813ad78a45adf5eca95fda02e17ae81dbd721145d3ecd169c5a70537 SHA512 bcc8e38505b3cabd7c0e3edcd34ed21141efaa09a9bb0af79fefb57e315531f0ee089b79696802fa052659f66e0becf304286ef82afcf16283ed6664cb5cedd4
25 DIST obs-browser-f1a61c5a2579e5673765c31a47c2053d4b502d4b.tar.gz 79259 BLAKE2B 28cfa46928de0b5e626b384673f7b92b3a48cb631066dda06288c51df78f06b913707a1295a5142d4521505b0678a6c639bfbb5b8a066d585fa12849578a382e SHA512 3ecab39bfb36774ac501de087ca70ecde12f408cfd54cdf12539a92e89d0cf531767a066ff77139389158c46beee423cf1848081ed187890b86241aa96f7b179
26 DIST obs-studio-27.0.1.tar.gz 15787807 BLAKE2B c2ea571f06a81b2e87ce5d9fd010610ea6cc2753223e6373025f0389972d4638a5f3ff1802f9f0af2c631d71ebcf4603e064da804e8c89eb032b1ad5743d1bd4 SHA512 c15dda62c1f212f623914e61a90c6b1e035720fb84d64726c14f43d77ae7569777a23d04221db34347ce610e7c3407c29e726ae36412e98e34ea2ddb2072b7f3
27 -DIST obs-studio-27.1.1.tar.gz 15994581 BLAKE2B 43ec33b36e9d63636c9b9b750788795cb2e31866e2572d18e405836c569e24a375108b0fda5826b56c9a13839210c8a51cf3fef22d589f816c189c6bb76b826e SHA512 911fec2168ea0d378dfc295e10851ab436fb9f94ea7bb6aef6d00d32ea427b34e4929c955b138973b3f635e55ef17aa9272faaff4f9ba2c1c3c97c082318d59c
28 DIST obs-studio-27.1.3.tar.gz 15994678 BLAKE2B 5544a1ecdb04dca7f6422936ea5499a206b4beb8e5332605c18cd72a91ce73aa74ff06c49a106931822c1c413ee94d383942f173a71f2b21168a00495b4e301f SHA512 04c11c79e3b091aa9ea8fc6674c9fbcaa1c924fe049f68e9be63f63724c31305d6e4fb33aecdd4d0095d20013e2ee188983f6938b175257368d2260681c2fb39
29
30 diff --git a/media-video/obs-studio/obs-studio-27.1.1.ebuild b/media-video/obs-studio/obs-studio-27.1.1.ebuild
31 deleted file mode 100644
32 index 6e23d6b2b47..00000000000
33 --- a/media-video/obs-studio/obs-studio-27.1.1.ebuild
34 +++ /dev/null
35 @@ -1,214 +0,0 @@
36 -# Copyright 1999-2021 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=8
40 -
41 -CMAKE_REMOVE_MODULES_LIST=( FindFreetype )
42 -LUA_COMPAT=( luajit )
43 -PYTHON_COMPAT=( python3_{8..10} )
44 -
45 -inherit cmake lua-single python-single-r1 xdg
46 -
47 -OBS_BROWSER_COMMIT="2a338b7c76d5dd0a6b23f1d49affefd40213b0e9"
48 -CEF_DIR="cef_binary_4280_linux64"
49 -
50 -if [[ ${PV} == 9999 ]]; then
51 - inherit git-r3
52 - EGIT_REPO_URI="https://github.com/obsproject/obs-studio.git"
53 - EGIT_SUBMODULES=( plugins/obs-browser )
54 -else
55 - SRC_URI="https://github.com/obsproject/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
56 - SRC_URI+=" browser? ( https://github.com/obsproject/obs-browser/archive/${OBS_BROWSER_COMMIT}.tar.gz -> obs-browser-${OBS_BROWSER_COMMIT}.tar.gz )"
57 - KEYWORDS="~amd64 ~ppc64 ~x86"
58 -fi
59 -SRC_URI+=" browser? ( https://cdn-fastly.obsproject.com/downloads/${CEF_DIR}.tar.bz2 )"
60 -
61 -DESCRIPTION="Software for Recording and Streaming Live Video Content"
62 -HOMEPAGE="https://obsproject.com"
63 -
64 -LICENSE="GPL-2"
65 -SLOT="0"
66 -IUSE="
67 - +alsa browser decklink fdk jack lua nvenc pipewire
68 - pulseaudio python speex +ssl truetype v4l vlc wayland
69 -"
70 -REQUIRED_USE="
71 - browser? ( || ( alsa pulseaudio ) )
72 - lua? ( ${LUA_REQUIRED_USE} )
73 - python? ( ${PYTHON_REQUIRED_USE} )
74 -"
75 -
76 -BDEPEND="
77 - lua? ( dev-lang/swig )
78 - python? ( dev-lang/swig )
79 -"
80 -DEPEND="
81 - dev-libs/glib:2
82 - dev-libs/jansson:=
83 - dev-qt/qtcore:5
84 - dev-qt/qtdeclarative:5
85 - dev-qt/qtgui:5[wayland?]
86 - dev-qt/qtmultimedia:5
87 - dev-qt/qtnetwork:5
88 - dev-qt/qtquickcontrols:5
89 - dev-qt/qtsql:5
90 - dev-qt/qtsvg:5
91 - dev-qt/qtwidgets:5
92 - dev-qt/qtx11extras:5
93 - dev-qt/qtxml:5
94 - media-libs/libglvnd
95 - media-libs/x264:=
96 - media-video/ffmpeg:=[x264]
97 - net-misc/curl
98 - sys-apps/dbus
99 - sys-libs/zlib:=
100 - virtual/udev
101 - x11-libs/libX11
102 - x11-libs/libXcomposite
103 - x11-libs/libXfixes
104 - x11-libs/libXinerama
105 - x11-libs/libXrandr
106 - x11-libs/libxcb:=
107 - alsa? ( media-libs/alsa-lib )
108 - browser? (
109 - app-accessibility/at-spi2-atk
110 - app-accessibility/at-spi2-core:2
111 - dev-libs/atk
112 - dev-libs/expat
113 - dev-libs/glib
114 - dev-libs/nspr
115 - dev-libs/nss
116 - media-libs/alsa-lib
117 - media-libs/fontconfig
118 - media-libs/mesa[gbm(+)]
119 - net-print/cups
120 - x11-libs/libdrm
121 - x11-libs/libXScrnSaver
122 - x11-libs/libXcursor
123 - x11-libs/libXdamage
124 - x11-libs/libXext
125 - x11-libs/libXi
126 - x11-libs/libXrender
127 - x11-libs/libXtst
128 - )
129 - fdk? ( media-libs/fdk-aac:= )
130 - jack? ( virtual/jack )
131 - lua? ( ${LUA_DEPS} )
132 - nvenc? ( >=media-video/ffmpeg-4[video_cards_nvidia] )
133 - pipewire? ( media-video/pipewire:= )
134 - pulseaudio? ( media-sound/pulseaudio )
135 - python? ( ${PYTHON_DEPS} )
136 - speex? ( media-libs/speexdsp )
137 - ssl? ( net-libs/mbedtls:= )
138 - truetype? (
139 - media-libs/fontconfig
140 - media-libs/freetype
141 - )
142 - v4l? ( media-libs/libv4l )
143 - vlc? ( media-video/vlc:= )
144 - wayland? ( dev-libs/wayland )
145 -"
146 -RDEPEND="${DEPEND}"
147 -
148 -QA_PREBUILT="
149 - usr/lib*/obs-plugins/chrome-sandbox
150 - usr/lib*/obs-plugins/libEGL.so
151 - usr/lib*/obs-plugins/libGLESv2.so
152 - usr/lib*/obs-plugins/libcef.so
153 - usr/lib*/obs-plugins/swiftshader/libEGL.so
154 - usr/lib*/obs-plugins/swiftshader/libGLESv2.so
155 -"
156 -
157 -PATCHES=(
158 - "${FILESDIR}/${PN}-26.1.2-python-3.8.patch"
159 -)
160 -
161 -pkg_setup() {
162 - use lua && lua-single_pkg_setup
163 - use python && python-single-r1_pkg_setup
164 -}
165 -
166 -src_unpack() {
167 - default
168 -
169 - if [[ ${PV} == 9999 ]]; then
170 - git-r3_src_unpack
171 - elif use browser; then
172 - rm -d ${P}/plugins/obs-browser || die
173 - mv obs-browser-${OBS_BROWSER_COMMIT} ${P}/plugins/obs-browser || die
174 - fi
175 -}
176 -
177 -src_configure() {
178 - local libdir=$(get_libdir)
179 - local mycmakeargs=(
180 - $(usev browser -DCEF_ROOT_DIR=../${CEF_DIR})
181 - -DBUILD_BROWSER=$(usex browser)
182 - -DBUILD_VST=no
183 - -DENABLE_WAYLAND=$(usex wayland)
184 - -DDISABLE_ALSA=$(usex !alsa)
185 - -DDISABLE_DECKLINK=$(usex !decklink)
186 - -DDISABLE_FREETYPE=$(usex !truetype)
187 - -DDISABLE_JACK=$(usex !jack)
188 - -DDISABLE_LIBFDK=$(usex !fdk)
189 - -DENABLE_PIPEWIRE=$(usex pipewire)
190 - -DDISABLE_PULSEAUDIO=$(usex !pulseaudio)
191 - $(cmake_use_find_package pulseaudio PulseAudio)
192 - -DDISABLE_SPEEXDSP=$(usex !speex)
193 - -DDISABLE_V4L2=$(usex !v4l)
194 - -DDISABLE_VLC=$(usex !vlc)
195 - -DOBS_MULTIARCH_SUFFIX=${libdir#lib}
196 - -DUNIX_STRUCTURE=1
197 - -DWITH_RTMPS=$(usex ssl)
198 -
199 - # deprecated and currently cause issues
200 - # https://github.com/obsproject/obs-studio/pull/4560#issuecomment-826345608
201 - -DLIBOBS_PREFER_IMAGEMAGICK=no
202 - )
203 -
204 - if [[ ${PV} != 9999 ]]; then
205 - mycmakeargs+=(
206 - -DOBS_VERSION_OVERRIDE=${PV}
207 - )
208 - fi
209 -
210 - if use lua || use python; then
211 - mycmakeargs+=(
212 - -DDISABLE_LUA=$(usex !lua)
213 - -DDISABLE_PYTHON=$(usex !python)
214 - -DENABLE_SCRIPTING=yes
215 - )
216 - else
217 - mycmakeargs+=( -DENABLE_SCRIPTING=no )
218 - fi
219 -
220 - cmake_src_configure
221 -}
222 -
223 -src_install() {
224 - cmake_src_install
225 -
226 - # external plugins may need some things not installed by default, install them here
227 - insinto /usr/include/obs/UI/obs-frontend-api
228 - doins UI/obs-frontend-api/obs-frontend-api.h
229 -}
230 -
231 -pkg_postinst() {
232 - xdg_pkg_postinst
233 -
234 - if ! use alsa && ! use pulseaudio; then
235 - elog
236 - elog "For the audio capture features to be available,"
237 - elog "either the 'alsa' or the 'pulseaudio' USE-flag needs to"
238 - elog "be enabled."
239 - elog
240 - fi
241 -
242 - if use python; then
243 - ewarn "This ebuild applies a patch that is not yet accepted upstream,"
244 - ewarn "and while it fixes Python support at least to some extent, it"
245 - ewarn "may cause other issues."
246 - ewarn ""
247 - ewarn "Please report any such issues to the Gentoo maintainer."
248 - fi
249 -}