dev-libs/fuzzylite - 6.0 (gamerlay)

Search

Package Information

Description:
A Fuzzy Logic Control Library in C++
Homepage:
https://www.fuzzylite.com/
License:
LGPL-3

Ebuild Details

Version EAPI Keywords Slot
6.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="A Fuzzy Logic Control Library in C++"
HOMEPAGE="https://www.fuzzylite.com/"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"

S="${WORKDIR}/${P}/${PN}"

DOCS="../README.md"

PATCHES=( "${FILESDIR}"/0000-add-gcc11-12-suppor.patch )

src_configure() {
	local mycmakeargs=(
		-DFL_BUILD_STATIC=$(usex static-libs)
		-DFL_USE_FLOAT=OFF # https://bugs.gentoo.org/905664#c1
		-DFL_BACKTRACE=ON
		-DFL_BUILD_TESTS=OFF
		-DCMAKE_CXX_FLAGS="-Wno-error"
	)
	cmake_src_configure
}

USE Flags

Manifest for 6.0

Type File Size Source URLs
DIST fuzzylite-6.0.tar.gz 2189181 bytes https://github.com/fuzzylite/fuzzylite/archive/v6.0.tar.gz