diff options
Diffstat (limited to 'dev-cpp')
| -rw-r--r-- | dev-cpp/coeurl/Manifest | 2 | ||||
| -rw-r--r-- | dev-cpp/coeurl/coeurl-0.2.1.ebuild | 35 | ||||
| -rw-r--r-- | dev-cpp/coeurl/coeurl-0.3.1.ebuild | 68 | ||||
| -rw-r--r-- | dev-cpp/qt-jdenticon/Manifest | 1 | ||||
| -rw-r--r-- | dev-cpp/qt-jdenticon/qt-jdenticon-0.3.1.ebuild | 19 |
5 files changed, 89 insertions, 36 deletions
diff --git a/dev-cpp/coeurl/Manifest b/dev-cpp/coeurl/Manifest index 44b25fd17aa6..79b451b770e3 100644 --- a/dev-cpp/coeurl/Manifest +++ b/dev-cpp/coeurl/Manifest @@ -1,2 +1,2 @@ -DIST coeurl-0.2.1.tar.bz2 45784 BLAKE2B e1280478d6112171e387d88f10ef220ac839e9be3b222c60111f0e046b00161f29561fce5bc62cc806bd0188fa2ad64f54d016e04e53af9032e69b6cc8dd4153 SHA512 0e65c1120eb352d75976a2b1f11a83dea4e6557276b22962c37e6387bf649ad18117f6f4b4b1b76d4cce2ef53d55834aacf7207e7c15e015344f3c4a60a49671 DIST coeurl-0.3.0.tar.bz2 46292 BLAKE2B e00e70da3759fa6479d703af8bb520e96f41cbfdd9dc35c2b982f12ca9d596516283d56749785c6862e081b832a29a8453a3a57251c4c968724ed20ccf98d080 SHA512 4ad5a279689ad360f7b33f110e3bf174578655ab036405789d43bcbc73f775c51ab69cb20e79e1229ba045414a2d46e97869a0cd62b978e518cdf23a86b0a846 +DIST coeurl-0.3.1.tar.bz2 46513 BLAKE2B 8a80ece8449ced486c56114fba1c544eebc25d165daac630c5d1f3af6d8c4dfd96361afc51d3d4f92fabeff0cdc61dcea9a068c915b3dbd8cc6e7a8bf3baf0a7 SHA512 d9369162ef75a40cafaec88e6b32b6a28daf293691ca017b97b0e4900ae6960f4956124cb8b9ebc3659e174dd55c51441225e212e5c1dbad88413a71faa8c718 diff --git a/dev-cpp/coeurl/coeurl-0.2.1.ebuild b/dev-cpp/coeurl/coeurl-0.2.1.ebuild deleted file mode 100644 index ee74c33a2501..000000000000 --- a/dev-cpp/coeurl/coeurl-0.2.1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson - -DESCRIPTION="A simple async wrapper around CURL for C++" -HOMEPAGE="https://nheko.im/nheko-reborn/coeurl" -SRC_URI="https://nheko.im/nheko-reborn/coeurl/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" -S="${WORKDIR}/${PN}-v${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="ssl test" -RESTRICT="test" # Tests turned off because they need a local webserver. - -RDEPEND=" - net-misc/curl[ssl?] - dev-libs/libevent - dev-libs/libfmt:= - dev-libs/spdlog -" -DEPEND=" - ${RDEPEND} - test? ( dev-cpp/doctest ) -" - -src_configure() { - local -a emesonargs=( - $(meson_use test tests) - ) - meson_src_configure -} diff --git a/dev-cpp/coeurl/coeurl-0.3.1.ebuild b/dev-cpp/coeurl/coeurl-0.3.1.ebuild new file mode 100644 index 000000000000..370c01cb7ca2 --- /dev/null +++ b/dev-cpp/coeurl/coeurl-0.3.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +inherit edo meson python-any-r1 + +DESCRIPTION="A simple async wrapper around CURL for C++" +HOMEPAGE="https://nheko.im/nheko-reborn/coeurl" +SRC_URI="https://nheko.im/nheko-reborn/coeurl/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" +S="${WORKDIR}/${PN}-v${PV}" + +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64" +IUSE="ssl test" +REQUIRED_USE="test? ( ssl )" +RESTRICT="!test? ( test )" + +RDEPEND=" + net-misc/curl[ssl?] + dev-libs/libevent:= + dev-libs/libfmt:= + dev-libs/spdlog:= +" +DEPEND=" + ${RDEPEND} + test? ( dev-cpp/doctest ) +" +BDEPEND=" + test? ( + dev-libs/openssl + $(python_gen_any_dep 'dev-python/flask[${PYTHON_USEDEP}]') + ) +" + +python_check_deps() { + use test || return 0 # python is only used for tests, bug #911504 + + python_has_version "dev-python/flask[${PYTHON_USEDEP}]" +} + +src_prepare() { + default + rm -r subprojects || die +} + +src_configure() { + local -a emesonargs=( + $(meson_use test tests) + ) + meson_src_configure +} + +src_test() { + openssl req -x509 -newkey rsa:4096 -nodes \ + -out "${T}"/cert.pem -keyout "${T}"/key.pem \ + -days 365 -subj "/CN=localhost" || die + + edo ${EPYTHON} ./tests/testserver.py & + sleep 3 + + edo ${EPYTHON} ./tests/testserver.py "${T}" & + sleep 3 + + meson_src_test +} diff --git a/dev-cpp/qt-jdenticon/Manifest b/dev-cpp/qt-jdenticon/Manifest index aeffc4634aec..4f52e0a30d83 100644 --- a/dev-cpp/qt-jdenticon/Manifest +++ b/dev-cpp/qt-jdenticon/Manifest @@ -1,2 +1,3 @@ DIST qt-jdenticon-0.3.0.tar.gz 11021 BLAKE2B c4cbeba7848791b2386ac474ca7412b361ee949a126f10cdb523210a8415b436c365a3c056ca3fa9c196835f6bfc92b24a01f2906e62897b88af2e80a83d3bb3 SHA512 a3477ce8fd26de563c1397a07895dcd0ec8210c62fe82e808a8c322c298111c48570ce23df639d648d86a0627b455dc7d1772e985197351251d49abd461b8c23 DIST qt-jdenticon-0.3.0_p20240107.tar.gz 12552 BLAKE2B 969d9a43fdadf388074da67d029bd7b71d5e11599d5d4a33e41fa5c9c193d47831e80e6b0d77afdb4791ba5c90c44b50dd088c03d048cecce4f7b8ce24684228 SHA512 034787268cdfe5f89960d93a113ba15f56b6f1abae3581239f3ab16adc48c7822b21baff7017247876d847f562c210d9a08bd484e206af139866a4c3f7790d4e +DIST qt-jdenticon-0.3.1.tar.gz 12724 BLAKE2B 1556db9843b9f5e06989ac87250ea1812e17f3d1cbf7dcfa8671b0c29712df496fabdf169364c51a261f020aad49c92b9131db872f8918c65987f6202d96e68c SHA512 c9ff2b262aa146bb2d45ba1a58210afb7fbad4550cc69be0317562e1f0d9fbae071c337da9f39fbdc1c24c8bf273cd5baeec66286e0885feca703bfc0189a7bd diff --git a/dev-cpp/qt-jdenticon/qt-jdenticon-0.3.1.ebuild b/dev-cpp/qt-jdenticon/qt-jdenticon-0.3.1.ebuild new file mode 100644 index 000000000000..2863440cc8c4 --- /dev/null +++ b/dev-cpp/qt-jdenticon/qt-jdenticon-0.3.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Qt5 / C++14 Port of Jdenticon" +HOMEPAGE="https://github.com/Nheko-Reborn/qt-jdenticon" +SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="6" +KEYWORDS="~amd64" + +RDEPEND=" + dev-qt/qtbase:6[gui] +" +DEPEND="${RDEPEND}" |
