summaryrefslogtreecommitdiff
path: root/dev-libs/cdk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-06 12:30:38 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-06 12:30:38 +0100
commit74a32c3ccafc7895a037d2b0cf73fc726286ec2e (patch)
treea8d64068ab0700b96b89bd160cc99a00684c19d7 /dev-libs/cdk
parentf4ee508de68f4da495d887f2855afbe02434a561 (diff)
gentoo auto-resync : 06:04:2024 - 12:30:38
Diffstat (limited to 'dev-libs/cdk')
-rw-r--r--dev-libs/cdk/Manifest3
-rw-r--r--dev-libs/cdk/cdk-5.0.20240331.ebuild63
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-libs/cdk/Manifest b/dev-libs/cdk/Manifest
index 2a82587a64e8..8d6326236687 100644
--- a/dev-libs/cdk/Manifest
+++ b/dev-libs/cdk/Manifest
@@ -1,5 +1,8 @@
DIST cdk-5.0-20230201.tgz 533972 BLAKE2B 8667583ea1401ab04dc43dbd93f8580ee898c351f52552889fb642f38ad85536f5fbcc6724659bff83a1f9adc1addf5632c39d9162b628efd341f45e94b2b823 SHA512 2b072dc5eba66bb043f56c5d558ddafb0d9281160107f901b5b4c262182946b7c55cf5b1bdf0d0536fd7db6d95fd6b3ddd9dd367fccc63bb0d95eb3c98da58fd
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
EBUILD cdk-5.0.20230201-r1.ebuild 1731 BLAKE2B 3d58f2a2a40b8a2160aa639444f6ad7097f28c19f10b51a21a6db6a17afcbd2fa9ce8311e857fe618157730f2c301f36353287765885214479be94d0292c4bfb SHA512 c4085a4d4716dc63e78da4ad7827fe3246ad1914099f845ba3f91003a45f739cf485b868ea34995e6c16397cd64019416eb99d098d556373b4c4aa6acefa0503
EBUILD cdk-5.0.20230201.ebuild 1570 BLAKE2B e8a27c5ce94b8702647d18f434a5a86567d67a74d28f2ec059b4b53becd64e47dc166fe5699e36acfc2e4c19723650c08f27e04135c1d780557ce050b74cc29a SHA512 b250845e1d1947554ac981ac9122668bd77bb58b17b71dea851f1fc7589bab3329d894a64d68703996463323a848199bf9817c910e4a820a46cbae4260743150
+EBUILD cdk-5.0.20240331.ebuild 1731 BLAKE2B c1f81954ea26b345d3624dfd874bbe33a257ee18db9c2be65c91f9f91ac2b8c8e6961b7aaedaf57d9cda8d0c835a835f38f834ddb06ffd577d9f51387f4a5a34 SHA512 a3122c54cd5d37f6932eb09f873a89eff41d8663ac354109813d5d57ebd78753024af1f6588482f9cdab36a51e7a3e59f695c30fd19aced9505fd0b664725eae
MISC metadata.xml 324 BLAKE2B bf46126999ac5cdcd845a040fd4a3999ce2a068e55ef9bb51502318ae95b7fced58a315939649b7f33a7a40f2c4e47a4255c86fd4a4e141cd1513176e109fb2d SHA512 865d63909eea54c984081d7203b09d07439c2b91bf29eabe3d1fa9958fd82e38e19527aafd6ec4e8cfe844082178084b9f418820ccbd22e7c554c770b7d56b3a
diff --git a/dev-libs/cdk/cdk-5.0.20240331.ebuild b/dev-libs/cdk/cdk-5.0.20240331.ebuild
new file mode 100644
index 000000000000..aa3072aaa56e
--- /dev/null
+++ b/dev-libs/cdk/cdk-5.0.20240331.ebuild
@@ -0,0 +1,63 @@
+# 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 ~ia64 ~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 \
+ --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
+}