From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6F0C213934E for ; Sun, 25 Jul 2021 21:28:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91FCEE0DCC; Sun, 25 Jul 2021 21:28:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 65896E0DC6 for ; Sun, 25 Jul 2021 21:28:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 596C0342CF9 for ; Sun, 25 Jul 2021 21:28:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EAAD94A2 for ; Sun, 25 Jul 2021 21:28:25 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1627248497.1c773130cf8deda820fca8a35fcd0e42d8895a85.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pkgconf/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/pkgconf/Manifest dev-util/pkgconf/pkgconf-1.8.0.ebuild X-VCS-Directories: dev-util/pkgconf/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 1c773130cf8deda820fca8a35fcd0e42d8895a85 X-VCS-Branch: master Date: Sun, 25 Jul 2021 21:28:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 96fda7e4-602f-4c22-ac95-b356da387d8f X-Archives-Hash: eb51ad51610016b2d5f2cab1476e3b98 commit: 1c773130cf8deda820fca8a35fcd0e42d8895a85 Author: Lars Wendler gentoo org> AuthorDate: Sun Jul 25 21:26:45 2021 +0000 Commit: Lars Wendler gentoo org> CommitDate: Sun Jul 25 21:28:17 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c773130 dev-util/pkgconf: Bump to version 1.8.0 Signed-off-by: Lars Wendler gentoo.org> dev-util/pkgconf/Manifest | 1 + dev-util/pkgconf/pkgconf-1.8.0.ebuild | 85 +++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/dev-util/pkgconf/Manifest b/dev-util/pkgconf/Manifest index e9b0033d030..24bf37ff64f 100644 --- a/dev-util/pkgconf/Manifest +++ b/dev-util/pkgconf/Manifest @@ -1,3 +1,4 @@ DIST pkgconf-1.6.3.tar.xz 291216 BLAKE2B 04bf58590e2f0b37bac7b24b3d595ad08680e85647548cbd642495398d95706f9f738af5c6f9b9ad8801567caa20ade85d4c4d74179f08313420683cb1b34263 SHA512 437c5a5c9866e2047e62e0592639930b2420d4afd41d98cef51f3475165418a39e916477860025314828a6ee0a4eefc10fdf26bda66f80c291f324d9674fa5c1 DIST pkgconf-1.7.3.tar.xz 293148 BLAKE2B b0fdad9e86c7e2aaf5f268de779730e55e14d6f0ddbec50f354b888aa9ca284f6d1d4c462f00b815cd6e0e17a3b41025ce77485f66a7d527f519a7b80283774d SHA512 37b6c4f9f3b93970e35b6970fde22fbbde65e7fa32a5634b3fdfc25cc1f33843582722ad13d9a8e96fd6768406fcbe86bf5feb76996ddd0bb66d6ff91e65f0b6 DIST pkgconf-1.7.4.tar.xz 293888 BLAKE2B af814174b59e3ea7009230f639a6237226caafb22300946904dd10810c0b5cfcbfeea21767a3a1d2c2b5cb1fe4b7b1d995a52d820fcfce3adb383c66762b7576 SHA512 92c080684898b42824a1f1a7e3ce8a600896fc9c20fcf263f032b856fa4c7139607f87ba44d18ed358b8c5f4f04477708800d20a4e10f96e4268a55682f7f0c1 +DIST pkgconf-1.8.0.tar.xz 296304 BLAKE2B 6585a855a313406f77d26fba3cc3cef798b27c4b7ece81738bdba12f36ee93fbcaf838e1065406c28adc20852e34e2de14bc5f4837982f9cc35360d9a3ac83a5 SHA512 58204006408ad5ce91222ed3c93c2e0b61c04fa83c0a8ad337b747b583744578dbebd4ad5ccbc577689637caa1c5dc246b7795ac46e39c6666b1aa78199b7c28 diff --git a/dev-util/pkgconf/pkgconf-1.8.0.ebuild b/dev-util/pkgconf/pkgconf-1.8.0.ebuild new file mode 100644 index 00000000000..3923dd6417e --- /dev/null +++ b/dev-util/pkgconf/pkgconf-1.8.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 2012-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib multilib-minimal + +if [[ ${PV} == "9999" ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="https://git.sr.ht/~kaniini/pkgconf" +else + SRC_URI="http://distfiles.dereferenced.org/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~ppc-macos ~x64-macos" +fi + +DESCRIPTION="pkg-config compatible replacement with no dependencies other than ANSI C89" +HOMEPAGE="https://git.sr.ht/~kaniini/pkgconf" + +LICENSE="ISC" +SLOT="0/3" +IUSE="+pkg-config test" + +# tests require 'kyua' +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-libs/atf + dev-util/kyua + ) +" +RDEPEND=" + pkg-config? ( !dev-util/pkgconfig ) +" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/pkgconf$(get_exeext) +) + +src_prepare() { + default + + [[ ${CHOST} == *-darwin9 ]] && eapply "${FILESDIR}"/${P}-darwin9.patch + + [[ ${PV} == "9999" ]] && eautoreconf + if use pkg-config; then + MULTILIB_CHOST_TOOLS+=( + /usr/bin/pkg-config$(get_exeext) + ) + fi +} + +multilib_src_configure() { + local ECONF_SOURCE="${S}" + local args=( + --disable-static + --with-system-includedir="${EPREFIX}/usr/include" + --with-system-libdir="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir)" + ) + econf "${args[@]}" +} + +multilib_src_test() { + unset PKG_CONFIG_LIBDIR PKG_CONFIG_PATH + default +} + +multilib_src_install() { + default + + if use pkg-config; then + dosym pkgconf$(get_exeext) /usr/bin/pkg-config$(get_exeext) + dosym pkgconf.1 /usr/share/man/man1/pkg-config.1 + else + rm "${ED}"/usr/share/aclocal/pkg.m4 || die + rmdir "${ED}"/usr/share/aclocal || die + rm "${ED}"/usr/share/man/man7/pkg.m4.7 || die + rmdir "${ED}"/usr/share/man/man7 || die + fi +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -type f -name '*.la' -delete || die +}