mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
A header from it is needed (though it does have a bundled copy it can use, it doesn't seem to do that for tests anyway). Closes: https://bugs.gentoo.org/956686 Signed-off-by: Sam James <sam@gentoo.org>
36 lines
735 B
Bash
36 lines
735 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake
|
|
|
|
COMMIT="69922bde02c7af83b4d48a414cc6036af7388626"
|
|
|
|
DESCRIPTION="Terminal Emulator State Machine"
|
|
HOMEPAGE="https://github.com/Aetf/libtsm"
|
|
SRC_URI="https://github.com/Aetf/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
S=${WORKDIR}/${PN}-${COMMIT}
|
|
|
|
LICENSE="LGPL-2.1 MIT"
|
|
SLOT="0/4"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
# Needed for xkbcommon-keysyms.h
|
|
DEPEND="x11-libs/libxkbcommon"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${PN}-cmake.patch"
|
|
"${FILESDIR}/${PN}-clang16-static_assert-fix.patch"
|
|
)
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DBUILD_TESTING=$(usex test)
|
|
)
|
|
|
|
cmake_src_configure
|
|
}
|