Files
guru/dev-libs/sealcurses/sealcurses-2.0.18_pre20241202.ebuild
Anna (cybertailor) Vyalkova cd153aefa1 dev-libs/sealcurses: add 2.0.18_pre20241202
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2024-12-14 00:25:38 +05:00

33 lines
715 B
Bash

# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake flag-o-matic
COMMIT="310348a6b88678a47d371c7edfcc1e8c76ca1677"
DESCRIPTION="SDL Emulation and Adaptation Layer for Curses"
HOMEPAGE="https://git.skyjake.fi/skyjake/sealcurses"
SRC_URI="https://git.skyjake.fi/skyjake/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}"
LICENSE="BSD-2"
SLOT="0/$(ver_cut 1-2)"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
RDEPEND="
dev-libs/tfdn:=
sys-libs/ncurses:=
"
DEPEND="${RDEPEND}"
src_configure() {
local -a mycmakeargs=(
-DSEALCURSES_ENABLE_STATIC=OFF
)
append-cppflags $(usex debug "-UNDEBUG" "-DNDEBUG")
cmake_src_configure
}