summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2016-12-29 10:31:03 +0200
committerMichael Palimaka <kensington@gentoo.org>2016-12-29 23:25:21 +1100
commita0a76e7262deff97dcf1eab93193afba15ce64f1 (patch)
treee516865809df39b509b692fe5725173b30d9de10 /media-video
parentmedia-video/obs-studio: Version bump to 17.0.0. (diff)
downloadgentoo-a0a76e7262deff97dcf1eab93193afba15ce64f1.tar.gz
gentoo-a0a76e7262deff97dcf1eab93193afba15ce64f1.tar.bz2
gentoo-a0a76e7262deff97dcf1eab93193afba15ce64f1.zip
media-video/obs-studio: Override detected version for non-git builds.
The upstream CMake configuration always sets the software version to 0.0.1, when there is no '.git' directory found. It seems upstream accepted, and implemented a variable to fix this. Upstream-Bug: https://github.com/jp9000/obs-studio/pull/349 Additionally, add quotes for '-DUNIX_STRUCTURE' for consistency. Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-video')
-rw-r--r--media-video/obs-studio/obs-studio-17.0.0.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/media-video/obs-studio/obs-studio-17.0.0.ebuild b/media-video/obs-studio/obs-studio-17.0.0.ebuild
index 678d13dc8d77..442d10f66ca1 100644
--- a/media-video/obs-studio/obs-studio-17.0.0.ebuild
+++ b/media-video/obs-studio/obs-studio-17.0.0.ebuild
@@ -69,7 +69,8 @@ src_configure() {
-DDISABLE_V4L2="$(usex !v4l)"
-DLIBOBS_PREFER_IMAGEMAGICK="$(usex imagemagick)"
-DOBS_MULTIARCH_SUFFIX="${libdir#lib}"
- -DUNIX_STRUCTURE=1
+ -DOBS_VERSION_OVERRIDE="${PV}"
+ -DUNIX_STRUCTURE="1"
)
cmake-utils_src_configure