[gentoo-commits] repo/gentoo:master commit in: dev-libs/stb/
commit: ba986be8c443b56197babd51edb6ff4b2191423d Author: David Roman gmail com> AuthorDate: Mon Feb 26 13:25:08 2024 + Commit: Miroslav Šulc gentoo org> CommitDate: Mon Mar 4 15:14:55 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba986be8 dev-libs/stb: also install deprecated header files Signed-off-by: David Roman gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35541 Signed-off-by: Miroslav Šulc gentoo.org> dev-libs/stb/{stb-20240201.ebuild => stb-20240201-r1.ebuild} | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-libs/stb/stb-20240201.ebuild b/dev-libs/stb/stb-20240201-r1.ebuild similarity index 97% rename from dev-libs/stb/stb-20240201.ebuild rename to dev-libs/stb/stb-20240201-r1.ebuild index c9815652d223..b69f24538402 100644 --- a/dev-libs/stb/stb-20240201.ebuild +++ b/dev-libs/stb/stb-20240201-r1.ebuild @@ -22,6 +22,7 @@ src_prepare() { # Move the header files in a folder so they don't pollute the include dir mkdir stb || die mv *.h stb/ || die + mv deprecated stb/ || die } src_install() {
[gentoo-commits] repo/gentoo:master commit in: dev-libs/stb/
commit: 8633375bfd407640fd9460037892af37b40e46cf Author: Miroslav Šulc gentoo org> AuthorDate: Mon Mar 4 11:17:02 2024 + Commit: Miroslav Šulc gentoo org> CommitDate: Mon Mar 4 11:17:02 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8633375b dev-libs/stb: sorted variables Signed-off-by: Miroslav Šulc gentoo.org> dev-libs/stb/stb-20240201.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/stb/stb-20240201.ebuild b/dev-libs/stb/stb-20240201.ebuild index 6ea05e0d4803..c9815652d223 100644 --- a/dev-libs/stb/stb-20240201.ebuild +++ b/dev-libs/stb/stb-20240201.ebuild @@ -10,12 +10,12 @@ 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" +S="${WORKDIR}/${PN}-${CHECKSUM}" + LICENSE="|| ( MIT Unlicense )" SLOT="0" KEYWORDS="amd64 ~arm64 ~x86" -S="${WORKDIR}/${PN}-${CHECKSUM}" - src_prepare() { default
[gentoo-commits] repo/gentoo:master commit in: dev-libs/stb/
commit: 5f79238339117499298e6bb5ae7fffce76b6231b Author: Miroslav Šulc gentoo org> AuthorDate: Mon Mar 4 11:16:17 2024 + Commit: Miroslav Šulc gentoo org> CommitDate: Mon Mar 4 11:16:17 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f792383 dev-libs/stb: dropped obsolete 20200713 Bug: https://bugs.gentoo.org/926154 Bug: https://bugs.gentoo.org/818556 Signed-off-by: Miroslav Šulc gentoo.org> dev-libs/stb/Manifest| 1 - dev-libs/stb/stb-20200713.ebuild | 34 -- 2 files changed, 35 deletions(-) diff --git a/dev-libs/stb/Manifest b/dev-libs/stb/Manifest index 7b637c0364c7..3878b03f7285 100644 --- a/dev-libs/stb/Manifest +++ b/dev-libs/stb/Manifest @@ -1,2 +1 @@ -DIST stb-20200713.tar.gz 1378579 BLAKE2B 13f2deecdc20c95fe3dfd1820346e9c8d1046004082a4b6044934efa7e20270b253953fb8e2d9eecf2a263ea342b740d87807e50da48178c0eb4c7028bd27488 SHA512 a9ba80d19dae4e527171bb02e1caa4d3eb0704cdf7f8fef1a7a09e6b05c65b829b0aa580f469f158a39bf13018289f40c1680ab5c22bfa5e932bff94eced475d DIST stb-20240201.tar.gz 1510288 BLAKE2B f11e802c6e9efe60bf08bb6071b6e8a12fc7a0713f450379534c2a4fc96c2023a190f4fed598fa7fa9b577e19f14bffbfa2f54dff1ebf72d933dc0113aa820c5 SHA512 2403ddb14b7c1a49f12bb0b43e52c612d58e4382ed03f59b4255560900eb7f08651b6688ec8b468b89e999611a67de5bd1102aa03d3847e3dd2d464175a11905 diff --git a/dev-libs/stb/stb-20200713.ebuild b/dev-libs/stb/stb-20200713.ebuild deleted file mode 100644 index 17561e11cde8.. --- a/dev-libs/stb/stb-20200713.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2022 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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/stb/
commit: 6be3aff6e53e0c5fe6087cf960349f34161c2017 Author: Sam James gentoo org> AuthorDate: Mon Mar 4 11:12:38 2024 + Commit: Sam James gentoo org> CommitDate: Mon Mar 4 11:12:38 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6be3aff6 dev-libs/stb: Stabilize 20240201 amd64, #926154 Signed-off-by: Sam James gentoo.org> dev-libs/stb/stb-20240201.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/stb/stb-20240201.ebuild b/dev-libs/stb/stb-20240201.ebuild index a7606445ce4e..6ea05e0d4803 100644 --- a/dev-libs/stb/stb-20240201.ebuild +++ b/dev-libs/stb/stb-20240201.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/nothings/stb/archive/${CHECKSUM}.tar.gz -> ${P}.tar. LICENSE="|| ( MIT Unlicense )" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" S="${WORKDIR}/${PN}-${CHECKSUM}"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/stb/
commit: be6768fc2448bb4a0f0aa1cc356cc36990d6cdfe Author: Dennis Lamm gentoo org> AuthorDate: Thu Feb 1 20:33:37 2024 + Commit: Dennis Lamm gentoo org> CommitDate: Fri Feb 2 05:35:00 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be6768fc dev-libs/stb: add 20240201 Bug: https://bugs.gentoo.org/818556 Closes: https://bugs.gentoo.org/876034 Signed-off-by: Dennis Lamm gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/35140 Signed-off-by: Dennis Lamm gentoo.org> dev-libs/stb/Manifest| 1 + dev-libs/stb/stb-20240201.ebuild | 40 2 files changed, 41 insertions(+) diff --git a/dev-libs/stb/Manifest b/dev-libs/stb/Manifest index 4371b529fd59..7b637c0364c7 100644 --- a/dev-libs/stb/Manifest +++ b/dev-libs/stb/Manifest @@ -1 +1,2 @@ DIST stb-20200713.tar.gz 1378579 BLAKE2B 13f2deecdc20c95fe3dfd1820346e9c8d1046004082a4b6044934efa7e20270b253953fb8e2d9eecf2a263ea342b740d87807e50da48178c0eb4c7028bd27488 SHA512 a9ba80d19dae4e527171bb02e1caa4d3eb0704cdf7f8fef1a7a09e6b05c65b829b0aa580f469f158a39bf13018289f40c1680ab5c22bfa5e932bff94eced475d +DIST stb-20240201.tar.gz 1510288 BLAKE2B f11e802c6e9efe60bf08bb6071b6e8a12fc7a0713f450379534c2a4fc96c2023a190f4fed598fa7fa9b577e19f14bffbfa2f54dff1ebf72d933dc0113aa820c5 SHA512 2403ddb14b7c1a49f12bb0b43e52c612d58e4382ed03f59b4255560900eb7f08651b6688ec8b468b89e999611a67de5bd1102aa03d3847e3dd2d464175a11905 diff --git a/dev-libs/stb/stb-20240201.ebuild b/dev-libs/stb/stb-20240201.ebuild new file mode 100644 index ..a7606445ce4e --- /dev/null +++ b/dev-libs/stb/stb-20240201.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# There are no official releases +CHECKSUM="f4a71b13373436a2866c5d68f8f80ac6f0bc1ffe" + +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" + +S="${WORKDIR}/${PN}-${CHECKSUM}" + +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 + + insinto /usr/share/pkgconfig + cat > "${D}"/usr/share/pkgconfig/stb.pc <<-EOF + prefix=/usr + includedir=\${prefix}/include/stb + + Name: stb + Description: stb single-file public domain libraries + Version: ${PV} + Cflags: -I\${includedir} + EOF +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/stb/
commit: 5584dd8a085952ad277747aa83828ed5bef5e6f1 Author: Jakov Smolić gentoo org> AuthorDate: Thu Mar 10 21:20:47 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Thu Mar 10 21:20:47 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5584dd8a dev-libs/stb: Stabilize 20200713 amd64, #834389 Signed-off-by: Jakov Smolić gentoo.org> dev-libs/stb/stb-20200713.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/stb/stb-20200713.ebuild b/dev-libs/stb/stb-20200713.ebuild index 2e4c6ded8b9f..17561e11cde8 100644 --- a/dev-libs/stb/stb-20200713.ebuild +++ b/dev-libs/stb/stb-20200713.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SRC_URI="https://github.com/nothings/stb/archive/${CHECKSUM}.tar.gz -> ${P}.tar. LICENSE="|| ( MIT Unlicense )" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-libs/stb/
commit: 05846adf73452566d7488824555896ac6b42787f Author: Dennis Lamm gentoo org> AuthorDate: Sun Feb 7 19:29:15 2021 + Commit: Dennis Lamm gentoo org> CommitDate: Sun Feb 7 21:30:44 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05846adf dev-libs/stb: drop old Signed-off-by: Dennis Lamm gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/19364 Signed-off-by: Dennis Lamm gentoo.org> dev-libs/stb/Manifest| 1 - dev-libs/stb/stb-20200205.ebuild | 34 -- 2 files changed, 35 deletions(-) diff --git a/dev-libs/stb/Manifest b/dev-libs/stb/Manifest index 78687f09eb6..4371b529fd5 100644 --- a/dev-libs/stb/Manifest +++ b/dev-libs/stb/Manifest @@ -1,2 +1 @@ -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-20200205.ebuild b/dev-libs/stb/stb-20200205.ebuild deleted file mode 100644 index c89c8af062f..000 --- a/dev-libs/stb/stb-20200205.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# There are no official releases -CHECKSUM="f54acd4e13430c5122cab4ca657705c84aa61b08" - -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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/stb/
commit: 8621664f1cd7dfcf6141092006b08f9c0769d944 Author: Dennis Lamm gentoo org> AuthorDate: Sun Nov 29 08:34:26 2020 + Commit: Dennis Lamm gentoo org> CommitDate: Mon Nov 30 18:37:38 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8621664f dev-libs/stb: bump to 20200713 Signed-off-by: Dennis Lamm gentoo.org> Signed-off-by: Dennis Lamm gentoo.org> dev-libs/stb/Manifest| 1 + dev-libs/stb/stb-20200713.ebuild | 34 ++ 2 files changed, 35 insertions(+) diff --git a/dev-libs/stb/Manifest b/dev-libs/stb/Manifest index 3634317ff74..78687f09eb6 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 000..2e4c6ded8b9 --- /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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/stb/
commit: b552056536e0913b7d9c74c78cdbf7e635f3419d Author: Sam James gentoo org> AuthorDate: Sat Sep 19 16:31:48 2020 + Commit: Sam James gentoo org> CommitDate: Sat Sep 19 16:31:48 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5520565 dev-libs/stb: Keyword 20200205 arm64, #734826 Signed-off-by: Sam James gentoo.org> dev-libs/stb/stb-20200205.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/stb/stb-20200205.ebuild b/dev-libs/stb/stb-20200205.ebuild index 78f6c462e4c..c89c8af062f 100644 --- a/dev-libs/stb/stb-20200205.ebuild +++ b/dev-libs/stb/stb-20200205.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/nothings/stb/archive/${CHECKSUM}.tar.gz -> ${P}.tar. LICENSE="|| ( MIT Unlicense )" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: dev-libs/stb/
commit: 47e175b2635de2e1eb7a48ccd06ee015f4aa397f Author: Sam James gentoo org> AuthorDate: Thu Sep 17 23:26:45 2020 + Commit: Sam James gentoo org> CommitDate: Thu Sep 17 23:26:47 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47e175b2 dev-libs/stb: security cleanup Bug: https://bugs.gentoo.org/711274 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James gentoo.org> dev-libs/stb/Manifest| 1 - dev-libs/stb/stb-20180211.ebuild | 34 -- 2 files changed, 35 deletions(-) diff --git a/dev-libs/stb/Manifest b/dev-libs/stb/Manifest index 6e9db73a9c5..3634317ff74 100644 --- a/dev-libs/stb/Manifest +++ b/dev-libs/stb/Manifest @@ -1,2 +1 @@ -DIST stb-20180211.tar.gz 1327803 BLAKE2B a910ac78c5e3760a3e4c74e033d15230c39abd89aeb083ba6c7cd23f8339926e8ab82fde1b6f4fe7a1a312023979a74b961abe263c40b18b3bb8239cbdfa204e SHA512 232ef301d4d6c82c7c5f0e4234b9160cc815f3b6bcc35d341cdf8738646f2f0887ee9838680699f4c9f4274b1390036b2c4fb3ebc2d663af8ff888114dc9f04b DIST stb-20200205.tar.gz 1375616 BLAKE2B 11acfb4b1938e75c388b426e4b568c2976566259469716514d0ac8c97ab23d45f51fed1dcf458ca8f07e51d88d90708b33d66d545ed1aa09cd96fea46b9eb738 SHA512 31f945de8b642a359363c81e67f09b71aa663eacd68f5ec602eed40987f2d953943871af3b408d1e948a9e5c953098fca34b9e971fdeed92b734bb0c79c79a42 diff --git a/dev-libs/stb/stb-20180211.ebuild b/dev-libs/stb/stb-20180211.ebuild deleted file mode 100644 index 6efc838e61b..000 --- a/dev-libs/stb/stb-20180211.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# There are no offical releases -CHECKSUM="e6afb9cbae4064da8c3e69af3ff5c4629579c1d2" - -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 ~x86" - -IUSE="" - -S="${WORKDIR}/${PN}-${CHECKSUM}" - -DEPEND="" -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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/stb/
commit: 9049f05e1e9c725bb72e3769ba3f114c0d884c3a Author: Dennis Lamm gentoo org> AuthorDate: Tue Jun 16 04:44:18 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Jul 1 06:38:31 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9049f05e dev-libs/stb: version bump 20200205 Closes: https://bugs.gentoo.org/696726 Bug: https://bugs.gentoo.org/711274 Signed-off-by: Dennis Lamm gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/16264 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/stb/Manifest| 1 + dev-libs/stb/stb-20200205.ebuild | 34 ++ 2 files changed, 35 insertions(+) diff --git a/dev-libs/stb/Manifest b/dev-libs/stb/Manifest index d666f693370..6e9db73a9c5 100644 --- a/dev-libs/stb/Manifest +++ b/dev-libs/stb/Manifest @@ -1 +1,2 @@ DIST stb-20180211.tar.gz 1327803 BLAKE2B a910ac78c5e3760a3e4c74e033d15230c39abd89aeb083ba6c7cd23f8339926e8ab82fde1b6f4fe7a1a312023979a74b961abe263c40b18b3bb8239cbdfa204e SHA512 232ef301d4d6c82c7c5f0e4234b9160cc815f3b6bcc35d341cdf8738646f2f0887ee9838680699f4c9f4274b1390036b2c4fb3ebc2d663af8ff888114dc9f04b +DIST stb-20200205.tar.gz 1375616 BLAKE2B 11acfb4b1938e75c388b426e4b568c2976566259469716514d0ac8c97ab23d45f51fed1dcf458ca8f07e51d88d90708b33d66d545ed1aa09cd96fea46b9eb738 SHA512 31f945de8b642a359363c81e67f09b71aa663eacd68f5ec602eed40987f2d953943871af3b408d1e948a9e5c953098fca34b9e971fdeed92b734bb0c79c79a42 diff --git a/dev-libs/stb/stb-20200205.ebuild b/dev-libs/stb/stb-20200205.ebuild new file mode 100644 index 000..78f6c462e4c --- /dev/null +++ b/dev-libs/stb/stb-20200205.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="f54acd4e13430c5122cab4ca657705c84aa61b08" + +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 ~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 +}