mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
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:
32
dev-libs/sealcurses/sealcurses-2.0.18_pre20230811.ebuild
Normal file
32
dev-libs/sealcurses/sealcurses-2.0.18_pre20230811.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user