gentoo-ebuilds/dev-libs/libtsm/libtsm-4.1.0.ebuild
Sam James 25bef13b30
dev-libs/libtsm: Stabilize 4.1.0 amd64, #964717
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-21 04:22:17 +01:00

32 lines
650 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Terminal Emulator State Machine"
HOMEPAGE="https://github.com/Aetf/libtsm"
SRC_URI="https://github.com/Aetf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
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
}