dev-libs/dynarmic - 9999-r1 (menelkir)

Search

Install

Install this version:

emerge -a =dev-libs/dynarmic-9999-r1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-libs/dynarmic-9999-r1

Or alternatively:

emerge --autounmask-write -a =dev-libs/dynarmic-9999-r1

Package Information

Description:
An ARM dynamic recompiler
Homepage:
https://github.com/MerryMage/dynarmic
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
9999-r1 7 0
View Raw Ebuild
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake vcs-snapshot git-r3

DESCRIPTION="An ARM dynamic recompiler"
HOMEPAGE="https://github.com/MerryMage/dynarmic"
EGIT_REPO_URI="https://github.com/MerryMage/dynarmic"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="test"

RDEPEND="dev-libs/boost:="
DEPEND="${RDEPEND}
	dev-cpp/catch:0
	dev-libs/libfmt:=
	dev-libs/xbyak
"

PATCHES=(
	"${FILESDIR}/dynarmic-skip-bundled-dependencies.patch"
)

src_prepare() {
	cmake_src_prepare
	rm -r externals/{catch,fmt,xbyak} || die
}

src_configure() {
	local mycmakeargs=(
		-DDYNARMIC_SKIP_EXTERNALS=ON
		-DDYNARMIC_TESTS=$(usex test)
		-DDYNARMIC_WARNINGS_AS_ERRORS=OFF
	)
	cmake_src_configure
}

src_install() {
	insinto /usr/include
	doins -r "include/${PN}"

	dolib.so "${BUILD_DIR}/src/lib${PN}.so"
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-libs/dynarmic | euse -E <flag> -p dev-libs/dynarmic | euse -D <flag> -p dev-libs/dynarmic

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

dev-libs/boost:=
	dev-cpp/catch:0
	dev-libs/libfmt:=
	dev-libs/xbyak

RDEPEND

dev-libs/boost:=