diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2021-09-24 23:24:56 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2021-09-24 23:41:02 -0400 |
commit | d41450c586971bf48a4a8cdf04e057b7af77066d (patch) | |
tree | da9edb98ea77f96878a2c5b27b5d6550b0016f99 /media-libs/x265/x265-9999.ebuild | |
parent | app-text/ghostscript-gpl: force -j1 for now in 9.54.0 (diff) | |
download | gentoo-d41450c586971bf48a4a8cdf04e057b7af77066d.tar.gz gentoo-d41450c586971bf48a4a8cdf04e057b7af77066d.tar.bz2 gentoo-d41450c586971bf48a4a8cdf04e057b7af77066d.zip |
media-libs/x265: quickfix for missing lib and .pc if no git(1)
-DGIT_ARCHETYPE is not a real option but something the Version.cmake
would hard set(...) and overwrite, however if dev-vcs/git is not
found it skips that entirely.
i.e. if GIT_FOUND then use .git if found, else use .txt version.
Setting this tells it to use the latter if missing, if found then
doing so does nothing given cmake will overwrite it.
If no version/tag, the source/CMakeLists.txt acts on this comment:
"# shared library is not installed if a tag is not found"
Closes: https://bugs.gentoo.org/812398
Closes: https://bugs.gentoo.org/814116
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-libs/x265/x265-9999.ebuild')
-rw-r--r-- | media-libs/x265/x265-9999.ebuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media-libs/x265/x265-9999.ebuild b/media-libs/x265/x265-9999.ebuild index e956de4eab01..3e0116c5da00 100644 --- a/media-libs/x265/x265-9999.ebuild +++ b/media-libs/x265/x265-9999.ebuild @@ -161,6 +161,7 @@ multilib_src_configure() { $(multilib_is_native_abi || echo "-DENABLE_CLI=OFF") -DENABLE_PIC=ON -DENABLE_LIBNUMA=$(usex numa ON OFF) + -DGIT_ARCHETYPE=1 #814116 -DLIB_INSTALL_DIR="$(get_libdir)" ) |