1 |
commit: 2fe2645dcbe4f746e89249fbc6013c052c7d5419 |
2 |
Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 15 19:16:27 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 26 21:10:50 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fe2645d |
7 |
|
8 |
media-video/obs-studio: add version 24.0.5 |
9 |
|
10 |
Package-Manager: Portage-2.3.81, Repoman-2.3.20 |
11 |
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/13991 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
media-video/obs-studio/Manifest | 1 + |
16 |
media-video/obs-studio/obs-studio-24.0.5.ebuild | 132 ++++++++++++++++++++++++ |
17 |
2 files changed, 133 insertions(+) |
18 |
|
19 |
diff --git a/media-video/obs-studio/Manifest b/media-video/obs-studio/Manifest |
20 |
index 99942d9afc6..4765be69d53 100644 |
21 |
--- a/media-video/obs-studio/Manifest |
22 |
+++ b/media-video/obs-studio/Manifest |
23 |
@@ -1,2 +1,3 @@ |
24 |
DIST obs-studio-23.2.1.tar.gz 6204515 BLAKE2B bd025a1ec2809e8a0b47fba79c6a3d40feb255a03a461725501a9c7cdbc40c04b75ff714fa4b3787f876a3f524f3371119a3ea9666c3aeb003184f1eb2a63123 SHA512 aabc23d825c2ca3f40274a8e2c4935939dab4955d929c44b28cebde114e808543c1c0dc05791bb6d9f2611effb0f2cb3e20c9a653154c30a9851ea94e74c8169 |
25 |
DIST obs-studio-24.0.3.tar.gz 6285359 BLAKE2B f799e93e9c35c22e5d7f6e4da04e30b06a3a1ad1b3bfd0a75acdbb5d1f28a717d84809a1f35a858252ff30094fa80521d752a35b5285b0a606d0d77ff88fb3cf SHA512 57cef700076457da1eee344042261e1ada6d6744fcb3033a1d4eaffb9e84dd350aa198984fba3de82d4e727706f562c7c3568d95de6859a4942d9fa6368a02ab |
26 |
+DIST obs-studio-24.0.5.tar.gz 7901198 BLAKE2B 79c9712f3523114a70e0df3e0631c19067fd7ead5fd9031123dd4c82d9b92dee69473fb51a495f938430540505a5cf45258eeee01d61a7aaa6654255fee14aca SHA512 99be46046b70597474f25a85036ebe5a2f704eef47c77bc27e2ba8890b877da346ff6008c5922d7a83a4cead9df7214c6a3be885430693e609a42d9d06fedfaf |
27 |
|
28 |
diff --git a/media-video/obs-studio/obs-studio-24.0.5.ebuild b/media-video/obs-studio/obs-studio-24.0.5.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..58691bbb1db |
31 |
--- /dev/null |
32 |
+++ b/media-video/obs-studio/obs-studio-24.0.5.ebuild |
33 |
@@ -0,0 +1,132 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+CMAKE_REMOVE_MODULES_LIST=( FindFreetype ) |
40 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
41 |
+ |
42 |
+inherit cmake-utils python-single-r1 xdg-utils |
43 |
+ |
44 |
+if [[ ${PV} == *9999 ]]; then |
45 |
+ inherit git-r3 |
46 |
+ EGIT_REPO_URI="https://github.com/obsproject/obs-studio.git" |
47 |
+ EGIT_SUBMODULES=() |
48 |
+else |
49 |
+ SRC_URI="https://github.com/obsproject/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
50 |
+ KEYWORDS="~amd64 ~x86" |
51 |
+fi |
52 |
+ |
53 |
+DESCRIPTION="Software for Recording and Streaming Live Video Content" |
54 |
+HOMEPAGE="https://obsproject.com" |
55 |
+ |
56 |
+LICENSE="GPL-2" |
57 |
+SLOT="0" |
58 |
+IUSE="+alsa fdk imagemagick jack luajit nvenc pulseaudio python speex +ssl truetype v4l vlc" |
59 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
60 |
+ |
61 |
+BDEPEND=" |
62 |
+ luajit? ( dev-lang/swig ) |
63 |
+ python? ( dev-lang/swig ) |
64 |
+" |
65 |
+DEPEND=" |
66 |
+ >=dev-libs/jansson-2.5 |
67 |
+ dev-qt/qtcore:5 |
68 |
+ dev-qt/qtdeclarative:5 |
69 |
+ dev-qt/qtgui:5 |
70 |
+ dev-qt/qtmultimedia:5 |
71 |
+ dev-qt/qtnetwork:5 |
72 |
+ dev-qt/qtquickcontrols:5 |
73 |
+ dev-qt/qtsql:5 |
74 |
+ dev-qt/qtsvg:5 |
75 |
+ dev-qt/qtwidgets:5 |
76 |
+ dev-qt/qtx11extras:5 |
77 |
+ media-video/ffmpeg:=[x264] |
78 |
+ net-misc/curl |
79 |
+ x11-libs/libXcomposite |
80 |
+ x11-libs/libXinerama |
81 |
+ x11-libs/libXrandr |
82 |
+ alsa? ( media-libs/alsa-lib ) |
83 |
+ fdk? ( media-libs/fdk-aac:= ) |
84 |
+ imagemagick? ( media-gfx/imagemagick:= ) |
85 |
+ jack? ( virtual/jack ) |
86 |
+ luajit? ( dev-lang/luajit:2 ) |
87 |
+ nvenc? ( |
88 |
+ || ( |
89 |
+ <media-video/ffmpeg-4[nvenc] |
90 |
+ >=media-video/ffmpeg-4[video_cards_nvidia] |
91 |
+ ) |
92 |
+ ) |
93 |
+ pulseaudio? ( media-sound/pulseaudio ) |
94 |
+ python? ( ${PYTHON_DEPS} ) |
95 |
+ speex? ( media-libs/speexdsp ) |
96 |
+ ssl? ( net-libs/mbedtls ) |
97 |
+ truetype? ( |
98 |
+ media-libs/fontconfig |
99 |
+ media-libs/freetype |
100 |
+ ) |
101 |
+ v4l? ( media-libs/libv4l ) |
102 |
+ vlc? ( media-video/vlc:= ) |
103 |
+" |
104 |
+RDEPEND="${DEPEND}" |
105 |
+ |
106 |
+pkg_setup() { |
107 |
+ use python && python-single-r1_pkg_setup |
108 |
+} |
109 |
+ |
110 |
+src_configure() { |
111 |
+ local libdir=$(get_libdir) |
112 |
+ local mycmakeargs=( |
113 |
+ -DDISABLE_ALSA=$(usex !alsa) |
114 |
+ -DDISABLE_FREETYPE=$(usex !truetype) |
115 |
+ -DDISABLE_JACK=$(usex !jack) |
116 |
+ -DDISABLE_LIBFDK=$(usex !fdk) |
117 |
+ -DDISABLE_PULSEAUDIO=$(usex !pulseaudio) |
118 |
+ -DDISABLE_SPEEXDSP=$(usex !speex) |
119 |
+ -DDISABLE_V4L2=$(usex !v4l) |
120 |
+ -DDISABLE_VLC=$(usex !vlc) |
121 |
+ -DLIBOBS_PREFER_IMAGEMAGICK=$(usex imagemagick) |
122 |
+ -DOBS_MULTIARCH_SUFFIX=${libdir#lib} |
123 |
+ -DOBS_VERSION_OVERRIDE=${PV} |
124 |
+ -DUNIX_STRUCTURE=1 |
125 |
+ -DWITH_RTMPS=$(usex ssl) |
126 |
+ ) |
127 |
+ |
128 |
+ if use luajit || use python; then |
129 |
+ mycmakeargs+=( |
130 |
+ -DDISABLE_LUA=$(usex !luajit) |
131 |
+ -DDISABLE_PYTHON=$(usex !python) |
132 |
+ -DENABLE_SCRIPTING=yes |
133 |
+ ) |
134 |
+ else |
135 |
+ mycmakeargs+=( -DENABLE_SCRIPTING=no ) |
136 |
+ fi |
137 |
+ |
138 |
+ cmake-utils_src_configure |
139 |
+} |
140 |
+ |
141 |
+pkg_postinst() { |
142 |
+ xdg_icon_cache_update |
143 |
+ |
144 |
+ if ! use alsa && ! use pulseaudio; then |
145 |
+ elog |
146 |
+ elog "For the audio capture features to be available," |
147 |
+ elog "either the 'alsa' or the 'pulseaudio' USE-flag needs to" |
148 |
+ elog "be enabled." |
149 |
+ elog |
150 |
+ fi |
151 |
+ |
152 |
+ if ! has_version "sys-apps/dbus"; then |
153 |
+ elog |
154 |
+ elog "The 'sys-apps/dbus' package is not installed, but" |
155 |
+ elog "could be used for disabling hibernating, screensaving," |
156 |
+ elog "and sleeping. Where it is not installed," |
157 |
+ elog "'xdg-screensaver reset' is used instead" |
158 |
+ elog "(if 'x11-misc/xdg-utils' is installed)." |
159 |
+ elog |
160 |
+ fi |
161 |
+} |
162 |
+ |
163 |
+pkg_postrm() { |
164 |
+ xdg_icon_cache_update |
165 |
+} |