diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-23 04:04:37 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-23 04:04:37 +0100 |
commit | fd93fe10d9e6c855fed8e1524b2d2d64d2085570 (patch) | |
tree | ef70885add7d9276bc4f5e8b56c784bc974b3e0b /dev-libs | |
parent | a15e8dc7444560123d7d4be1bccb19afd5b611d0 (diff) |
gentoo auto-resync : 23:10:2024 - 04:04:36
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 101093 -> 101105 bytes | |||
-rw-r--r-- | dev-libs/level-zero/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/level-zero/level-zero-1.17.45.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/level-zero/level-zero-1.18.3.ebuild (renamed from dev-libs/level-zero/level-zero-1.17.42.ebuild) | 2 | ||||
-rw-r--r-- | dev-libs/libmodbus/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libmodbus/libmodbus-3.1.11.ebuild | 31 | ||||
-rw-r--r-- | dev-libs/libxmlb/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libxmlb/libxmlb-0.3.19.ebuild | 8 | ||||
-rw-r--r-- | dev-libs/nspr/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/nspr/nspr-4.36.ebuild | 176 |
10 files changed, 223 insertions, 8 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 7af2a2340d45..63d51aa43fd6 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/level-zero/Manifest b/dev-libs/level-zero/Manifest index 46fc4c9ab708..bc3b852110a1 100644 --- a/dev-libs/level-zero/Manifest +++ b/dev-libs/level-zero/Manifest @@ -1,5 +1,5 @@ -DIST level-zero-1.17.42.tar.gz 1152554 BLAKE2B a9b2054a620735490d1ff0f0a7e35e96bfe80531cf738e11ae3316bc0ce06108304e6f55ca57c2392a7854d7015bf2bcab93aa9778784ec546da41e174a08298 SHA512 c16c8269c82888c80c226e2e67641a3dbe0dd49b7e00ce5b2b8f90ab1233ac4bba1032f0b00c9dd702b85e1f635210bc383ec0c7e74651514ac104f5d9e8300c DIST level-zero-1.17.45.tar.gz 1152376 BLAKE2B 24ed5569431cd116808f48f2b718666baa8ecbdf0f69b56e7ca5a25fe5266cba48ba05c06946abd4a57562c8342aefc7f9c34b707435b793fe723412f64180d6 SHA512 83d97ffe43c21286a845bb9d11504414972c944d9b06975ba9e7680802a92a260b6246f3605ed32e5e5dec358972fbb5cab49543559dc36cb164a9c3b6a69d73 -EBUILD level-zero-1.17.42.ebuild 847 BLAKE2B 178c502c126bd22af06daba8f63f7ac2b5c808147017f3e2583d1fe0ff3ac6ed70b1bbc9c6d1e3935007be8304d0b09f125bffe15802272944363d846c4b4ab8 SHA512 6fcf7d58fed14661f1c5600dfe1a19bec1802453cb3b747d94ac8a8288f1b8ad9b4f0d3a470605aa18ee46005dc69dda442191d617d13d82dee62620533ce47a -EBUILD level-zero-1.17.45.ebuild 848 BLAKE2B 2a96f2e41da5a7b2fb463e9ef09bb0286fb5175685201df2ca0b6f59cfc0ffb2cd6e2116d9e42fb4abf9e0fc523349c66a513fb0ce137a1784910c131da56342 SHA512 c48c444f22d0e98e6dffe1342c0b6c404cf0964079106848cc2e92bdf878df1c602ad3b01afcd94970b4696833cb6c88926ab39a4831775deb17cf12094a04dc +DIST level-zero-1.18.3.tar.gz 1186811 BLAKE2B ded186ca410e6d261e5139c6e4a8e02fd31d34a2fe14a3cd973586c286ddf86af074480daeed840183c96e8ba83a82826a9b504a99ec253377f2e94ad3c60b5a SHA512 b881a81cd4d0c83db7d68cb41ba50729686cb923161aca4e5f0b75b7a4d143cf51636bd1b19decbec1d70d70e20ac4e6b11fa8c207b556a147c5425c87a4f2ef +EBUILD level-zero-1.17.45.ebuild 847 BLAKE2B 178c502c126bd22af06daba8f63f7ac2b5c808147017f3e2583d1fe0ff3ac6ed70b1bbc9c6d1e3935007be8304d0b09f125bffe15802272944363d846c4b4ab8 SHA512 6fcf7d58fed14661f1c5600dfe1a19bec1802453cb3b747d94ac8a8288f1b8ad9b4f0d3a470605aa18ee46005dc69dda442191d617d13d82dee62620533ce47a +EBUILD level-zero-1.18.3.ebuild 848 BLAKE2B 2a96f2e41da5a7b2fb463e9ef09bb0286fb5175685201df2ca0b6f59cfc0ffb2cd6e2116d9e42fb4abf9e0fc523349c66a513fb0ce137a1784910c131da56342 SHA512 c48c444f22d0e98e6dffe1342c0b6c404cf0964079106848cc2e92bdf878df1c602ad3b01afcd94970b4696833cb6c88926ab39a4831775deb17cf12094a04dc MISC metadata.xml 586 BLAKE2B 44eca05640a9276ea9cbddccc0d199dc8c7297a3fbf5ad6b58693c406961efa2aabf99501faaace47ce6bb97736fe371533e89a5a700949b03db66359222b269 SHA512 da9b222b216ed217842f236eeb1991e31ec4f140d86c0a048e9e401a18018d90d6ad8d4f10edec8b71386687bc9481ebf9154a1190bf6969d4fab04bba20100e diff --git a/dev-libs/level-zero/level-zero-1.17.45.ebuild b/dev-libs/level-zero/level-zero-1.17.45.ebuild index 4034c8711d28..68249c1101f3 100644 --- a/dev-libs/level-zero/level-zero-1.17.45.ebuild +++ b/dev-libs/level-zero/level-zero-1.17.45.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/oneapi-src/${PN}/archive/refs/tags/v${PV}.tar.gz -> LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="~amd64" +KEYWORDS="amd64" RDEPEND="dev-libs/spdlog:=" DEPEND="${RDEPEND}" diff --git a/dev-libs/level-zero/level-zero-1.17.42.ebuild b/dev-libs/level-zero/level-zero-1.18.3.ebuild index 68249c1101f3..4034c8711d28 100644 --- a/dev-libs/level-zero/level-zero-1.17.42.ebuild +++ b/dev-libs/level-zero/level-zero-1.18.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/oneapi-src/${PN}/archive/refs/tags/v${PV}.tar.gz -> LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="amd64" +KEYWORDS="~amd64" RDEPEND="dev-libs/spdlog:=" DEPEND="${RDEPEND}" diff --git a/dev-libs/libmodbus/Manifest b/dev-libs/libmodbus/Manifest index 97cac0ee46f9..e3acbbc7cf47 100644 --- a/dev-libs/libmodbus/Manifest +++ b/dev-libs/libmodbus/Manifest @@ -1,3 +1,5 @@ DIST libmodbus-3.1.10.tar.gz 463325 BLAKE2B ea1c54e52f0927e9e97b2303b35925d6a40b30f1eed881eeed2d05a229c858ebdde6212431699e24a331744b30f447dfe6704c7ca0d4eb73d193ae5b5055c4b3 SHA512 d9a56d2cd3285823b287b6bf4f79741f2e626e09cfc1872405a306e8dcc0f64c15695e8aee45614071c615cd248b87293ef2351c830120a515d28303bad0ccee +DIST libmodbus-3.1.11.tar.gz 478276 BLAKE2B 7fb6c5cc05bca71067b377211da78046abefb9bd74c8f0f0c567324ea7c874d7aa509e2d67f9a1fd9288719e87fdbca280cf4d5612e222f1ef0ef613b2fae988 SHA512 76192230c548640b0954b471aa5d346488115d0690bd932370814f442de56c4316002a5f0288f5955a4b396168ebe7c463a40a029e57df16c7fa4b3d83af6acb EBUILD libmodbus-3.1.10.ebuild 690 BLAKE2B adf47b3463e698daba8b23f060243ea71aa464252fad1e77c401647a1a20e71ee0c5b361410af6aabe8aa8803d30a08fcbf899458ce657cd8b59606824081115 SHA512 23ad79d565fa84c21a337a61405c6cf911e06f4f753092fd58f9b64f1a0cb6ec444601303f2290d405af031792a509e4ecafb803dff3723f237c21faa843e5fc +EBUILD libmodbus-3.1.11.ebuild 694 BLAKE2B 5f5ac1f409ec36b3a4e66d200f9483469c9dbae885f825bbe15688eefe1615e216de79efc720ef4d721dddef182285dda8e87eab53ab8ffc8016f117c3170437 SHA512 b82027ec78a24a96b26509beaa503b32224c8706b86a2f35f624b884605ecb5159675ee0331a959b8a2f1f7beb0953d9a7dd82f3f8f5cea70ff45af254adad96 MISC metadata.xml 400 BLAKE2B 13cbac9e5f8b0b4af1330ef236dff85b8d3f167cabb19979942fa610c525c9d0b532e5c6a359f716ab198872f622dbbbe9575fc1ab53f82b8abe8e4996e6d921 SHA512 248080a171c05cca240271d8dc3e7cd0b30e78100697dddf0a0d8216d4d0c42abc9c52731b0abaa5de9dbacf9c402ada6e1b406699b7eefdb0ede78717d587c5 diff --git a/dev-libs/libmodbus/libmodbus-3.1.11.ebuild b/dev-libs/libmodbus/libmodbus-3.1.11.ebuild new file mode 100644 index 000000000000..aef845307db2 --- /dev/null +++ b/dev-libs/libmodbus/libmodbus-3.1.11.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Modbus library which supports RTU communication over a serial line or a TCP link" +HOMEPAGE="https://libmodbus.org/" +SRC_URI="https://github.com/stephane/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="static-libs test" +RESTRICT="!test? ( test )" + +src_configure() { + local myeconfargs=( + $(use_enable test tests) + $(use_enable static-libs static) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die + fi +} diff --git a/dev-libs/libxmlb/Manifest b/dev-libs/libxmlb/Manifest index f29fe31bb714..78a1a642ac9c 100644 --- a/dev-libs/libxmlb/Manifest +++ b/dev-libs/libxmlb/Manifest @@ -1,3 +1,3 @@ DIST libxmlb-0.3.19.tar.gz 131490 BLAKE2B 1455e14a90f29865f304b16cbf0355966e7fd0766f8033cb2b2bc9fe28ad0a1266c1e06faaeb3677a683be56bc2fd9a64094d958f00358292fae55949229ab9a SHA512 07db2e99b2f78f6e99cccbf5ca250978955d5a9bf18aaa675b2292d1df438fc3f98a5d0e8ddcfa41e686782f35947fe92b54b520b4e6e278d6e5c871e7491271 -EBUILD libxmlb-0.3.19.ebuild 1595 BLAKE2B a61bc75f524bbfe634192836156c0e460351aad15fd1ce10f1222d5d5aabb0f2e4785d737761122681287867ebb2a617de00b4041b00d24788ee58a3a043e99f SHA512 9e3bf1d9cc0309060f40faffb352c927ad1037898be17ad435136407709151689c81a5e69edf4f096288046dbef53e00da03296ca4580d83e4564817691d2130 +EBUILD libxmlb-0.3.19.ebuild 1646 BLAKE2B 93ddb0bc0abda195ecb82e1db6aac19b385af502e8874b72d013b003f1e5d7083ee4e6dd434835266c0a766ff0c34488f25ebf2134cc0432747e1026e17fdc7f SHA512 7a9cca905f26201aa6424b2bdb60de683bb078f8c79139d1d66430c510daedd0768a8b9b948bc93dbd089564fb1c9ea51890d8b1dfbad4a39f9400e19738eb65 MISC metadata.xml 326 BLAKE2B e1946e0e73f0daf43e442294f2a795e8005d8ed3e15a76c8737c824cfc4f7b7e89417a129c32aad675ba423afe8aa41c15535bbfe519ea53443eab7077eeddee SHA512 3bacab766832b0080685dab70dbb6019d3a9af6f056af6e4d4c3fa4bea249e7379730ed6a5a45b3555e9e6d0d52c735b212b714c772b224c00f8c3c28845cef1 diff --git a/dev-libs/libxmlb/libxmlb-0.3.19.ebuild b/dev-libs/libxmlb/libxmlb-0.3.19.ebuild index 98fd9c028189..bfc46293970e 100644 --- a/dev-libs/libxmlb/libxmlb-0.3.19.ebuild +++ b/dev-libs/libxmlb/libxmlb-0.3.19.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit meson python-any-r1 @@ -42,7 +42,11 @@ BDEPEND=" " python_check_deps() { - python_has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]" + if use introspection ; then + python_has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]" + else + return 0 + fi } pkg_setup() { diff --git a/dev-libs/nspr/Manifest b/dev-libs/nspr/Manifest index 638e0b29dba8..3cd475561876 100644 --- a/dev-libs/nspr/Manifest +++ b/dev-libs/nspr/Manifest @@ -7,5 +7,7 @@ AUX nspr-4.8.4-darwin-install_name.patch 1046 BLAKE2B 1182149b03bd2c03fc4051bf98 AUX nspr-4.8.9-link-flags.patch 931 BLAKE2B 6aa6aa1cf3b856a95b7baa20f58e9ed83b8b29ccce37bab39e10e0e76c433ae5c79839b5f7f9bdaf8b2475c8e3692ff4a57c246dfa4e1fed6866ab284826ee0d SHA512 0bb61dc09d287f1324749c983404e1f03fdf7014fbbd32cc5abe452fc2f32b90b759d8f18d964a61da044b5a7221f5ba274d94c93c07c8a7359e3c937e44b975 AUX nspr-4.9.5_nspr_config.patch 251 BLAKE2B 65ae8b981e758e2955b7a3358f24b7b17dc1ef59f0e78f9fd9ddee740a4da3825bafea34f3900200b3f6edefed7d0797c194cb0339d4e36551615d599156108d SHA512 3f118b7142a19dcc7e26b348cec6029c78d585a57cc2bfc2ab7ca13d2ef953e576dab0ac044316e3165d0201bf27253afa732109f914da6f7a39f19facff8310 DIST nspr-4.35.tar.gz 1096974 BLAKE2B c80402d7be9e69ab6d1e768a18d271a8d28900f4cae7df2709d1ab26e100d908f508762bb771d4042aa7152934ce83d495e2102e894c56574187be8040d65629 SHA512 502815833116e25f79ddf71d1526484908aa92fbc55f8a892729cb404a4daafcc0470a89854cd080d2d20299fdb7d9662507c5362c7ae661cbacf308ac56ef7f +DIST nspr-4.36.tar.gz 1036274 BLAKE2B 369d851db0f425f0c6c3cdaeb333320860b77b49b40b77cc983998de3f9128f9d987f143e9f2ce155d609fb23f3f9ed0d0abe7d74e20c59763e2b9bdd1835817 SHA512 55d21e196508ad29a179639fc8006f44b04dc2c0b5a85895e727f0a4f0ea37aeeceb936e37ac6b271b882a18e9f06d96133a60f19cee6345f8424c1c66e270ee EBUILD nspr-4.35-r2.ebuild 5482 BLAKE2B cc0118ec6efb82e4cf1f67d65d08130f98e0fe40a26ad922058d31b9724b07f703f159c277ef001ed7795053dc9f913121adf22f14adc38dcdaf73721efddce9 SHA512 311cd72c4768e13e3cdedee4be49ea99d32628e8cb76ad92fff7a5c5eff55da960595ba8d846e70fe5d32cb19363c1e3473aaf04a73a317a298afbfb36d46b1c +EBUILD nspr-4.36.ebuild 5409 BLAKE2B cb6f3bbee07a8219dc13b531cbe5b1aa85655b2c06c8e7c4cdfbfdc4aa00ac88ce7e019be675874e96de242275d6090de571cb76b80dd2266a742afbd37ff418 SHA512 470f60655340e2a41057f9ec1f57b7a80299d40b6dc9da1a7e9013778aeed2ed1df55231522aee66d6034f30bc0495a92affd2220eed86c6b0691146beabfff6 MISC metadata.xml 350 BLAKE2B 0f4d7850a3ca725af4e01a47e4db4219d2465b6d4db8c44e12b8f57d2064fd3c6ddbeec16888a316627f96e1f9415777f3fedecbd7065e4d13516bbed473a6f6 SHA512 2cc7f3e6eefcb5ba16c4b2127e751c47ea7a6822eb71080c96c6850ef741acff8d424c520eb60288ca32ccdbe825568d7aced9f57148e304dddd0afb7f4a8883 diff --git a/dev-libs/nspr/nspr-4.36.ebuild b/dev-libs/nspr/nspr-4.36.ebuild new file mode 100644 index 000000000000..39addc5f2c9f --- /dev/null +++ b/dev-libs/nspr/nspr-4.36.ebuild @@ -0,0 +1,176 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic toolchain-funcs multilib-minimal + +MIN_PV="$(ver_cut 2)" + +DESCRIPTION="Netscape Portable Runtime" +HOMEPAGE="https://www.mozilla.org/projects/nspr/" +SRC_URI="https://archive.mozilla.org/pub/nspr/releases/v${PV}/src/${P}.tar.gz" + +LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +IUSE="debug" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/nspr-config +) + +PATCHES=( + "${FILESDIR}"/${PN}-4.7.1-solaris.patch + "${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch + "${FILESDIR}"/${PN}-4.8.9-link-flags.patch + # We do not need to pass -L$libdir via nspr-config --libs + "${FILESDIR}"/${PN}-4.9.5_nspr_config.patch +) + +QA_CONFIGURE_OPTIONS="--disable-static" + +src_prepare() { + cd "${S}"/nspr || die + + default + + if use elibc_musl; then + eapply "${FILESDIR}"/${PN}-4.21-ipv6-musl-support.patch + eapply "${FILESDIR}"/nspr-4.35-bgo-905998-lfs64-musl.patch + fi + + # rename configure.in to configure.ac for new autotools compatibility + if [[ -e "${S}"/nspr/configure.in ]] ; then + einfo "Renaming configure.in to configure.ac" + mv "${S}"/nspr/configure.{in,ac} || die + else + elog "configure.in rename logic can be removed from ebuild." + fi + + # We must run eautoconf to regenerate configure + eautoconf + + # make sure it won't find Perl out of Prefix + sed -i -e "s/perl5//g" "${S}"/nspr/configure || die + + # Respect LDFLAGS + sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \ + "${S}"/nspr/config/rules.mk || die +} + +multilib_src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/867634 + # + # Testsuite-only issue. Still, this makes it challenging to test the package with LTO + # enabled... + append-flags -fno-strict-aliasing + filter-lto + + # The build system overrides user optimization level based on a configure flag. #886987 + local my_optlvl=$(get-flag '-O*') + + # bgo #923802 + append-lfs-flags + + # We use the standard BUILD_xxx but nspr uses HOST_xxx + tc-export_build_env BUILD_CC + export HOST_CC=${BUILD_CC} HOST_CFLAGS=${BUILD_CFLAGS} HOST_LDFLAGS=${BUILD_LDFLAGS} + tc-export AR AS CC CXX RANLIB + [[ ${CBUILD} != ${CHOST} ]] \ + && export CROSS_COMPILE=1 \ + || unset CROSS_COMPILE + + local myconf=( --libdir="${EPREFIX}/usr/$(get_libdir)" ) + + # Optimization is disabled when debug is enabled. + if use debug; then + myconf+=( --enable-debug ) + else + myconf+=( --disable-debug ) + myconf+=( --enable-optimize="${my_optlvl}" ) + fi + + # The configure has some fancy --enable-{{n,x}32,64bit} switches + # that trigger some code conditional to platform & arch. This really + # matters for the few common arches (x86, ppc) but we pass a little + # more of them to be future-proof. + + # use ABI first, this will work for most cases + case "${ABI}" in + alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) ;; + n32) myconf+=( --enable-n32 );; + x32) myconf+=( --enable-x32 );; + s390x|*64) myconf+=( --enable-64bit );; + default) # no abi actually set, fall back to old check + einfo "Running a short build test to determine 64bit'ness" + # TODO: Port this to toolchain-funcs tc-get-ptr-size/tc-get-build-ptr-size + echo > "${T}"/test.c || die + ${CC} ${CFLAGS} ${CPPFLAGS} -fno-lto -c "${T}"/test.c -o "${T}"/test.o || die + case $(file -S "${T}"/test.o) in + *32-bit*x86-64*) myconf+=( --enable-x32 );; + *64-bit*|*ppc64*|*x86_64*) myconf+=( --enable-64bit );; + *32-bit*|*ppc*|*i386*) ;; + *) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";; + esac ;; + *) ;; + esac + + # Ancient autoconf needs help finding the right tools. + LC_ALL="C" ECONF_SOURCE="${S}/nspr" \ + ac_cv_path_AR="${AR}" \ + ac_cv_path_AS="${AS}" \ + econf "${myconf[@]}" +} + +multilib_src_test() { + # https://firefox-source-docs.mozilla.org/nspr/running_nspr_tests.html + cd "${BUILD_DIR}/pr/tests" || die + einfo "Building tests" + emake + + einfo "Running test suite" + ../../../${P}/${PN}/pr/tests/runtests.pl | tee "${T}"/${ABI}-tests.log + + # Needed to check if runtests.pl itself or the tee (somehow) failed + # (can't use die with pipes to check each component) + [[ ${PIPESTATUS[@]} == "0 0" ]] || die "Tests failed to run!" + + local known_failures=( + # network-sandbox related? + cltsrv + # network-sandbox related? + gethost + ) + + local known_failure + for known_failure in "${known_failures[@]}" ; do + sed -i -e "/${known_failure}.*FAILED/d" "${T}"/${ABI}-tests.log || die + done + + # But to actually check the test results, we examine the log. + if grep -q "FAILED" "${T}"/${ABI}-tests.log ; then + die "Test failure for ${ABI}!" + fi +} + +multilib_src_install() { + # Their build system is royally confusing, as usual + MINOR_VERSION=${MIN_PV} # Used for .so version + emake DESTDIR="${D}" install + + einfo "removing static libraries as upstream has requested!" + rm "${ED}"/usr/$(get_libdir)/*.a || die "failed to remove static libraries." + + # install nspr-config + dobin config/nspr-config + + # Remove stupid files in /usr/bin + rm "${ED}"/usr/bin/prerr.properties || die + + # This is used only to generate prerr.c and prerr.h at build time. + # No other projects use it, and we don't want to depend on perl. + # Talked to upstream and they agreed w/punting. + rm "${ED}"/usr/bin/compile-et.pl || die +} |