diff options
Diffstat (limited to 'dev-cpp')
| -rw-r--r-- | dev-cpp/blurhash/Manifest | 1 | ||||
| -rw-r--r-- | dev-cpp/blurhash/blurhash-0.2.0-r1.ebuild | 30 | ||||
| -rw-r--r-- | dev-cpp/indicators/Manifest | 1 | ||||
| -rw-r--r-- | dev-cpp/indicators/files/indicators-2.3-include.patch | 12 | ||||
| -rw-r--r-- | dev-cpp/indicators/indicators-2.3-r1.ebuild (renamed from dev-cpp/indicators/indicators-2.2.ebuild) | 6 |
5 files changed, 47 insertions, 3 deletions
diff --git a/dev-cpp/blurhash/Manifest b/dev-cpp/blurhash/Manifest index cfe2da5f0647..a7b460b789d7 100644 --- a/dev-cpp/blurhash/Manifest +++ b/dev-cpp/blurhash/Manifest @@ -1 +1,2 @@ DIST blurhash-0.2.0.tar.gz 137426 BLAKE2B 9a41049983866d896e937fde46800f47984ab52f83269023bef040d7694bea5f04449df0f849566cb79a3b1e796d4b02e810d5cab32f348c1dfa2ee7fcde3a01 SHA512 849b0e297816a62c65873bec26a9da46e711e6b4e31b82e1223349a8e840acf96e0b7eec72faeb6d78a9ad63faf6a2968695df4d97fa117607a4f371795818a5 +DIST blurhash-v0.2.0.tar.bz2 121080 BLAKE2B 7eecf8eb343e9617e9e6b1b39c46def8bc334d1a353297034a28c989789658d711e7b92c0826a0e3d33febd30dba7de2f409ba27cecfffc2db3f23b0c5fc3998 SHA512 7a9f5b80bb3db96ca078dac4d83258cdb0e3f8f0b0afbbbbf67290b1ca0f472d1436bc3614a042cac6c843ebe0b76ff4cc446a10d7401cb1286e832b5ab1a203 diff --git a/dev-cpp/blurhash/blurhash-0.2.0-r1.ebuild b/dev-cpp/blurhash/blurhash-0.2.0-r1.ebuild new file mode 100644 index 000000000000..2997daf14258 --- /dev/null +++ b/dev-cpp/blurhash/blurhash-0.2.0-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +MY_P="${PN}-v${PV}" +DESCRIPTION="C++ blurhash encoder/decoder" +HOMEPAGE="https://nheko.im/nheko-reborn/blurhash" +SRC_URI="https://nheko.im/nheko-reborn/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_P}" + +LICENSE="Boost-1.0" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-cpp/doctest )" + +src_configure() { + local -a emesonargs=( + $(meson_use test tests) + + # https://bugs.gentoo.org/921619 + -Dexamples=true + ) + meson_src_configure +} diff --git a/dev-cpp/indicators/Manifest b/dev-cpp/indicators/Manifest index d8b61fe72769..1ab060cb7000 100644 --- a/dev-cpp/indicators/Manifest +++ b/dev-cpp/indicators/Manifest @@ -1,2 +1 @@ -DIST indicators-2.2.tar.gz 8974714 BLAKE2B 538e9d77c7d4f19cc81d4476288ce7f78198a61252885a78e166f39137e8653082d02861cbf2469b08cc3af5f6ed4e76c343ca1d95aec67d35f2dbcde4ba72c2 SHA512 7ced2d3c320d51c7e0569104744730c8e2f952350bcae214a9781eb43ef4002c8314937db78461351741fc4c3aee7a1364582b1274991e95eb30006a5f2a7ef9 DIST indicators-2.3.tar.gz 8970430 BLAKE2B d81ba95908302c74830bef4aff5b07fe0352c88630bcb5480f7b2701efe20f3d32fc3c2279cbba558be40ece98cbbd8f9f02c1008c915149eb698ac517b58abd SHA512 59fb17e93c886cec2418e93e221febd2bf3160691b3473363417f8f8fa3d50d42d1de0e55d62598eba800b13c1d5ab1422d0a2c867246006b61340ba32d99232 diff --git a/dev-cpp/indicators/files/indicators-2.3-include.patch b/dev-cpp/indicators/files/indicators-2.3-include.patch new file mode 100644 index 000000000000..e0b4f336c663 --- /dev/null +++ b/dev-cpp/indicators/files/indicators-2.3-include.patch @@ -0,0 +1,12 @@ +Fix "error: 'uint8_t' has not been declared" + +--- a/include/indicators/termcolor.hpp ++++ b/include/indicators/termcolor.hpp +@@ -14,6 +14,7 @@ + + #include <iostream> + #include <cstdio> ++#include <cstdint> + + // Detect target's platform and set some macros in order to wrap platform + // specific code this library depends on. diff --git a/dev-cpp/indicators/indicators-2.2.ebuild b/dev-cpp/indicators/indicators-2.3-r1.ebuild index c0663e7c2c23..11dcee71494f 100644 --- a/dev-cpp/indicators/indicators-2.2.ebuild +++ b/dev-cpp/indicators/indicators-2.3-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit cmake @@ -14,6 +14,8 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="examples" +PATCHES=( "${FILESDIR}"/${P}-include.patch ) + QA_PKGCONFIG_VERSION="${PV}.0" src_install() { |
