1 |
commit: 51858f63c9173dda963157c6fa27c8e665934046 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 26 21:35:05 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 26 21:35:14 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51858f63 |
7 |
|
8 |
dev-util/pkgconf: Bump to version 1.7.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-util/pkgconf/Manifest | 1 + |
14 |
dev-util/pkgconf/pkgconf-1.7.1.ebuild | 82 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 83 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/pkgconf/Manifest b/dev-util/pkgconf/Manifest |
18 |
index dbb333b701b..6c1c18db28c 100644 |
19 |
--- a/dev-util/pkgconf/Manifest |
20 |
+++ b/dev-util/pkgconf/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST pkgconf-1.6.3.tar.xz 291216 BLAKE2B 04bf58590e2f0b37bac7b24b3d595ad08680e85647548cbd642495398d95706f9f738af5c6f9b9ad8801567caa20ade85d4c4d74179f08313420683cb1b34263 SHA512 437c5a5c9866e2047e62e0592639930b2420d4afd41d98cef51f3475165418a39e916477860025314828a6ee0a4eefc10fdf26bda66f80c291f324d9674fa5c1 |
23 |
DIST pkgconf-1.7.0.tar.xz 292420 BLAKE2B 2b709596c0ca8b62913a89fd6d3c4267f4f6f8585565dd66243d876a3b49795a522d3fced913d97cdaeb5cbad95b9655f2c23ef8160a03e68109fb4a21df8d90 SHA512 636741c11c35dbe39bbd38760268deefede2c312cb65ac1c20dbb2ce2c4eca884481e5888f5f6987c084f753684ff8d008713f7638952ea1d67a58ecce2fa05d |
24 |
+DIST pkgconf-1.7.1.tar.xz 292908 BLAKE2B 004ad290ae97dd8383a24a3c390341e1c054825136b241234396248cedf5edc221d77b68fd3e502aab123a7f18daca62374d1cc7c0311650cec4f87d237c33c8 SHA512 d5d264f48f537ba60efc47baa5aa3a375aecdaebf87f268846c69f7e807e29081f5e25334e21c014adb33e9de77d6e1b8a65124f718617f5825082579af801df |
25 |
|
26 |
diff --git a/dev-util/pkgconf/pkgconf-1.7.1.ebuild b/dev-util/pkgconf/pkgconf-1.7.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..c5741a92475 |
29 |
--- /dev/null |
30 |
+++ b/dev-util/pkgconf/pkgconf-1.7.1.ebuild |
31 |
@@ -0,0 +1,82 @@ |
32 |
+# Copyright 2012-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit multilib-minimal |
38 |
+ |
39 |
+if [[ ${PV} == "9999" ]] ; then |
40 |
+ inherit autotools git-r3 |
41 |
+ EGIT_REPO_URI="https://git.sr.ht/~kaniini/pkgconf" |
42 |
+else |
43 |
+ SRC_URI="http://distfiles.dereferenced.org/${PN}/${P}.tar.xz" |
44 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
45 |
+fi |
46 |
+ |
47 |
+DESCRIPTION="pkg-config compatible replacement with no dependencies other than ANSI C89" |
48 |
+HOMEPAGE="https://git.sr.ht/~kaniini/pkgconf" |
49 |
+ |
50 |
+LICENSE="ISC" |
51 |
+SLOT="0/3" |
52 |
+IUSE="+pkg-config test" |
53 |
+ |
54 |
+# tests require 'kyua' |
55 |
+RESTRICT="!test? ( test )" |
56 |
+ |
57 |
+BDEPEND=" |
58 |
+ test? ( |
59 |
+ dev-libs/atf |
60 |
+ dev-util/kyua |
61 |
+ ) |
62 |
+" |
63 |
+RDEPEND=" |
64 |
+ pkg-config? ( |
65 |
+ !dev-util/pkgconfig |
66 |
+ !dev-util/pkg-config-lite |
67 |
+ !dev-util/pkgconfig-openbsd[pkg-config] |
68 |
+ ) |
69 |
+" |
70 |
+ |
71 |
+MULTILIB_CHOST_TOOLS=( |
72 |
+ /usr/bin/pkgconf |
73 |
+) |
74 |
+ |
75 |
+src_prepare() { |
76 |
+ default |
77 |
+ |
78 |
+ [[ ${PV} == "9999" ]] && eautoreconf |
79 |
+ if use pkg-config; then |
80 |
+ MULTILIB_CHOST_TOOLS+=( |
81 |
+ /usr/bin/pkg-config |
82 |
+ ) |
83 |
+ fi |
84 |
+} |
85 |
+ |
86 |
+multilib_src_configure() { |
87 |
+ local ECONF_SOURCE="${S}" |
88 |
+ econf --disable-static |
89 |
+} |
90 |
+ |
91 |
+multilib_src_test() { |
92 |
+ unset PKG_CONFIG_LIBDIR PKG_CONFIG_PATH |
93 |
+ default |
94 |
+} |
95 |
+ |
96 |
+multilib_src_install() { |
97 |
+ default |
98 |
+ |
99 |
+ if use pkg-config; then |
100 |
+ dosym pkgconf /usr/bin/pkg-config |
101 |
+ dosym pkgconf.1 /usr/share/man/man1/pkg-config.1 |
102 |
+ else |
103 |
+ rm "${ED}"/usr/share/aclocal/pkg.m4 || die |
104 |
+ rmdir "${ED}"/usr/share/aclocal || die |
105 |
+ rm "${ED}"/usr/share/man/man7/pkg.m4.7 || die |
106 |
+ rmdir "${ED}"/usr/share/man/man7 || die |
107 |
+ fi |
108 |
+} |
109 |
+ |
110 |
+multilib_src_install_all() { |
111 |
+ einstalldocs |
112 |
+ find "${ED}" -type f -name '*.la' -delete || die |
113 |
+} |