summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Lamm <expeditioneer@gentoo.org>2020-11-29 09:34:26 +0100
committerDennis Lamm <expeditioneer@gentoo.org>2020-11-30 19:37:38 +0100
commit8621664f1cd7dfcf6141092006b08f9c0769d944 (patch)
tree1f2b2a97c8ca60a9f2568f8a88b951c74ce9ec59 /dev-libs/stb
parentdev-libs/libarcus: bump to 4.8.0 (diff)
downloadgentoo-8621664f1cd7dfcf6141092006b08f9c0769d944.tar.gz
gentoo-8621664f1cd7dfcf6141092006b08f9c0769d944.tar.bz2
gentoo-8621664f1cd7dfcf6141092006b08f9c0769d944.zip
dev-libs/stb: bump to 20200713
Signed-off-by: Dennis Lamm <expeditoneer@gentoo.org> Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Diffstat (limited to 'dev-libs/stb')
-rw-r--r--dev-libs/stb/Manifest1
-rw-r--r--dev-libs/stb/stb-20200713.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-libs/stb/Manifest b/dev-libs/stb/Manifest
index 3634317ff744..78687f09eb61 100644
--- a/dev-libs/stb/Manifest
+++ b/dev-libs/stb/Manifest
@@ -1 +1,2 @@
DIST stb-20200205.tar.gz 1375616 BLAKE2B 11acfb4b1938e75c388b426e4b568c2976566259469716514d0ac8c97ab23d45f51fed1dcf458ca8f07e51d88d90708b33d66d545ed1aa09cd96fea46b9eb738 SHA512 31f945de8b642a359363c81e67f09b71aa663eacd68f5ec602eed40987f2d953943871af3b408d1e948a9e5c953098fca34b9e971fdeed92b734bb0c79c79a42
+DIST stb-20200713.tar.gz 1378579 BLAKE2B 13f2deecdc20c95fe3dfd1820346e9c8d1046004082a4b6044934efa7e20270b253953fb8e2d9eecf2a263ea342b740d87807e50da48178c0eb4c7028bd27488 SHA512 a9ba80d19dae4e527171bb02e1caa4d3eb0704cdf7f8fef1a7a09e6b05c65b829b0aa580f469f158a39bf13018289f40c1680ab5c22bfa5e932bff94eced475d
diff --git a/dev-libs/stb/stb-20200713.ebuild b/dev-libs/stb/stb-20200713.ebuild
new file mode 100644
index 000000000000..2e4c6ded8b9f
--- /dev/null
+++ b/dev-libs/stb/stb-20200713.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# There are no official releases
+CHECKSUM="b42009b3b9d4ca35bc703f5310eedc74f584be58"
+
+DESCRIPTION="single-file public domain (or MIT licensed) libraries for C/C++"
+HOMEPAGE="https://github.com/nothings/stb"
+SRC_URI="https://github.com/nothings/stb/archive/${CHECKSUM}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( MIT Unlicense )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+IUSE=""
+
+S="${WORKDIR}/${PN}-${CHECKSUM}"
+
+BDEPEND=""
+RDEPEND=""
+
+src_prepare() {
+ default
+
+ # Move the header files in a folder so they don't pollute the include dir
+ mkdir stb || die
+ mv *.h stb/ || die
+}
+
+src_install() {
+ doheader -r stb
+}