diff options
Diffstat (limited to 'dev-util/babeltrace')
-rw-r--r-- | dev-util/babeltrace/Manifest | 4 | ||||
-rw-r--r-- | dev-util/babeltrace/babeltrace-2.0.5.ebuild | 56 | ||||
-rw-r--r-- | dev-util/babeltrace/metadata.xml | 7 |
3 files changed, 66 insertions, 1 deletions
diff --git a/dev-util/babeltrace/Manifest b/dev-util/babeltrace/Manifest index 879b60fdb0d1..6eb7eccbc206 100644 --- a/dev-util/babeltrace/Manifest +++ b/dev-util/babeltrace/Manifest @@ -1,4 +1,6 @@ AUX babeltrace-1.5.8-slibtool.patch 4148 BLAKE2B e086dd6aee512a0d2cd3db63a33275dcabb129def9bbaff6cd1b081bed3dc7fcc99d3f645fe009f55db72b72e86b420c9c12757544f85bfe253b55e7940f4c81 SHA512 3a43c19309297838752181c1c4f1957b7fe93900e932410dc237c8d11b4cfa7a5044826e2f60e192dbfeb1fee46185508ed2fa093d62a200dd86ffd78e24a553 DIST babeltrace-1.5.8.tar.bz2 992610 BLAKE2B 3d47f9ba40b406271a0b35e441968718c93e8744f95b56f79acf8359001ebffb4966931f2860d48ced4f0d98261b37156564a0d798bf8d9e0ed465c05355cc5d SHA512 827749ae8507efd433bb97ef668628837a3ff15b5be5097af5621d46055c6f10401da0be1f9d9f843a96c8c307b33745e04284d166e275e03b7ddb0a7dd57e96 +DIST babeltrace2-2.0.5.tar.bz2 3252593 BLAKE2B 31a8f3c080e4a6b6e33c224ec4a64d5ff12724a5697954cb92b88c569d6f2019f49ddcb88f82d36be3007c7b5d1334370202d1c0e89122acf340a7cb9e399fa3 SHA512 63469cb0796c720b18bfc09569875eb9a44d2f8a776228bfa503af8ba613b2988b2d20be870f41451e5d6146a3dfb08de6284131d25f1a86137deb75c3a4d514 EBUILD babeltrace-1.5.8.ebuild 795 BLAKE2B ed86a7ec023ed5553b60359ed1d547c34711607d300fee95e1028c40117b31c9d92b81aad019f22c7a8c30a9ec96b9c88748b60e58fd053e2d25346d11391262 SHA512 b99ee491b62e70be6c93e92e2cf7d1f777912815cb19b002df70909168e3402d1e2eb69af2e25c01778a58b982b3e04b6e4509735d1a0c1d1a966c7381a2713e -MISC metadata.xml 391 BLAKE2B bcebbce1ba6b23ead6210c63ac3b62ddbede04417ec75359d1e18eee66a73abfe5a32d3af731246f2be7ed016d085f2787c4d5ff4892fa8acc724418d49531c0 SHA512 373361a5de42d71175b3358918c66d10e9ef5de64326ee60710d3db1853149d8b3b577c00d65262404e1e5ccf5a12d8c849a1e87e1f7726245ca1e70912fe6cb +EBUILD babeltrace-2.0.5.ebuild 1536 BLAKE2B 6abc49d624d5c77f8478a96f29265c119c05b251529cb326d50b818248bf787f21e8d25fafda7d6c715aad8a120de41976dbe92fb048c5dbbe9d737b66fd37d0 SHA512 cfdc39746010e76949deab46e49b434ac73d7f74360d6adf722a660f7ff8a973fd499fdc748b57bab2c0187f321d0aefe390b236e904b60c898f9e13f0e1e371 +MISC metadata.xml 678 BLAKE2B 0298ddf00050c55f360e4e02d9c590db5df5b9b6cfc6d2096685281cef84130a8003bdb9190215310aa955e30fcf6c3fb72eb301091ae9c4f0a3d29b55d9e627 SHA512 2bf5458672c71b4511e64eea1cee4324d245a8adc0bc43b9e9340e43b8a2826555bcceb80f37baf06c99deb60340a752478d033eb8a271ac79d9b86ed0a583cc diff --git a/dev-util/babeltrace/babeltrace-2.0.5.ebuild b/dev-util/babeltrace/babeltrace-2.0.5.ebuild new file mode 100644 index 000000000000..a2ef0478d2cc --- /dev/null +++ b/dev-util/babeltrace/babeltrace-2.0.5.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +inherit python-single-r1 + +DESCRIPTION="A command-line tool and library to read and convert trace files" +HOMEPAGE="https://babeltrace.org/" +SRC_URI="https://www.efficios.com/files/${PN}/${PN}$(ver_cut 1)-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0/$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="doc +elfutils +man plugins python" +REQUIRED_USE="plugins? ( python ) python? ( ${PYTHON_REQUIRED_USE} )" +S="${WORKDIR}/${PN}$(ver_cut 1)-${PV}" + +RDEPEND=">=dev-libs/glib-2.28:2 + elfutils? ( >=dev-libs/elfutils-0.154 ) + python? ( ${PYTHON_DEPS} ) +" + +BDEPEND="${RDEPEND} + >=sys-devel/bison-2.5 + >=sys-devel/flex-2.5.35 + python? ( + >=dev-lang/swig-3.0 + $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]' python3_12) + doc? ( >=dev-python/sphinx-1.3 ) + ) + doc? ( >=app-doc/doxygen-1.8.6 ) + man? ( + >=app-text/asciidoc-8.6.8 + >=app-text/xmlto-0.0.25 + ) +" + +src_configure() { + use python && export PYTHON_CONFIG="${EPYTHON}-config" + econf \ + $(use_enable doc api-doc) \ + $(use_enable elfutils debug-info) \ + $(use_enable man man-pages) \ + $(use_enable python python-bindings) \ + $(usex python $(use_enable doc python-bindings-doc) --disable-python-bindings-doc) \ + $(use_enable plugins python-plugins) \ + --disable-built-in-plugins \ + --disable-built-in-python-plugin-support +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-util/babeltrace/metadata.xml b/dev-util/babeltrace/metadata.xml index e19173f54746..4a8c91ec4791 100644 --- a/dev-util/babeltrace/metadata.xml +++ b/dev-util/babeltrace/metadata.xml @@ -5,4 +5,11 @@ <longdescription> Babeltrace is a command-line tool and library to read and convert trace files to and from different formats. It supports the CTF format, which is outputted by the LTTng 2.0 tracers. </longdescription> + <use> + <flag name="elfutils">Build the <pkg>dev-util/lttng-ust</pkg> debug information filter component class</flag> + <flag name="plugins">Build support for Babeltrace 2 Python plugins</flag> + </use> + <upstream> + <remote-id type="github">efficios/babeltrace</remote-id> + </upstream> </pkgmetadata> |