diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-15 02:02:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-15 02:02:03 +0000 |
commit | 16a4365c3b854e62b50726456ddb29bb78fd5038 (patch) | |
tree | 6de11adc70daeb6424485bb16be162d2cb277018 /sys-devel/dwz | |
parent | 59d772d9463f8cf6a145a677bedbf377a0625aff (diff) |
gentoo auto-resync : 15:12:2024 - 02:02:03
Diffstat (limited to 'sys-devel/dwz')
-rw-r--r-- | sys-devel/dwz/Manifest | 3 | ||||
-rw-r--r-- | sys-devel/dwz/dwz-0.15-r3.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/dwz/dwz-0.15-r4.ebuild | 72 |
3 files changed, 75 insertions, 2 deletions
diff --git a/sys-devel/dwz/Manifest b/sys-devel/dwz/Manifest index 6775ac32b25c..57b4f585be50 100644 --- a/sys-devel/dwz/Manifest +++ b/sys-devel/dwz/Manifest @@ -3,6 +3,7 @@ AUX dwz-0.15-readelf.patch 1464 BLAKE2B c8a3752b116f7e79bef4e477e655ee3b490f8301 DIST dwz-0.15.tar.xz 150080 BLAKE2B 4ce1722a53cb588cda8195211a26b28d69891ed32cc59e44897270298d033590c79c8c73168dc3b261cb017fc12874a9cbd50db3bfaa0aa7de8ed7cf8a588cca SHA512 43eb4b08c1f529859dc3466697d5ad7e172d6efbf21409530a67a2492ae4acc3734d5134bbd6e07c089ecc358d915871b13e22f6e4f1dd4c3af19ef804f8fcc5 EBUILD dwz-0.15-r1.ebuild 956 BLAKE2B 3fb11a11462e40e0e0e7def587adb16c32ca1cd78b9142e0cf6534ee907473c3d4f3081e649520185bdb5cfe993ee45d330ecfda564babb76308cabe8423021e SHA512 caaf43ae1107261a09f655ad2c8fa3baa5d3081f56edad2339e1e14d0aea1d380fff36a43ba5b86f16d5f066bfc065c6800257f30bd80252f47545291f189492 EBUILD dwz-0.15-r2.ebuild 1009 BLAKE2B 41e4456b525565f80b329324cb8b7b677aeb9cbcb58c48f6c6dacc551db25cdfa9436e66556a34141bca446bcd70e7904c3de165b3c703938d2ae7ccba8a9e1a SHA512 b2fa29bcc407fe171e1bb1852e1603c214e9d8a50d8461793cf8e819419209fbb39f433049922dec3ad3f88dafed6449a475c05f502a67dc8d038feeea127f74 -EBUILD dwz-0.15-r3.ebuild 1441 BLAKE2B 5ef84265ea0a1e085c2d3039ed50968250a687f0f652ba87146f1127526daeb7ebc2b82615532cd5e84399c669996578ec686f5a5242fe2eec8c728e8ed0ebb1 SHA512 ce81e6ed4868e394665acc09e3d6198e22ca87c4fa2315e0a75d213ece3bd2349753f8b8033bbd1a5e880c821ef7c1f82442afcfce33dfd7de43c0e02e8f3952 +EBUILD dwz-0.15-r3.ebuild 1446 BLAKE2B b7ee8de4a4f118d99992c54c6698479b36db1e2edf45e1f323b702d2a7a8f5b61c1e2a370e8e0739a209ceb8b022d73b4056f070aeec0a20f79c8e39817fce56 SHA512 5f2973e9c23edc603fb3a9ed8e6a494cec74a1140779439d7bfafed83c78d09b1a4c0ef3a13f3db6a7c59269cba51d2113562bb531190ae0ae74e228614a87bd +EBUILD dwz-0.15-r4.ebuild 1481 BLAKE2B e1b6304f847560cf36180aac08a2685a6661385d3500ef537fc80f1310c84ec912fdd8159669e8e2491f8c7091db2d1ebe927c78e993fdeed896585e94383e7b SHA512 243b2a9e746649e57c2c142a188084e7f982fec19d448a8bf5eef2f3498117ea4a6e52af5eb31525b2f4f09de4dfe5a71759a36a62bbf29c0f29b56f3c414e9a EBUILD dwz-9999.ebuild 963 BLAKE2B 736f7ac3e494d12db8caa8ae9b4011d1e9ba3678fcd0375891f549ae0a00f5069d4c09432fc406d74782679076da5e434f46bffcd86343fda4379d43240210a2 SHA512 1d2526e00c53e10fd3cf1472fc83aac068870ed83afcd6e169fa86af1ac0ddb4489233df1b68024ac20df87efae3383d5af52ccd83422dd2464f340895a43c0f MISC metadata.xml 812 BLAKE2B abd6e645ab8cf502bfb6b90cd5712ff43d22a4e17ed7a2025bfbb16407a907b6b482497ce060ffb55b250a441fcbc495a37cb540b9d1152ed42dbdbbb4b074ca SHA512 7dea9a490d130dc0a03291b01000f38b880be517c13d762a6b6ac82e7313375c0dc5c0506ead51dd6789e72ffc612ade73e734456bfa8696777ede3f90dd6394 diff --git a/sys-devel/dwz/dwz-0.15-r3.ebuild b/sys-devel/dwz/dwz-0.15-r3.ebuild index c3edf6b147e7..3773c9782abd 100644 --- a/sys-devel/dwz/dwz-0.15-r3.ebuild +++ b/sys-devel/dwz/dwz-0.15-r3.ebuild @@ -27,7 +27,7 @@ RDEPEND=" dev-libs/elfutils dev-libs/xxhash elibc_musl? ( - sys-libs/error-standalone + <sys-libs/error-standalone-2.0 sys-libs/obstack-standalone ) " diff --git a/sys-devel/dwz/dwz-0.15-r4.ebuild b/sys-devel/dwz/dwz-0.15-r4.ebuild new file mode 100644 index 000000000000..4a04a9c3a97b --- /dev/null +++ b/sys-devel/dwz/dwz-0.15-r4.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="DWARF optimization and duplicate removal tool" +HOMEPAGE="https://sourceware.org/dwz" +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://sourceware.org/git/dwz.git" + inherit git-r3 +else + SRC_URI="https://sourceware.org/ftp/dwz/releases/${P}.tar.xz" + S="${WORKDIR}/${PN}" + + #KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +fi + +LICENSE="GPL-2+ GPL-3+" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/elfutils + dev-libs/xxhash + elibc_musl? ( + >=sys-libs/error-standalone-2.0 + sys-libs/obstack-standalone + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( + dev-debug/gdb + dev-libs/elfutils[utils] + dev-util/dejagnu + ) + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${P}-gdb-15.patch + "${FILESDIR}"/${P}-readelf.patch +) + +src_prepare() { + default + tc-export CC +} + +src_compile() { + tc-export PKG_CONFIG + + export LIBS="-lelf" + if use elibc_musl; then + export CFLAGS="${CFLAGS} $(${PKG_CONFIG} --cflags obstack-standalone error-standalone)" + export LIBS="${LIBS} $(${PKG_CONFIG} --libs obstack-standalone error-standalone)" + fi + + emake CFLAGS="${CFLAGS}" LIBS="${LIBS}" srcdir="${S}" +} + +src_test() { + emake CFLAGS="${CFLAGS}" LIBS="${LIBS}" srcdir="${S}" check +} + +src_install() { + emake DESTDIR="${D}" CFLAGS="${CFLAGS}" LIBS="${LIBS}" srcdir="${S}" install +} |