dev-libs/cdk: bump to 20260119

Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45965
Closes: https://github.com/gentoo/gentoo/pull/45965
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Z. Liu
2026-03-18 17:31:34 +08:00
committed by Sam James
parent e2f40a0a4d
commit 398ed4c93b
2 changed files with 69 additions and 0 deletions

View File

@@ -8,3 +8,5 @@ DIST cdk-5.0-20250116.tgz 549798 BLAKE2B 5509f5ce311f9cc0d3e833d18f9d434f0cd88b8
DIST cdk-5.0-20250116.tgz.asc 729 BLAKE2B 1d624eeb1071d3ed1b6174941fa5059ae35f7208b8e213bb9cb6d3cf1210d8c62fc7fa7217c13324591e21325a199c6abf09a5afa37ff3d6b38bb280d4b146f8 SHA512 643e3bf1aa71873341a4455626fd284d80be261abfc694dbc93c07c62ce9e8dde38b690c196b780e697c39d44b53dde038543b95615ead1a05364c334f2b152d
DIST cdk-5.0-20251014.tgz 551916 BLAKE2B c144a12740e9a8e9b06e42c2bc5c61b9f0c62f121a8bd7a2cf0672e9fdae93146836ab8d4ae5da0a6cc1bc4e58822579f851065b3d93e8d3ba4210ed88cb508e SHA512 dc3b66b4139d85fd260885f5e7fb8ccf6f38325ec6478d00d869074b37ceac735d62424c21802e502a274f7c0197c762c6624e15b33c23cf56432b9c65a06622
DIST cdk-5.0-20251014.tgz.asc 729 BLAKE2B 1824d59b873d26ef7912a8533d662b7a8b28a2f34376ac51ed403459c1d4458babbbaf49978746504c06024ba7dcaddbcc0c620f1117c9761c598ab219659778 SHA512 84729adf3412dd0932ef96b3cc146799ec41e529defc9e2ae7f630c96398d65b0b7ab759ad79ace731288dfe9180bad1178387414c1a287a7f76d81666ea5a58
DIST cdk-5.0-20260119.tgz 554557 BLAKE2B 038464926bd652cf6ecbc81edf8bd67c7841d843e1e55afbae31a39715f586e0107e4307aa9c9ccaab2579bd450299102c6e33155b1a1f1a629330fa6beb42fb SHA512 68a4b497c1cdf319152c9c819798677bb90f5fd07227a027da6b7ffc3431631c0e2cda2becef53fb0b94c43f296eaab164e6ed4c222973007c4f1b3a5e757ee1
DIST cdk-5.0-20260119.tgz.asc 729 BLAKE2B 2afe89189644c2269c763d983fe6e7cbf635f25abd87f58428a06d8f252b7f3295883dc3f8333050c425a1cec3958ba06e118b22349506b5ddf658131e06b4f4 SHA512 a22b81a9e02233b4a06d72c43f33be1b9c468722231025fbe54c8fd68fbd7d8b580a517384daf40c94ea803b9acf91bc904d3270a77a765aeaf4e2e78351e79e

View File

@@ -0,0 +1,67 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_P="${PN}-$(ver_rs 2 -)"
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/thomasdickey.asc
inherit verify-sig
DESCRIPTION="A library of curses widgets"
HOMEPAGE="https://dickey.his.com/cdk/cdk.html https://github.com/ThomasDickey/cdk-snapshots"
SRC_URI="https://invisible-island.net/archives/${PN}/${MY_P}.tgz"
SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/${PN}/${MY_P}.tgz.asc )"
S="${WORKDIR}"/${MY_P}
LICENSE="MIT GPL-3"
SLOT="0/6.3.5" # subslot = soname version, check VERSION
KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="examples unicode"
DEPEND="sys-libs/ncurses:=[unicode(+)?]"
RDEPEND="${DEPEND}"
BDEPEND="
virtual/pkgconfig
verify-sig? ( sec-keys/openpgp-keys-thomasdickey )
"
src_configure() {
if [[ ${CHOST} == *-*-darwin* ]] ; then
export ac_cv_prog_LIBTOOL=glibtool
fi
# --with-libtool dropped for now because of broken Makefile
# bug #790773
#
# Fedora and openSUSE at least both build with --enable-const. Without
# this, consumers end up broken like gphoto2 in bug #919279.
econf \
--disable-rpath-hack \
--enable-const \
--with-shared \
--with-pkg-config \
--enable-pc-files \
--with-shlib-version=abi \
--with-pkg-config-libdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig" \
--with-ncurses$(usex unicode "w" "")
}
src_install() {
# parallel make installs duplicate libs
emake -j1 \
DESTDIR="${D}" \
DOCUMENT_DIR="${ED}/usr/share/doc/${PF}" \
install
if use examples ; then
local x
for x in include c++ demos examples cli cli/utils cli/samples ; do
[[ -d ${x} ]] || continue
docinto ${x}
find ${x} -maxdepth 1 -mindepth 1 -type f -print0 | xargs -0 dodoc || die
done
fi
find "${ED}" \( -name '*.a' -or -name '*.la' \) -delete || die
}