commit: d34259d5821e69009bc150272f833f9ca7b6fc84 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Dec 1 10:41:56 2017 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Dec 1 23:40:36 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d34259d5
sys-libs/llvm-libunwind: Bump to 5.0.1_rc2 sys-libs/llvm-libunwind/Manifest | 1 + .../llvm-libunwind/llvm-libunwind-5.0.1_rc2.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest index cfc1e8ceaed..418cfac5306 100644 --- a/sys-libs/llvm-libunwind/Manifest +++ b/sys-libs/llvm-libunwind/Manifest @@ -3,3 +3,4 @@ DIST libunwind-3.9.0.src.tar.xz 61764 SHA256 66675ddec5ba0d36689757da6008cb2596e DIST libunwind-3.9.1.src.tar.xz 61788 SHA256 0b0bc73264d7ab77d384f8a7498729e3c4da8ffee00e1c85ad02a2f85e91f0e6 SHA512 a80f5d0660e209f5bf709316b5df2ca63b9f0db49f5f74dfe9c9e580c654f61a15acc071a739fdb84baf5ffa9420b92498f8560331173642d80f6b74e1e2afb7 WHIRLPOOL d79928771468e344bd4c73ec458f4994fbfa04b4f625e559f3ef20c75d504d06f8edc1051d1444d8b4260f253716333ecd4bc7a18e8aca822dd77245a5a99ac2 DIST libunwind-4.0.1.src.tar.xz 63388 SHA256 3b072e33b764b4f9b5172698e080886d1f4d606531ab227772a7fc08d6a92555 SHA512 8a0552a8ab830010d81420f4b778a3b831bff85b19bcce972958fc30e1ba5a2fa26a3deba499985a43dd7a103690775f6a20e7b3edda55f4eaff3541002d6b59 WHIRLPOOL 2544b14afb6a2d545ed68c267389e7438c3dd4d244dd1cce8583f2aba2e90017a027c27c87a9a7336ea3c5ada3388414d4e357ad1c1db0d23ee52b178f45b563 DIST libunwind-5.0.0.src.tar.xz 72236 SHA256 9a70e2333d54f97760623d89512c4831d6af29e78b77a33d824413ce98587f6f SHA512 20d54d5342d67425f5e36e9c690f1bb67bc2a3b7184b3ad546b689e510728d7c596f178d4f5186daf7480409ed4e455848b4ad1d9d896370fac1db69885fc793 WHIRLPOOL 0ecdf40e6cde7012f6949015b5030a4206b2c0d293159864466b58a9f34b193245daf90c95417b66e3c15191b1418a94b65893efbe216d144a4de4ffb6107925 +DIST libunwind-5.0.1rc2.src.tar.xz 72024 BLAKE2B af3644806722f1ffd844b4ba4c6d14e249b421fdd5b3acc1cfbfc3a421e76993305121fef044163384274cfd31f4b83e88c456d05ad0c9cff0036d4e6e4be95a SHA512 ab95a87ed35f8ae07702bbd58afee4adb7ecae039c41da86d389d0a8584fee830dfb3ac34f1783b878b86b1d0ec43845141dd9cc727940da68079711e8dfa2c1 diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-5.0.1_rc2.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-5.0.1_rc2.ebuild new file mode 100644 index 00000000000..c7915c92206 --- /dev/null +++ b/sys-libs/llvm-libunwind/llvm-libunwind-5.0.1_rc2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +: ${CMAKE_MAKEFILE_GENERATOR:=ninja} +# (needed due to CMAKE_BUILD_TYPE != Gentoo) +CMAKE_MIN_VERSION=3.7.0-r1 +inherit cmake-multilib llvm + +DESCRIPTION="C++ runtime stack unwinder from LLVM" +HOMEPAGE="https://github.com/llvm-mirror/libunwind" +SRC_URI="http://prereleases.llvm.org/${PV/_//}/libunwind-${PV/_/}.src.tar.xz" + +LICENSE="|| ( UoI-NCSA MIT )" +SLOT="0" +KEYWORDS="" +IUSE="debug +static-libs" + +RDEPEND="!sys-libs/libunwind" +# LLVM 4 required for llvm-config --cmakedir +DEPEND=">=sys-devel/llvm-4" + +S=${WORKDIR}/libunwind-${PV/_/}.src + +# least intrusive of all +CMAKE_BUILD_TYPE=RelWithDebInfo + +multilib_src_configure() { + local libdir=$(get_libdir) + + local mycmakeargs=( + -DLLVM_LIBDIR_SUFFIX=${libdir#lib} + -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug) + -DLIBUNWIND_ENABLE_STATIC=$(usex static-libs) + ) + + cmake-utils_src_configure +} + +multilib_src_install() { + cmake-utils_src_install + + # install headers like sys-libs/libunwind + doheader "${S}"/include/*.h +}