1 |
commit: ef05153988eb8bf522b66dfe16c507cfa6ef1ba1 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 31 15:10:02 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 31 15:10:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef051539 |
7 |
|
8 |
media-video/obs-studio: Drop 25.0.8-r1 |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
media-video/obs-studio/metadata.xml | 1 - |
14 |
media-video/obs-studio/obs-studio-25.0.8-r1.ebuild | 150 --------------------- |
15 |
2 files changed, 151 deletions(-) |
16 |
|
17 |
diff --git a/media-video/obs-studio/metadata.xml b/media-video/obs-studio/metadata.xml |
18 |
index cd2070e38ea..603cd8cc27c 100644 |
19 |
--- a/media-video/obs-studio/metadata.xml |
20 |
+++ b/media-video/obs-studio/metadata.xml |
21 |
@@ -14,7 +14,6 @@ |
22 |
<use> |
23 |
<flag name="fdk">Enable libfdk support for AAC encoding.</flag> |
24 |
<flag name="imagemagick">Use ImageMagick for image loading instead of FFmpeg.</flag> |
25 |
- <flag name="luajit">Build support for scripting via Luajit.</flag> |
26 |
<flag name="nvenc">Enable NVENC encoding for nVidia video cards.</flag> |
27 |
<flag name="python">Build support for scripting via Python 3.</flag> |
28 |
<flag name="speex">Enable noise suppression filter support via |
29 |
|
30 |
diff --git a/media-video/obs-studio/obs-studio-25.0.8-r1.ebuild b/media-video/obs-studio/obs-studio-25.0.8-r1.ebuild |
31 |
deleted file mode 100644 |
32 |
index 2b2e4ee9862..00000000000 |
33 |
--- a/media-video/obs-studio/obs-studio-25.0.8-r1.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,150 +0,0 @@ |
36 |
-# Copyright 1999-2020 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=7 |
40 |
- |
41 |
-CMAKE_REMOVE_MODULES_LIST=( FindFreetype ) |
42 |
-# Does not work with 3.8+ https://bugs.gentoo.org/754006 |
43 |
-PYTHON_COMPAT=( python3_7 ) |
44 |
- |
45 |
-inherit cmake-utils python-single-r1 xdg-utils |
46 |
- |
47 |
-if [[ ${PV} == *9999 ]]; then |
48 |
- inherit git-r3 |
49 |
- EGIT_REPO_URI="https://github.com/obsproject/obs-studio.git" |
50 |
- EGIT_SUBMODULES=() |
51 |
-else |
52 |
- SRC_URI="https://github.com/obsproject/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
53 |
- KEYWORDS="~amd64 ~ppc64 ~x86" |
54 |
-fi |
55 |
- |
56 |
-DESCRIPTION="Software for Recording and Streaming Live Video Content" |
57 |
-HOMEPAGE="https://obsproject.com" |
58 |
- |
59 |
-LICENSE="GPL-2" |
60 |
-SLOT="0" |
61 |
-IUSE="+alsa fdk imagemagick jack luajit nvenc pulseaudio python speex +ssl truetype v4l vlc" |
62 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
63 |
- |
64 |
-BDEPEND=" |
65 |
- luajit? ( dev-lang/swig ) |
66 |
- python? ( dev-lang/swig ) |
67 |
-" |
68 |
-DEPEND=" |
69 |
- >=dev-libs/jansson-2.5 |
70 |
- dev-qt/qtcore:5 |
71 |
- dev-qt/qtdeclarative:5 |
72 |
- dev-qt/qtgui:5 |
73 |
- dev-qt/qtmultimedia:5 |
74 |
- dev-qt/qtnetwork:5 |
75 |
- dev-qt/qtquickcontrols:5 |
76 |
- dev-qt/qtsql:5 |
77 |
- dev-qt/qtsvg:5 |
78 |
- dev-qt/qtwidgets:5 |
79 |
- dev-qt/qtx11extras:5 |
80 |
- dev-qt/qtxml:5 |
81 |
- media-libs/x264:= |
82 |
- media-video/ffmpeg:=[x264] |
83 |
- net-misc/curl |
84 |
- sys-apps/dbus |
85 |
- sys-libs/zlib |
86 |
- virtual/udev |
87 |
- x11-libs/libX11 |
88 |
- x11-libs/libXcomposite |
89 |
- x11-libs/libXfixes |
90 |
- x11-libs/libXinerama |
91 |
- x11-libs/libXrandr |
92 |
- x11-libs/libxcb |
93 |
- alsa? ( media-libs/alsa-lib ) |
94 |
- fdk? ( media-libs/fdk-aac:= ) |
95 |
- imagemagick? ( media-gfx/imagemagick:= ) |
96 |
- jack? ( virtual/jack ) |
97 |
- luajit? ( dev-lang/luajit:2 ) |
98 |
- nvenc? ( >=media-video/ffmpeg-4[video_cards_nvidia] ) |
99 |
- pulseaudio? ( media-sound/pulseaudio ) |
100 |
- python? ( ${PYTHON_DEPS} ) |
101 |
- speex? ( media-libs/speexdsp ) |
102 |
- ssl? ( net-libs/mbedtls:= ) |
103 |
- truetype? ( |
104 |
- media-libs/fontconfig |
105 |
- media-libs/freetype |
106 |
- ) |
107 |
- v4l? ( media-libs/libv4l ) |
108 |
- vlc? ( media-video/vlc:= ) |
109 |
-" |
110 |
-RDEPEND="${DEPEND}" |
111 |
- |
112 |
-PATCHES=( "${FILESDIR}/${PN}-25.0.8-gcc-10-build.patch" ) |
113 |
- |
114 |
-pkg_setup() { |
115 |
- use python && python-single-r1_pkg_setup |
116 |
-} |
117 |
- |
118 |
-src_configure() { |
119 |
- local libdir=$(get_libdir) |
120 |
- local mycmakeargs=( |
121 |
- -DDISABLE_ALSA=$(usex !alsa) |
122 |
- -DDISABLE_FREETYPE=$(usex !truetype) |
123 |
- -DDISABLE_JACK=$(usex !jack) |
124 |
- -DDISABLE_LIBFDK=$(usex !fdk) |
125 |
- -DDISABLE_PULSEAUDIO=$(usex !pulseaudio) |
126 |
- -DDISABLE_SPEEXDSP=$(usex !speex) |
127 |
- -DDISABLE_V4L2=$(usex !v4l) |
128 |
- -DDISABLE_VLC=$(usex !vlc) |
129 |
- -DLIBOBS_PREFER_IMAGEMAGICK=$(usex imagemagick) |
130 |
- -DOBS_MULTIARCH_SUFFIX=${libdir#lib} |
131 |
- -DUNIX_STRUCTURE=1 |
132 |
- -DWITH_RTMPS=$(usex ssl) |
133 |
- ) |
134 |
- |
135 |
- if [ "${PV}" != "9999" ]; then |
136 |
- mycmakeargs+=( |
137 |
- -DOBS_VERSION_OVERRIDE=${PV} |
138 |
- ) |
139 |
- fi |
140 |
- |
141 |
- if use luajit || use python; then |
142 |
- mycmakeargs+=( |
143 |
- -DDISABLE_LUA=$(usex !luajit) |
144 |
- -DDISABLE_PYTHON=$(usex !python) |
145 |
- -DENABLE_SCRIPTING=yes |
146 |
- ) |
147 |
- else |
148 |
- mycmakeargs+=( -DENABLE_SCRIPTING=no ) |
149 |
- fi |
150 |
- |
151 |
- cmake-utils_src_configure |
152 |
-} |
153 |
- |
154 |
-src_install() { |
155 |
- cmake-utils_src_install |
156 |
- #external plugins may need some things not installed by default, install them here |
157 |
- insinto /usr/include/obs/UI/obs-frontend-api |
158 |
- doins UI/obs-frontend-api/obs-frontend-api.h |
159 |
-} |
160 |
- |
161 |
-pkg_postinst() { |
162 |
- xdg_icon_cache_update |
163 |
- |
164 |
- if ! use alsa && ! use pulseaudio; then |
165 |
- elog |
166 |
- elog "For the audio capture features to be available," |
167 |
- elog "either the 'alsa' or the 'pulseaudio' USE-flag needs to" |
168 |
- elog "be enabled." |
169 |
- elog |
170 |
- fi |
171 |
- |
172 |
- if ! has_version "sys-apps/dbus"; then |
173 |
- elog |
174 |
- elog "The 'sys-apps/dbus' package is not installed, but" |
175 |
- elog "could be used for disabling hibernating, screensaving," |
176 |
- elog "and sleeping. Where it is not installed," |
177 |
- elog "'xdg-screensaver reset' is used instead" |
178 |
- elog "(if 'x11-misc/xdg-utils' is installed)." |
179 |
- elog |
180 |
- fi |
181 |
-} |
182 |
- |
183 |
-pkg_postrm() { |
184 |
- xdg_icon_cache_update |
185 |
-} |