diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-libs/cdk | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-libs/cdk')
| -rw-r--r-- | dev-libs/cdk/Manifest | 12 | ||||
| -rw-r--r-- | dev-libs/cdk/cdk-5.0.20230201-r2.ebuild | 65 | ||||
| -rw-r--r-- | dev-libs/cdk/cdk-5.0.20230201.ebuild | 60 | ||||
| -rw-r--r-- | dev-libs/cdk/cdk-5.0.20240331-r1.ebuild | 65 | ||||
| -rw-r--r-- | dev-libs/cdk/cdk-5.0.20240619-r2.ebuild | 71 | ||||
| -rw-r--r-- | dev-libs/cdk/cdk-5.0.20250116-r1.ebuild | 67 | ||||
| -rw-r--r-- | dev-libs/cdk/cdk-5.0.20251014.ebuild | 67 | ||||
| -rw-r--r-- | dev-libs/cdk/cdk-5.0.20260119.ebuild | 67 | ||||
| -rw-r--r-- | dev-libs/cdk/files/cdk-5.0.20240619-xlib.patch | 28 | ||||
| -rw-r--r-- | dev-libs/cdk/metadata.xml | 16 |
10 files changed, 518 insertions, 0 deletions
diff --git a/dev-libs/cdk/Manifest b/dev-libs/cdk/Manifest new file mode 100644 index 000000000000..a09ade04adea --- /dev/null +++ b/dev-libs/cdk/Manifest @@ -0,0 +1,12 @@ +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 +DIST cdk-5.0-20240619.tgz 547275 BLAKE2B c43689561f2338382c9defe9cd5b1d2b26672396ba973e1a7192311c2725a976f7e2c8d2ed25ec15ef64cc20ca677078cb162f4060bc1c4f99508c1a1df50bcb SHA512 13f15a53142167352f9b4e6ebd7d49cc2b4c209c36b53422f04d640bd652d33928e55af47f8e02a54a668e89f5df94245008b2a3466fdeae683224582f9a8919 +DIST cdk-5.0-20240619.tgz.asc 729 BLAKE2B 35113c83dbd649ec67a4b3c97d769f98650f5489536894f0111c5f492cd9a9bac387514cf231806f5e35ccd329c38b9a817fe5915ecdcf7c3959a2eddb1bc926 SHA512 fffebaed05ff032b83196bb9e186636bbe5d661a02a1736bc7a70bda8a5efb474fa91da1610852cb327f49701d0c1dc33214e911e3514d15bd512fd4d3ac6f2f +DIST cdk-5.0-20250116.tgz 549798 BLAKE2B 5509f5ce311f9cc0d3e833d18f9d434f0cd88b8106d9ffcce03b9203d63796089e1d67ac566ffc26a61f3e335a6327f48a0662959d5f497ee94f72e7970fed9a SHA512 d86a26fcce3f2b23c86138b0e620bafcae4ac63d1932f58c074a5e96b8eb856be1a858e190c6563d2986b92f9e770e5d0bd7c3d872f31880ceba41f9eb1754a2 +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 diff --git a/dev-libs/cdk/cdk-5.0.20230201-r2.ebuild b/dev-libs/cdk/cdk-5.0.20230201-r2.ebuild new file mode 100644 index 000000000000..5256d77f6b28 --- /dev/null +++ b/dev-libs/cdk/cdk-5.0.20230201-r2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2025 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.3.4" # 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 \ + --with-shlib-version=abi \ + --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 +} diff --git a/dev-libs/cdk/cdk-5.0.20230201.ebuild b/dev-libs/cdk/cdk-5.0.20230201.ebuild new file mode 100644 index 000000000000..b2886303b843 --- /dev/null +++ b/dev-libs/cdk/cdk-5.0.20230201.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 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.3.4" # 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 + econf \ + --disable-rpath-hack \ + --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 + [[ -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 +} diff --git a/dev-libs/cdk/cdk-5.0.20240331-r1.ebuild b/dev-libs/cdk/cdk-5.0.20240331-r1.ebuild new file mode 100644 index 000000000000..c449d58545a7 --- /dev/null +++ b/dev-libs/cdk/cdk-5.0.20240331-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2025 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.3.4" # 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 \ + --with-shlib-version=abi \ + --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 +} diff --git a/dev-libs/cdk/cdk-5.0.20240619-r2.ebuild b/dev-libs/cdk/cdk-5.0.20240619-r2.ebuild new file mode 100644 index 000000000000..ecc62e3868c3 --- /dev/null +++ b/dev-libs/cdk/cdk-5.0.20240619-r2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2025 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.3.4" # 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 ) +" + +PATCHES=( + "${FILESDIR}/${PN}-5.0.20240619-xlib.patch" +) + +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-shlib-version=abi \ + --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 + [[ -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 +} diff --git a/dev-libs/cdk/cdk-5.0.20250116-r1.ebuild b/dev-libs/cdk/cdk-5.0.20250116-r1.ebuild new file mode 100644 index 000000000000..82087b66b0c4 --- /dev/null +++ b/dev-libs/cdk/cdk-5.0.20250116-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 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.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 +} diff --git a/dev-libs/cdk/cdk-5.0.20251014.ebuild b/dev-libs/cdk/cdk-5.0.20251014.ebuild new file mode 100644 index 000000000000..af04bab75e99 --- /dev/null +++ b/dev-libs/cdk/cdk-5.0.20251014.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 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 +} diff --git a/dev-libs/cdk/cdk-5.0.20260119.ebuild b/dev-libs/cdk/cdk-5.0.20260119.ebuild new file mode 100644 index 000000000000..f1cf0e1c4d29 --- /dev/null +++ b/dev-libs/cdk/cdk-5.0.20260119.ebuild @@ -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 +} diff --git a/dev-libs/cdk/files/cdk-5.0.20240619-xlib.patch b/dev-libs/cdk/files/cdk-5.0.20240619-xlib.patch new file mode 100644 index 000000000000..e346fd8e24f4 --- /dev/null +++ b/dev-libs/cdk/files/cdk-5.0.20240619-xlib.patch @@ -0,0 +1,28 @@ +https://bugs.gentoo.org/831226 + +lib name is depend on USE flag 'unicode', but for unknown reason, +upstream remove XLIB in release 5.0.20240619 (always -lcdk instead +of -lcdkw if unicode is enabled), which cause link failed if +USE="unicode". + +diff --git a/cdk-config.in b/cdk-config.in +index 19b2972..aa0b2c8 100644 +--- a/cdk-config.in ++++ b/cdk-config.in +@@ -41,6 +41,7 @@ same_prefix=yes + same_exec_prefix=yes + + THIS="@PACKAGE@" ++XLIB="@LIB_ROOTNAME@" + + [ $# = 0 ] && exec @SHELL@ "$0" --error + +@@ -66,7 +67,7 @@ while [ $# -gt 0 ]; do + + eval LDFLAGS='"@LDFLAGS@"' + eval LIBS='"@LIBS@"' +- LIBS="-l${THIS} $LIBS" ++ LIBS="-l${XLIB} $LIBS" + + # If the directory given by --libdir is not in the LDFLAGS+LIBS set, + # prepend it to LDFLAGS to help link this application's library. diff --git a/dev-libs/cdk/metadata.xml b/dev-libs/cdk/metadata.xml new file mode 100644 index 000000000000..2ca858e4b366 --- /dev/null +++ b/dev-libs/cdk/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>zhixu.liu@gmail.com</email> + <name>Z. Liu</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <changelog>https://invisible-island.net/cdk/CHANGES.html</changelog> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
