diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-02 11:45:20 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-02 11:45:20 +0000 |
commit | 7e3d6dcede5749fe6a1adef4e673a9dde7703b7b (patch) | |
tree | d4b1fc995691d4c2cde45fc9d9875e80e85fda73 /dev-libs/stb | |
parent | cc4bdc5d184af171efd67a1b32de966071ee18d3 (diff) |
gentoo auto-resync : 02:02:2024 - 11:45:20
Diffstat (limited to 'dev-libs/stb')
-rw-r--r-- | dev-libs/stb/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/stb/stb-20240201.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-libs/stb/Manifest b/dev-libs/stb/Manifest index b8cb2753e69c..86da774bd305 100644 --- a/dev-libs/stb/Manifest +++ b/dev-libs/stb/Manifest @@ -1,3 +1,5 @@ DIST stb-20200713.tar.gz 1378579 BLAKE2B 13f2deecdc20c95fe3dfd1820346e9c8d1046004082a4b6044934efa7e20270b253953fb8e2d9eecf2a263ea342b740d87807e50da48178c0eb4c7028bd27488 SHA512 a9ba80d19dae4e527171bb02e1caa4d3eb0704cdf7f8fef1a7a09e6b05c65b829b0aa580f469f158a39bf13018289f40c1680ab5c22bfa5e932bff94eced475d +DIST stb-20240201.tar.gz 1510288 BLAKE2B f11e802c6e9efe60bf08bb6071b6e8a12fc7a0713f450379534c2a4fc96c2023a190f4fed598fa7fa9b577e19f14bffbfa2f54dff1ebf72d933dc0113aa820c5 SHA512 2403ddb14b7c1a49f12bb0b43e52c612d58e4382ed03f59b4255560900eb7f08651b6688ec8b468b89e999611a67de5bd1102aa03d3847e3dd2d464175a11905 EBUILD stb-20200713.ebuild 718 BLAKE2B 9d093b23681e01d7246fc2a217668da74ead8def78a2ea20c76adbffe98611f234be9a20fdb633814f913b03d56ecacf85b78b5e9a16110196ad632fdf0b2322 SHA512 2d35e0c1592a454defe0f97d8a50bbcaa7e34503a162c2de506895d5815444b0a3d96f2d51dc5b2c16df1cca315462cee7c4fe1df70a6a050990034e8dc046f6 +EBUILD stb-20240201.ebuild 927 BLAKE2B 72451de9bce8fa422b939542820f94fd4ec597c412d23c3a159fb5f71f1b0a0d928bc1a75d84560d56701b6055b9d896af5a60553be57aeb35c40136e63e561f SHA512 d892eead21b998da2062e60244745c688095cb5c38a44e6e5702a66ce02a69acfa5824ec68bbbd098eef74163c08eb083eea84c7811e4c3a646d3c2e6666fb03 MISC metadata.xml 657 BLAKE2B 981e6b50cf2d4583dcd230e5fc5ed2adcd26c193d932fed79658e117f553593dace68d57a43a4a59e7046f5c11aaa82ec251fea664a9dcdada691846119820f9 SHA512 086f821db8f43371e2d411251afa1f17af5c7d3ac213daa4480ed15b00e0505e1368c73f73f91ae176dc92a3e96bdb4d002745f394069879bb8d980f83405479 diff --git a/dev-libs/stb/stb-20240201.ebuild b/dev-libs/stb/stb-20240201.ebuild new file mode 100644 index 000000000000..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 +} |