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