diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-01 00:07:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-01 00:07:06 +0100 |
commit | 1551fe56fd6ba43a94509cffc61b6bf854b7ac9f (patch) | |
tree | be99b6ceb874878a108d68c641b476a2df076517 /dev-util/uftrace | |
parent | 0e2a727aba684f1a44cc0402a3f77d242140681b (diff) |
gentoo auto-resync : 01:06:2024 - 00:07:06
Diffstat (limited to 'dev-util/uftrace')
-rw-r--r-- | dev-util/uftrace/Manifest | 2 | ||||
-rw-r--r-- | dev-util/uftrace/uftrace-0.16.ebuild | 73 |
2 files changed, 75 insertions, 0 deletions
diff --git a/dev-util/uftrace/Manifest b/dev-util/uftrace/Manifest index dfc3c2e175eb..1cff6dfd8e77 100644 --- a/dev-util/uftrace/Manifest +++ b/dev-util/uftrace/Manifest @@ -1,5 +1,7 @@ DIST uftrace-0.14.tar.gz 1192139 BLAKE2B 81c83581351fc8b8302c312ad0a4d84a9f19c0db9253b31de6f2bb7e507aa8540eaab494ae1b52de3fd10baa4f2b658403676f1f53eeecb14f03c765b6fc98d0 SHA512 35fd121d0d0ac738a841deb470dd48b0a1a8a3d711b36463eddbbd8fc70122c76c5b5158ad2e92bd6a0b68f4bbe51c6957f4473f8b5be7ec82a9b962d31ffc5b DIST uftrace-0.15.2.tar.gz 1153687 BLAKE2B f9c4d7bb98b284534a96418d9d4adcee4b32b6b013052bbc6f34850ecc9262706e8e6fe79b2dfca88aaab5432c586e24ad783cdc50cf38792b8d758af2051295 SHA512 218072fc2a8c04c29b6ecbd61638db8824b0235cdb5e106e92e8fbe940fdb59d18c96c6b56830baa55b5dcda9f689a71755161313b101c6783c54be5c294993b +DIST uftrace-0.16.tar.gz 1157903 BLAKE2B d79471cc1780f52983adfd40fa726190a70a0ecff900a9059d6963cd893f93c679f3626dd388b5dc17b7cc94a276a086b29b1398fd1270f593d49e5919eae650 SHA512 509fc42369cd495fb12e492b6c7726b0f26fa22bcb87452efc36b232a4bf999ff08c69829ad413ecf2c194e3564cf89f7634cfa03d0427926ee62aa957bacd5b EBUILD uftrace-0.14.ebuild 1502 BLAKE2B 56acc5ad80bc0a41b0ea642e49971c142b35fef2c933c47d2ac88eb19a9846eac1233704d28587f61785a03a16ae719be6e705fd25d7a35d6c42896099e81734 SHA512 10b3d487a87992c5abea9898896dcbee43ac5b4f5997e662ad27cf40e56fdcfaf57120ccfe82672c799dc3d13a90b03677e4761e87bbc5e3a0e45d4fcc110e47 EBUILD uftrace-0.15.2.ebuild 1503 BLAKE2B 208cd3610a829c786265cb677e5009cd12395d4c3b671c3718e3ac32d8ac5b7ecf8f3898e104378c921db2969d5adc419952db9339257ff34b8be1126a16c21c SHA512 95e8631cd3f2876c11e350044a8392eb206d1a06abdd1efee393f384119a5ef90da11b9096127773fa761871081dd970638a56d8c2517dddcc40d901a90687e5 +EBUILD uftrace-0.16.ebuild 1503 BLAKE2B f36b07d4fe57a6e708b717325f52e344a733f1a70275abf32bd5071966b9a8c437bb3f5820e3eaf5a4a8955ce4f74b485327eef630defd18b9bd89116ee0329f SHA512 5a9399e3941dd625f1324f575cce55c3dddb5550ec75ddc6bc9c55478756ab450049cb2116b217913b4568e49f81ce893a93dbaaf67c4ea8eec1136220eadf22 MISC metadata.xml 439 BLAKE2B 5164074d22c56fcba8f0677446484c392c347058c444e3f2760cc1e6d17e07406741f80a525ba99b575dca2d9347fe3b13b82fe5aa79bc734add9806695a5fe2 SHA512 d6e0f7ab729d6088748d5efe5c88910355f5ab7e70308b3b24f8cd27956b0ee21f8ff8bce18f9969694bd4677c229fe80317735de63e9a80b4dca638738dbe5d diff --git a/dev-util/uftrace/uftrace-0.16.ebuild b/dev-util/uftrace/uftrace-0.16.ebuild new file mode 100644 index 000000000000..05d2c5669a91 --- /dev/null +++ b/dev-util/uftrace/uftrace-0.16.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( luajit ) +PYTHON_COMPAT=( python3_{9..13} ) + +inherit bash-completion-r1 flag-o-matic lua-single python-single-r1 toolchain-funcs + +DESCRIPTION="Function (graph) tracer for user-space" +HOMEPAGE="https://github.com/namhyung/uftrace" +SRC_URI="https://github.com/namhyung/uftrace/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="capstone lua python unwind" + +REQUIRED_USE=" + lua? ( ${LUA_REQUIRED_USE} ) + python? ( ${PYTHON_REQUIRED_USE} ) +" + +RESTRICT="test" + +RDEPEND=" + sys-libs/ncurses:= + virtual/libelf:= + capstone? ( dev-libs/capstone:0= ) + lua? ( ${LUA_DEPS} ) + python? ( ${PYTHON_DEPS} ) + unwind? ( sys-libs/libunwind:= ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + default + sed -i -e "s/ARCH/MYARCH/g" -e "/ldconfig/d" -e "/bash.completion/d" Makefile || die +} + +src_configure() { + # bug #858503 (https://github.com/namhyung/uftrace/issues/1343) + filter-lto + + local myconf=( + --libdir="${EPREFIX}/usr/$(get_libdir)/uftrace" + $(use_with capstone) + $(use_with unwind libunwind) + $(use_with python libpython) + ) + if use lua && use lua_single_target_luajit; then + myconf+=( + --with-libluajit + ) + else + myconf+=( + --without-libluajit + ) + fi + CC="$(tc-getCC)" LD="$(tc-getLD)" econf "${myconf[@]}" +} + +src_compile() { + emake V=1 +} + +src_install() { + default + + dodoc doc/*.{md,gif,png} + newbashcomp misc/bash-completion.sh uftrace +} |