You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
712 B
37 lines
712 B
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit cmake-utils
|
|
|
|
DESCRIPTION="Run Time Type Reflection - library adding reflection to C++"
|
|
HOMEPAGE="https://www.rttr.org/"
|
|
SRC_URI="https://github.com/rttrorg/${PN}/releases/download/v${PV}/${P}-src.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm64 x86"
|
|
IUSE=""
|
|
|
|
RESTRICT="test"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${P}-cmake.patch"
|
|
"${FILESDIR}/${P}-permission.patch"
|
|
"${FILESDIR}/${P}-tests.patch"
|
|
"${FILESDIR}/${P}-werror.patch"
|
|
)
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DBUILD_DOCUMENTATION=off #broken
|
|
)
|
|
|
|
cmake-utils_src_configure
|
|
}
|
|
|
|
src_test() {
|
|
"${BUILD_DIR}"/bin/unit_tests || die
|
|
}
|