1 |
commit: a0a76e7262deff97dcf1eab93193afba15ce64f1 |
2 |
Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 29 08:31:03 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 29 12:25:21 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0a76e72 |
7 |
|
8 |
media-video/obs-studio: Override detected version for non-git builds. |
9 |
|
10 |
The upstream CMake configuration always sets the software version to |
11 |
0.0.1, when there is no '.git' directory found. It seems upstream |
12 |
accepted, and implemented a variable to fix this. |
13 |
|
14 |
Upstream-Bug: https://github.com/jp9000/obs-studio/pull/349 |
15 |
|
16 |
Additionally, add quotes for '-DUNIX_STRUCTURE' for consistency. |
17 |
|
18 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
19 |
|
20 |
media-video/obs-studio/obs-studio-17.0.0.ebuild | 3 ++- |
21 |
1 file changed, 2 insertions(+), 1 deletion(-) |
22 |
|
23 |
diff --git a/media-video/obs-studio/obs-studio-17.0.0.ebuild b/media-video/obs-studio/obs-studio-17.0.0.ebuild |
24 |
index 678d13d..442d10f 100644 |
25 |
--- a/media-video/obs-studio/obs-studio-17.0.0.ebuild |
26 |
+++ b/media-video/obs-studio/obs-studio-17.0.0.ebuild |
27 |
@@ -69,7 +69,8 @@ src_configure() { |
28 |
-DDISABLE_V4L2="$(usex !v4l)" |
29 |
-DLIBOBS_PREFER_IMAGEMAGICK="$(usex imagemagick)" |
30 |
-DOBS_MULTIARCH_SUFFIX="${libdir#lib}" |
31 |
- -DUNIX_STRUCTURE=1 |
32 |
+ -DOBS_VERSION_OVERRIDE="${PV}" |
33 |
+ -DUNIX_STRUCTURE="1" |
34 |
) |
35 |
|
36 |
cmake-utils_src_configure |