From c5572b13d51970d6603acd131f27991cc1b66a79 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 19 Nov 2022 07:00:00 +0000 Subject: gentoo auto-resync : 19:11:2022 - 07:00:00 --- dev-libs/libtracefs/Manifest | 2 ++ dev-libs/libtracefs/libtracefs-1.6.1.ebuild | 53 +++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 dev-libs/libtracefs/libtracefs-1.6.1.ebuild (limited to 'dev-libs/libtracefs') diff --git a/dev-libs/libtracefs/Manifest b/dev-libs/libtracefs/Manifest index 3328a8462d62..7e0403accc33 100644 --- a/dev-libs/libtracefs/Manifest +++ b/dev-libs/libtracefs/Manifest @@ -3,7 +3,9 @@ AUX libtracefs-1.4.2-fix-test.patch 257 BLAKE2B 80d8dab428f5d2e4a8124437c8468c6c DIST libtracefs-1.3.1.tar.gz 175453 BLAKE2B d9801c9f50513a8b2d2de57f768aec69c3e47b4c41ba1e887b28465d3a0a6bf10e5d2c60f81615615176bdb65e10ef7e2b7dee5cbb214705cc69e55bb923231c SHA512 1d8423ff1033a4ab601dd8e9fa4a801c27425234505070733641c8c9a4dd382cc6563d3fde89958f18e0bc95e2cbbdf65e69a2935fe208d5de9fd3ac26374ec1 DIST libtracefs-1.4.2.tar.gz 178382 BLAKE2B a956423370077613417812ad18da284521e8798701d558f4e419af6c43bd8a06c489525bbab26e6bc5d5d5e8fd0e6a7322d34f976a4ea560670eb594818d07fc SHA512 4a66c3cf8050de5acc4c63996cbcfa2c014e26ad6011eb89b0cff47ffbd6343637009354edf6bb173b9fd08103012774376c33fd6f642741f7990f2d6de3ea0c DIST libtracefs-1.5.0.tar.gz 179569 BLAKE2B d69d4bb2c9cbf6dd971afaad280534ce8af4982ca76c7b12cb8432f56a01d622a5d58c827cfe86537e5db2a416ab1092c95309b77b766b183266e1ad22ad8d13 SHA512 5e936a788473c0eb373144231ef9ac139ae53b4685053dfed74157a9432d429f35b70290607679eae9f44fd858d2102a02c3beac35d8de35d856c3c1001644d3 +DIST libtracefs-1.6.1.tar.gz 193086 BLAKE2B 53f6740c7f06e1d618594e03ec7fbda273bbeb87bfda67acfad1e1670fd69670187c7267af1abcd1502c338499dc8d4ffe28a213b3ad17ff5a6e2b435c1c242f SHA512 9fa9b470869bdc0134cc72eb7a9e0131638c3416d24e403c7fc819d49a5e521ca8c852ece4ac87d6a744c32846a2567c44c1e3b8b329f77db2d89e57c9e36340 EBUILD libtracefs-1.3.1.ebuild 1391 BLAKE2B 28d81702b711190ddfa0b62a322ab222566c1ecd7185df38e1c30a57910e976f5c7fa42aa32b322934585cdb35d9936a0736e00c5674107ee58629dada2db684 SHA512 566dbbba263d368be4c3ddcc406025bde03f92555d1717bf958a6b71d3833bffea0bb68b3dfe4b50a542108522663e4fc549473379e7447061c2ddd90ea1bbb2 EBUILD libtracefs-1.4.2.ebuild 1387 BLAKE2B b81fac4348de3bc92044a17bca680c836902a935804d8062156962bb5f9db5125631c28c61d11afe62a6349b34365a8918c1c78f4c419ff1bb34443b6699e0b9 SHA512 f7ed18ce5665c6d37a7148ff4ce3e9ac550f448c8a5699f9c346490c1624ed0ff584943c13cab52f2a2f29929a21d58abf8248db60c6f9aa57edb8f21ebf4b75 EBUILD libtracefs-1.5.0.ebuild 1332 BLAKE2B e04d00b575e72204012ed76e0747e7a8f4f097679bbdf4c6b567f34978348ba1b05cd3dc626e93c030f4ae8a8c283cf68ade51036d68ff8a00df9ef1fcc90bd2 SHA512 c1e5ddbf5861db37d3f760acb9b02664fff89ff9d3abec944ea9bfe28b185353018d894d1abf82a9bead0ba09e9654b4cf60d4890395ed964bbfd502bfa1c847 +EBUILD libtracefs-1.6.1.ebuild 1332 BLAKE2B e04d00b575e72204012ed76e0747e7a8f4f097679bbdf4c6b567f34978348ba1b05cd3dc626e93c030f4ae8a8c283cf68ade51036d68ff8a00df9ef1fcc90bd2 SHA512 c1e5ddbf5861db37d3f760acb9b02664fff89ff9d3abec944ea9bfe28b185353018d894d1abf82a9bead0ba09e9654b4cf60d4890395ed964bbfd502bfa1c847 MISC metadata.xml 363 BLAKE2B e7330c25a8a87a9811793ee730e7822000fdf1cbdda003302e5d542118204d905583a4acd07a5f37a15952bbe6265ff606d44978db823905c724b5f142d5d2ae SHA512 7be0cfa3fd15ef0cfc0647c73d69a7efc5f00d8b7f9d85c6092326d638132e7f989b855fe5f3bd9ab770e860e7858f8d462f8727b9ddeee64a0c44f7e66acf9c diff --git a/dev-libs/libtracefs/libtracefs-1.6.1.ebuild b/dev-libs/libtracefs/libtracefs-1.6.1.ebuild new file mode 100644 index 000000000000..440403770349 --- /dev/null +++ b/dev-libs/libtracefs/libtracefs-1.6.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Linux kernel trace file system library" +HOMEPAGE="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/" + +if [[ ${PV} =~ [9]{4,} ]]; then + EGIT_REPO_URI="git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/" + inherit git-r3 +else + SRC_URI="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="doc" +RDEPEND=" + >=dev-libs/libtraceevent-1.3.0 +" +DEPEND="${RDEPEND}" +# source-highlight is needed, see bug https://bugs.gentoo.org/865469 +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/xmlto app-text/asciidoc dev-util/source-highlight ) +" + +src_configure() { + EMAKE_FLAGS=( + "prefix=${EPREFIX}/usr" + "libdir=${EPREFIX}/usr/$(get_libdir)" + "CC=$(tc-getCC)" + "AR=$(tc-getAR)" + VERBOSE=1 + ) +} + +src_compile() { + emake "${EMAKE_FLAGS[@]}" + use doc && emake doc +} + +src_install() { + emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install + # can't prevent installation of the static lib with parameters + rm "${ED}/usr/$(get_libdir)/libtracefs.a" || die + # install-doc is wrong target, see https://bugs.gentoo.org/865465 + use doc && emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install_doc +} -- cgit v1.2.3