1 |
commit: 8621664f1cd7dfcf6141092006b08f9c0769d944 |
2 |
Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 29 08:34:26 2020 +0000 |
4 |
Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 30 18:37:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8621664f |
7 |
|
8 |
dev-libs/stb: bump to 20200713 |
9 |
|
10 |
Signed-off-by: Dennis Lamm <expeditoneer <AT> gentoo.org> |
11 |
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org> |
12 |
|
13 |
dev-libs/stb/Manifest | 1 + |
14 |
dev-libs/stb/stb-20200713.ebuild | 34 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 35 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/stb/Manifest b/dev-libs/stb/Manifest |
18 |
index 3634317ff74..78687f09eb6 100644 |
19 |
--- a/dev-libs/stb/Manifest |
20 |
+++ b/dev-libs/stb/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST stb-20200205.tar.gz 1375616 BLAKE2B 11acfb4b1938e75c388b426e4b568c2976566259469716514d0ac8c97ab23d45f51fed1dcf458ca8f07e51d88d90708b33d66d545ed1aa09cd96fea46b9eb738 SHA512 31f945de8b642a359363c81e67f09b71aa663eacd68f5ec602eed40987f2d953943871af3b408d1e948a9e5c953098fca34b9e971fdeed92b734bb0c79c79a42 |
23 |
+DIST stb-20200713.tar.gz 1378579 BLAKE2B 13f2deecdc20c95fe3dfd1820346e9c8d1046004082a4b6044934efa7e20270b253953fb8e2d9eecf2a263ea342b740d87807e50da48178c0eb4c7028bd27488 SHA512 a9ba80d19dae4e527171bb02e1caa4d3eb0704cdf7f8fef1a7a09e6b05c65b829b0aa580f469f158a39bf13018289f40c1680ab5c22bfa5e932bff94eced475d |
24 |
|
25 |
diff --git a/dev-libs/stb/stb-20200713.ebuild b/dev-libs/stb/stb-20200713.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..2e4c6ded8b9 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/stb/stb-20200713.ebuild |
30 |
@@ -0,0 +1,34 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+# There are no official releases |
37 |
+CHECKSUM="b42009b3b9d4ca35bc703f5310eedc74f584be58" |
38 |
+ |
39 |
+DESCRIPTION="single-file public domain (or MIT licensed) libraries for C/C++" |
40 |
+HOMEPAGE="https://github.com/nothings/stb" |
41 |
+SRC_URI="https://github.com/nothings/stb/archive/${CHECKSUM}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="|| ( MIT Unlicense )" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
46 |
+ |
47 |
+IUSE="" |
48 |
+ |
49 |
+S="${WORKDIR}/${PN}-${CHECKSUM}" |
50 |
+ |
51 |
+BDEPEND="" |
52 |
+RDEPEND="" |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ default |
56 |
+ |
57 |
+ # Move the header files in a folder so they don't pollute the include dir |
58 |
+ mkdir stb || die |
59 |
+ mv *.h stb/ || die |
60 |
+} |
61 |
+ |
62 |
+src_install() { |
63 |
+ doheader -r stb |
64 |
+} |