dev-cpp/blurhash: install cli utilities

Closes: https://bugs.gentoo.org/921619
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova 2024-01-09 14:19:02 +05:00
parent aa759c4c98
commit 0aca8769b8
No known key found for this signature in database
GPG Key ID: E7B76EDC50864BB1
2 changed files with 31 additions and 0 deletions

View File

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

View File

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