From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B03FD1581EC for ; Sat, 23 Nov 2024 10:24:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1902E0841; Sat, 23 Nov 2024 10:24:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4391E0841 for ; Sat, 23 Nov 2024 10:24:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CDA38340C9C for ; Sat, 23 Nov 2024 10:24:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 66108130F for ; Sat, 23 Nov 2024 10:24:48 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1732357423.ff1b8bca8af50153ff9ac1fd5d50dc560b959362.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/cdk/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/cdk/Manifest dev-libs/cdk/cdk-5.0.20240619.ebuild X-VCS-Directories: dev-libs/cdk/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ff1b8bca8af50153ff9ac1fd5d50dc560b959362 X-VCS-Branch: master Date: Sat, 23 Nov 2024 10:24:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 643d26b3-d935-4973-98b0-edd20ab012a0 X-Archives-Hash: f1e62d160d3e5b7cbd37137d81599fef commit: ff1b8bca8af50153ff9ac1fd5d50dc560b959362 Author: Sam James gentoo org> AuthorDate: Sat Nov 23 10:23:43 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat Nov 23 10:23:43 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff1b8bca dev-libs/cdk: add 5.0.20240619 Signed-off-by: Sam James gentoo.org> dev-libs/cdk/Manifest | 2 ++ dev-libs/cdk/cdk-5.0.20240619.ebuild | 65 ++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/dev-libs/cdk/Manifest b/dev-libs/cdk/Manifest index 3ad50fa1d50a..1d4f3f73423e 100644 --- a/dev-libs/cdk/Manifest +++ b/dev-libs/cdk/Manifest @@ -2,3 +2,5 @@ DIST cdk-5.0-20230201.tgz 533972 BLAKE2B 8667583ea1401ab04dc43dbd93f8580ee898c35 DIST cdk-5.0-20230201.tgz.asc 729 BLAKE2B 9076836bb6fd8f89ad4c474b7fc2beb3fa9fd16a3c2d530ce34052af65231e2d77f3879d02ca031be6a7bdac6bba29f40bac3320fc513fc3ba5e617316184ed4 SHA512 85e80c49049da9cd335013e564fd15929a127b3fec24bdb50d153196b47f4092c353a7bd6a40211566a7f4d09701cc75d66f9b3b32fed50c6b728e17dc7a166a DIST cdk-5.0-20240331.tgz 538287 BLAKE2B 0d4e3b8d04056aa658e94a29a836cdc4f82c2281783c11eb74715724befe983954b14ae9aae4dd4e17e772d711becb798107e910234aba02fe626e004ef6f216 SHA512 dfd5a038ec839e7cfe8850d41bace4cf34b44cf7a52c60912838051a959ecd6b2077a29b1dc152425ce518f5c578236bfa4d6736eaa096727e08bd16785d4d34 DIST cdk-5.0-20240331.tgz.asc 729 BLAKE2B 108697e54bbc335cb8aa8e3c4d29fdaffb2a3d8a05f9608f8f5e87ab0cd7ffae74ad9b70ef1dec10cda859e515a19de35b25dbed72dfd185aebab7f92a61153f SHA512 923ecf8ede1b799d6c91220d10f3f4721ac049ee9d0e1716751a4c607fd9e19c67745a202e1cef910821e2c68955733e22e7ef2e6624a9f03fd6fd8e165272b8 +DIST cdk-5.0-20240619.tgz 547275 BLAKE2B c43689561f2338382c9defe9cd5b1d2b26672396ba973e1a7192311c2725a976f7e2c8d2ed25ec15ef64cc20ca677078cb162f4060bc1c4f99508c1a1df50bcb SHA512 13f15a53142167352f9b4e6ebd7d49cc2b4c209c36b53422f04d640bd652d33928e55af47f8e02a54a668e89f5df94245008b2a3466fdeae683224582f9a8919 +DIST cdk-5.0-20240619.tgz.asc 729 BLAKE2B 35113c83dbd649ec67a4b3c97d769f98650f5489536894f0111c5f492cd9a9bac387514cf231806f5e35ccd329c38b9a817fe5915ecdcf7c3959a2eddb1bc926 SHA512 fffebaed05ff032b83196bb9e186636bbe5d661a02a1736bc7a70bda8a5efb474fa91da1610852cb327f49701d0c1dc33214e911e3514d15bd512fd4d3ac6f2f diff --git a/dev-libs/cdk/cdk-5.0.20240619.ebuild b/dev-libs/cdk/cdk-5.0.20240619.ebuild new file mode 100644 index 000000000000..e17030d35bd1 --- /dev/null +++ b/dev-libs/cdk/cdk-5.0.20240619.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 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" +SLOT="0/6" # subslot = soname version +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ppc ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +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-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 + 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 +}