summaryrefslogtreecommitdiff
path: root/dev-cpp/coeurl
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/coeurl')
-rw-r--r--dev-cpp/coeurl/Manifest2
-rw-r--r--dev-cpp/coeurl/coeurl-0.1.1.ebuild34
-rw-r--r--dev-cpp/coeurl/coeurl-0.2.0.ebuild34
-rw-r--r--dev-cpp/coeurl/metadata.xml8
4 files changed, 78 insertions, 0 deletions
diff --git a/dev-cpp/coeurl/Manifest b/dev-cpp/coeurl/Manifest
new file mode 100644
index 000000000000..7b8e817630b6
--- /dev/null
+++ b/dev-cpp/coeurl/Manifest
@@ -0,0 +1,2 @@
+DIST coeurl-0.1.1.tar.bz2 45471 BLAKE2B ea5b490cb62ed780c4499d15c1f9502185f8edab9d706cc422eda62d9149512e693e82fa9431a05c58e2bb949314a9de0d513d54824a07c1e4ca6bc801065189 SHA512 9f781b30f57314253602b8560954122537b3c1d40cc327c62aac3662ba80ec8fe45fc69adec5c571b8861c996724c7869e4dc88fafc5ebee31794299de999e34
+DIST coeurl-0.2.0.tar.bz2 45520 BLAKE2B 8a26f43817af213971c6c8d568251f3306857d9fa8ebdd09aa0a1f548c31b00fe1431334ff546ab152edd002f56d23d006240c494ad2ccaf9292afff97583a84 SHA512 de5f405b6993a33cf958996430d0f7a25cccb47488c3c2ce44525630e533a5acd1d630e2293cdae74befc627de81b211b4a9b6d53138f3de1d92f267f016e4fb
diff --git a/dev-cpp/coeurl/coeurl-0.1.1.ebuild b/dev-cpp/coeurl/coeurl-0.1.1.ebuild
new file mode 100644
index 000000000000..53569de45ec0
--- /dev/null
+++ b/dev-cpp/coeurl/coeurl-0.1.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2021 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"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="test" # Tests turned off because they need a local webserver.
+
+RDEPEND="
+ net-misc/curl
+ dev-libs/libevent
+ 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.2.0.ebuild b/dev-cpp/coeurl/coeurl-0.2.0.ebuild
new file mode 100644
index 000000000000..8137d25f3c49
--- /dev/null
+++ b/dev-cpp/coeurl/coeurl-0.2.0.ebuild
@@ -0,0 +1,34 @@
+# 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/${PV}" # ABI may break even on patch version changes.
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="test" # Tests turned off because they need a local webserver.
+
+RDEPEND="
+ net-misc/curl
+ dev-libs/libevent
+ 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/metadata.xml b/dev-cpp/coeurl/metadata.xml
new file mode 100644
index 000000000000..5533c93d756a
--- /dev/null
+++ b/dev-cpp/coeurl/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gentoo@tastytea.de</email>
+ <name>Ronny (tastytea) Gutbrod</name>
+ </maintainer>
+</pkgmetadata>