dev-cpp/coeurl: Version bump 0.2.0; Add subslot

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
Ronny (tastytea) Gutbrod
2022-03-07 17:01:50 +01:00
parent 04bd4a614b
commit 9c0898242d
2 changed files with 35 additions and 0 deletions

View File

@@ -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
}