From b426a5cef3f0ebe3389686a1c145a834d3a1e120 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 9 Sep 2022 10:40:04 +0100 Subject: gentoo auto-resync : 09:09:2022 - 10:40:04 --- dev-libs/liboil/Manifest | 2 +- dev-libs/liboil/liboil-0.3.17-r3.ebuild | 69 --------------------------------- dev-libs/liboil/liboil-0.3.17-r4.ebuild | 68 ++++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+), 70 deletions(-) delete mode 100644 dev-libs/liboil/liboil-0.3.17-r3.ebuild create mode 100644 dev-libs/liboil/liboil-0.3.17-r4.ebuild (limited to 'dev-libs/liboil') diff --git a/dev-libs/liboil/Manifest b/dev-libs/liboil/Manifest index 751357ed8679..1b1942b0624e 100644 --- a/dev-libs/liboil/Manifest +++ b/dev-libs/liboil/Manifest @@ -1,5 +1,5 @@ AUX liboil-0.3.17-amd64-cpuid.patch 1040 BLAKE2B 4cf2a34250d08175c7bf466b93fea90c0b4a793561b127a8658ab4bfa354cd8ad5124655a305ae6f4437c504092492151b18b02c7c32fbacafebc8608bd5e82c SHA512 f77100d5e8270cd137b3061904009c8f9f37648e85fa2d82bbeec08d58886dc7a8544a39331ad7854b9db17890092944a74ca12fadc73c24fbc40feacfc50e73 AUX liboil-0.3.17-x32.patch 7762 BLAKE2B f3402d64fa9ef13e488aa07d7565782b38e585e7ab73e8c6d4c33882ba138734c1369b87ec549850f9cd9b9d2a85cfd0e3972eb038863c1b632fc5ad2c34a9fa SHA512 83201a8a03a3785f228d9bff916928d80fdbf8abeaa27f715956c09b2a2eaffcffcda97e680abbb7b29b3f207531ee935489c1f226796a34968284751ffbd8d5 DIST liboil-0.3.17.tar.gz 912563 BLAKE2B c7ad7cc4db422fd2a3fd2be01b81a8a2f4c9acbc7407955e30b8ca6d39b79a235f383b4897e01a51a9ed47f4476e321a0bd6522951a125acc2da85f38ea40770 SHA512 26f60d37af8aae435ff17f2aa852a4e52cebd96ef7be04cb4dc14c61bc42160e333e317e5b33f05f6d4b6c819b15c4ecd1d4c03018515252daea26dd4ed60145 -EBUILD liboil-0.3.17-r3.ebuild 1745 BLAKE2B fbea1004b30ef54222e46199ad6327993627ff66ba081b694b99ea17053f24ac93ea8c4333ea9b32d5b6a51e226c30908e35278756b2a981d6d9bb3180a66e09 SHA512 cdf065a30a8cdc71fdcb5bbcf26891949e6031e21067bf6abeeb67d65093c2f35b849d35ec46266f36665ef2f1bde4f903638ef74bb07f32dc34f37596ed0402 +EBUILD liboil-0.3.17-r4.ebuild 1612 BLAKE2B 2a9486c0f8ea7bd8c9d651c7513c18e1763e6e9a049c71053de6d465e75fef799c9d7960fd3d41fc1bafcd24afc8aa1e8bd5e0d021499cc3532587445315d088 SHA512 84c201f2a80c35f816fd9c69bd5da10afe8e9fd61fec6948b31aaa925a77d7e0d4c52c6689c2f2b47dd3eceaf9721cc0a0cc08cb941680d48c2971eb31856253 MISC metadata.xml 229 BLAKE2B 35bd897953d3051382021de0742162ed1a166c98224fec04fc54dc467dfe5492289b1da910ae9213259b20a0bd5bbffc041624ccb3aacc23b56de2c397861d7d SHA512 7340f6b8c0a938920b7940a288c212e868ae0d8cb18b97c028e6e959f72f94e35f37a2d864bb662fc1d01b43bd7b72efdcbcc5d48e700aaf8c845eb6b9d67fed diff --git a/dev-libs/liboil/liboil-0.3.17-r3.ebuild b/dev-libs/liboil/liboil-0.3.17-r3.ebuild deleted file mode 100644 index 35619ad3a606..000000000000 --- a/dev-libs/liboil/liboil-0.3.17-r3.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic multilib-minimal - -DESCRIPTION="Library of simple functions that are optimized for various CPUs" -HOMEPAGE="https://liboil.freedesktop.org/" -SRC_URI="https://liboil.freedesktop.org/download/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0.3" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="+examples test" -RESTRICT="!test? ( test )" - -RDEPEND="examples? ( dev-libs/glib:2 )" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-util/gtk-doc-am - virtual/pkgconfig" - -PATCHES=( "${FILESDIR}"/${P}-amd64-cpuid.patch ) - -src_prepare() { - has x32 $(get_all_abis) && PATCHES+=( "${FILESDIR}"/${PN}-0.3.17-x32.patch ) - default - - if ! use examples; then - sed "s/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/" \ - -i Makefile.in || die - fi - - if ! use test; then - sed "s/^\(SUBDIRS =.*\)testsuite\(.*\)$/\1\2/" \ - -i Makefile.in || die - fi -} - -src_configure() { - strip-flags - filter-flags -O? - append-flags -O2 - - # For use with Clang, which is the only compiler on OSX, bug #576646 - [[ ${CHOST} == *-darwin* ]] && append-flags -fheinous-gnu-extensions - - multilib_src_configure() { - ECONF_SOURCE="${S}" econf --disable-static - } - multilib-minimal_src_configure -} - -multilib_src_install_all() { - einstalldocs - dodoc BUG-REPORTING HACKING - - # no static archives - find "${ED}" -name '*.la' -delete || die -} - -pkg_postinst() { - if ! use examples; then - ewarn "You have disabled examples USE flag. Beware that upstream might" - ewarn "want the output of some utilities that are only built with" - ewarn "USE='examples' if you report bugs to them." - fi -} diff --git a/dev-libs/liboil/liboil-0.3.17-r4.ebuild b/dev-libs/liboil/liboil-0.3.17-r4.ebuild new file mode 100644 index 000000000000..aa2946547264 --- /dev/null +++ b/dev-libs/liboil/liboil-0.3.17-r4.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic + +DESCRIPTION="Library of simple functions that are optimized for various CPUs" +HOMEPAGE="https://liboil.freedesktop.org/" +SRC_URI="https://liboil.freedesktop.org/download/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0.3" +KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="+examples test" +RESTRICT="!test? ( test )" + +RDEPEND="examples? ( dev-libs/glib:2 )" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/gtk-doc-am + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${P}-amd64-cpuid.patch ) + +src_prepare() { + [[ ${CHOST} == *x32 ]] && PATCHES+=( "${FILESDIR}"/${PN}-0.3.17-x32.patch ) + + default + + if ! use examples; then + sed "s/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/" \ + -i Makefile.in || die + fi + + if ! use test; then + sed "s/^\(SUBDIRS =.*\)testsuite\(.*\)$/\1\2/" \ + -i Makefile.in || die + fi +} + +src_configure() { + strip-flags + filter-flags -O? + append-flags -O2 + + # For use with Clang, which is the only compiler on OSX, bug #576646 + [[ ${CHOST} == *-darwin* ]] && append-flags -fheinous-gnu-extensions + + default +} + +src_install() { + default + + dodoc BUG-REPORTING HACKING + + # No static archives + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + if ! use examples; then + ewarn "You have disabled examples USE flag. Beware that upstream might" + ewarn "want the output of some utilities that are only built with" + ewarn "USE='examples' if you report bugs to them." + fi +} -- cgit v1.2.3