dev-libs/mcl: add 0.1.14

Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev
2026-06-07 12:48:04 +03:00
parent 69ea57f440
commit f6fd3ebd3e
2 changed files with 39 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST mcl-0.1.13.tar.gz 25663 BLAKE2B 3dbd667338a4697b9a044dca363cbf6f92de51d173116110694d34f6796a3ed2ebc056fa2ce3015ee3840b1435eb367a714ccbe24b4807c7d139ecb446279b6f SHA512 ed394edead795d04583034f569ada69a9ee893431159cb8ee2cc8f47509ad5e4ffdcfdefdeae06a118305b61f74d420f421125fc2e038c21d7ff08612e03ad24
DIST mcl-0.1.14.tar.gz 25685 BLAKE2B 1667344ad94ce98acda9319ce4e8795e8a598e6ff5ba6d7750b668c4d47c2c53be133956c7b2f82df3d6b5f0a28ad30e823a4947348fa5711ced366dfd1837c1 SHA512 1e8dfc41035228dcc0b6b907dffec60610b9d56ea44694e53dc84a135af2467bea4a06317a6f3ea8bb7ce915cbc4704c995da20dd2ac1f3eb01937b76f81162f

View File

@@ -0,0 +1,38 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="merry's common library"
# This is a fork of the `merryhime/mcl` repository
HOMEPAGE="https://github.com/azahar-emu/mcl"
SRC_URI="https://github.com/azahar-emu/mcl/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/libfmt:=
"
DEPEND="${RDEPEND}"
BDEPEND="
test? ( dev-cpp/catch )
"
PATCHES=(
"${FILESDIR}"/${PN}-0.1.13-build-tests-only-when-requested.patch
)
src_configure() {
local mycmakeargs=(
-DBUILD_TESTING=$(usex test)
-DMCL_WARNINGS_AS_ERRORS=no
)
cmake_src_configure
}