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/stb/
Date: Wed, 01 Jul 2020 06:39:25
Message-Id: 1593585511.9049f05e1e9c725bb72e3769ba3f114c0d884c3a.juippis@gentoo
1 commit: 9049f05e1e9c725bb72e3769ba3f114c0d884c3a
2 Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 16 04:44:18 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 1 06:38:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9049f05e
7
8 dev-libs/stb: version bump 20200205
9
10 Closes: https://bugs.gentoo.org/696726
11 Bug: https://bugs.gentoo.org/711274
12
13 Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
14 Closes: https://github.com/gentoo/gentoo/pull/16264
15 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
16
17 dev-libs/stb/Manifest | 1 +
18 dev-libs/stb/stb-20200205.ebuild | 34 ++++++++++++++++++++++++++++++++++
19 2 files changed, 35 insertions(+)
20
21 diff --git a/dev-libs/stb/Manifest b/dev-libs/stb/Manifest
22 index d666f693370..6e9db73a9c5 100644
23 --- a/dev-libs/stb/Manifest
24 +++ b/dev-libs/stb/Manifest
25 @@ -1 +1,2 @@
26 DIST stb-20180211.tar.gz 1327803 BLAKE2B a910ac78c5e3760a3e4c74e033d15230c39abd89aeb083ba6c7cd23f8339926e8ab82fde1b6f4fe7a1a312023979a74b961abe263c40b18b3bb8239cbdfa204e SHA512 232ef301d4d6c82c7c5f0e4234b9160cc815f3b6bcc35d341cdf8738646f2f0887ee9838680699f4c9f4274b1390036b2c4fb3ebc2d663af8ff888114dc9f04b
27 +DIST stb-20200205.tar.gz 1375616 BLAKE2B 11acfb4b1938e75c388b426e4b568c2976566259469716514d0ac8c97ab23d45f51fed1dcf458ca8f07e51d88d90708b33d66d545ed1aa09cd96fea46b9eb738 SHA512 31f945de8b642a359363c81e67f09b71aa663eacd68f5ec602eed40987f2d953943871af3b408d1e948a9e5c953098fca34b9e971fdeed92b734bb0c79c79a42
28
29 diff --git a/dev-libs/stb/stb-20200205.ebuild b/dev-libs/stb/stb-20200205.ebuild
30 new file mode 100644
31 index 00000000000..78f6c462e4c
32 --- /dev/null
33 +++ b/dev-libs/stb/stb-20200205.ebuild
34 @@ -0,0 +1,34 @@
35 +# Copyright 1999-2020 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +# There are no official releases
41 +CHECKSUM="f54acd4e13430c5122cab4ca657705c84aa61b08"
42 +
43 +DESCRIPTION="single-file public domain (or MIT licensed) libraries for C/C++"
44 +HOMEPAGE="https://github.com/nothings/stb"
45 +SRC_URI="https://github.com/nothings/stb/archive/${CHECKSUM}.tar.gz -> ${P}.tar.gz"
46 +
47 +LICENSE="|| ( MIT Unlicense )"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +
51 +IUSE=""
52 +
53 +S="${WORKDIR}/${PN}-${CHECKSUM}"
54 +
55 +BDEPEND=""
56 +RDEPEND=""
57 +
58 +src_prepare() {
59 + default
60 +
61 + # Move the header files in a folder so they don't pollute the include dir
62 + mkdir stb || die
63 + mv *.h stb/ || die
64 +}
65 +
66 +src_install() {
67 + doheader -r stb
68 +}