Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/inih/
Date: Mon, 28 Sep 2020 11:34:34
Message-Id: 1601292778.5868d5bb08a143eedab0ab9a6066f5b3e6eae68a.juippis@gentoo
1 commit: 5868d5bb08a143eedab0ab9a6066f5b3e6eae68a
2 Author: Kai Krakow <kai <AT> kaishome <DOT> de>
3 AuthorDate: Sun Sep 20 11:07:29 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 28 11:32:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5868d5bb
7
8 dev-libs/inih: New ebuild
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Kai Krakow <kai <AT> kaishome.de>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 dev-libs/inih/Manifest | 1 +
15 dev-libs/inih/inih-51.ebuild | 42 ++++++++++++++++++++++++++++++++++++++++++
16 dev-libs/inih/metadata.xml | 16 ++++++++++++++++
17 3 files changed, 59 insertions(+)
18
19 diff --git a/dev-libs/inih/Manifest b/dev-libs/inih/Manifest
20 new file mode 100644
21 index 00000000000..cbef149096e
22 --- /dev/null
23 +++ b/dev-libs/inih/Manifest
24 @@ -0,0 +1 @@
25 +DIST inih-51.tar.gz 16258 BLAKE2B 91a5aee6e0ecadf949fbf0b58bd2596bcb985c76fc9000a671d65cb5325c51dbb8bd945ccd7721b72dafafd11c70a9c84ad910768d0fc479e5491db8b7aacbd8 SHA512 eb2f58979d93e51a09326e6c187828643887ac1a239d4b12205567c7d87a671c9c49ca99db376c031d366bc680e579c30dcea9f3eb130ec802597411b2cb3cf4
26
27 diff --git a/dev-libs/inih/inih-51.ebuild b/dev-libs/inih/inih-51.ebuild
28 new file mode 100644
29 index 00000000000..3cbd85dd660
30 --- /dev/null
31 +++ b/dev-libs/inih/inih-51.ebuild
32 @@ -0,0 +1,42 @@
33 +# Copyright 2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +MULTILIB_COMPAT=( abi_x86_{32,64} )
39 +
40 +inherit meson multilib-minimal ninja-utils
41 +
42 +DESCRIPTION="inih (INI not invented here) simple .INI file parser"
43 +HOMEPAGE="https://github.com/benhoyt/inih"
44 +
45 +SRC_URI="https://github.com/benhoyt/inih/archive/r${PV}.tar.gz -> ${P}.tar.gz"
46 +KEYWORDS="~amd64 ~x86"
47 +
48 +LICENSE="BSD"
49 +SLOT="0"
50 +
51 +DOCS=(
52 + LICENSE.txt
53 + README.md
54 +)
55 +
56 +S="${WORKDIR}/inih-r${PV}"
57 +
58 +multilib_src_configure() {
59 + local emesonargs=(
60 + -Ddefault_library=shared
61 + -Ddistro_install=true
62 + -Dwith_INIReader=true
63 + )
64 +
65 + meson_src_configure
66 +}
67 +
68 +multilib_src_compile() {
69 + eninja
70 +}
71 +
72 +multilib_src_install() {
73 + DESTDIR="${D}" eninja install
74 +}
75
76 diff --git a/dev-libs/inih/metadata.xml b/dev-libs/inih/metadata.xml
77 new file mode 100644
78 index 00000000000..9aa6590570f
79 --- /dev/null
80 +++ b/dev-libs/inih/metadata.xml
81 @@ -0,0 +1,16 @@
82 +<?xml version="1.0" encoding="UTF-8"?>
83 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
84 +<pkgmetadata>
85 + <maintainer type="person">
86 + <email>hurikhan77+bgo@×××××.com</email>
87 + <name>Kai Krakow</name>
88 + </maintainer>
89 + <maintainer type="project">
90 + <email>proxy-maint@g.o</email>
91 + <name>Proxy Maintainers</name>
92 + </maintainer>
93 + <upstream>
94 + <bugs-to>https://github.com/benhoyt/inih/issues</bugs-to>
95 + <remote-id type="github">benhoyt/inih</remote-id>
96 + </upstream>
97 +</pkgmetadata>