dev-libs/sealcurses: add 2.0.18_pre20230811

Add "-DNDEBUG" to remove debugging assertions.

Closes: https://bugs.gentoo.org/922655
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2024-01-22 15:53:37 +05:00
parent a73d9c9455
commit 6d64d81eb3
2 changed files with 33 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST sealcurses-2.0.18_pre20230206.tar.gz 22432 BLAKE2B e9736f965a7d5853bae6e9b388d87241e54469bed503bdd85f234072d4fcf9172d8eb8ed98dfad9f376242c71fec84a9dbedef76c5fac114bff6ea4d181e9257 SHA512 e21d9bab648e9a64bd349acbf5aada780cbf5ad8755bd6b1c308c5e318d1d61d2fefc95e480a051678c411297d339481868a07cf0a81c7cc2628e37ce33801e4
DIST sealcurses-2.0.18_pre20230811.tar.gz 22500 BLAKE2B d67b82c0f02384007c22dc9bba6864f39fceffe3184eb72619bd2e028ea825f1d599008015298aad47dd699c446e7d9f95c669ec596ba6c4db10fc0f82f63fea SHA512 c0b024c4b70e0f7cfbdeae6322141a4ec428cb1e6acc672657b1d63ef287248315393fc0df579dc11c65db91aba41b4afb3c80206680c009c591f7aa960683e1

View File

@@ -0,0 +1,32 @@
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake flag-o-matic
COMMIT="e06cbc502693a891525833b1131c6ab559bcd096"
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=(
-DENABLE_STATIC=OFF
)
append-cppflags $(usex debug "-UNDEBUG" "-DNDEBUG")
cmake_src_configure
}