dev-cpp/blurhash: new package, add 0.2.0

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
Ronny (tastytea) Gutbrod
2023-02-20 20:57:30 +01:00
parent 165b9e92ff
commit bfc533011a
3 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="C++ blurhash encoder/decoder"
HOMEPAGE="https://github.com/Nheko-Reborn/blurhash"
SRC_URI="https://github.com/Nheko-Reborn/blurhash/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Boost-1.0"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="test"
BDEPEND="test? ( dev-cpp/doctest )"
RESTRICT="!test? ( test )"
src_configure() {
local -a emesonargs=(
$(meson_use test tests)
)
meson_src_configure
}