diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-15 00:09:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-15 00:09:17 +0100 |
commit | 6a7029e0f7370d4d5dfe9e31cc2719a870482392 (patch) | |
tree | 28c6c747114eaedfd2db81f86ac2ff3d7d13111e /dev-util/poke | |
parent | 5e41a38157bb40e8513e8e34426e85faba672fe7 (diff) |
gentoo auto-resync : 15:06:2024 - 00:09:17
Diffstat (limited to 'dev-util/poke')
-rw-r--r-- | dev-util/poke/Manifest | 4 | ||||
-rw-r--r-- | dev-util/poke/poke-4.0.ebuild | 2 | ||||
-rw-r--r-- | dev-util/poke/poke-4.1.ebuild | 138 |
3 files changed, 142 insertions, 2 deletions
diff --git a/dev-util/poke/Manifest b/dev-util/poke/Manifest index 923a00bbfc95..767a47a55e51 100644 --- a/dev-util/poke/Manifest +++ b/dev-util/poke/Manifest @@ -1,7 +1,9 @@ AUX 50poke-gentoo.el 334 BLAKE2B f5519ada4b710ea3c7aacdf716674b4a5d8b1af3d639b5de72f58cf974335ca49a27641c305c31fc34e07d88fedb959674d402355324b89fe955df73e418f302 SHA512 293ef7fbe66bbba71580173cebed9ba0bbe76f862e4ddc6ec78302724e7fc9eb159e40404bee46c32a30f472efeb7ed60d464b4324d0c8ca8cf147220a4d76ca DIST poke-3.3.tar.gz 7553544 BLAKE2B 1e98f77937f9c45daa80591be603a74857b1bbd230cb931e59d7e9753c1687d5a4c96837bb6aca76615feca71cbeabd3be7ad234260657288d060ff63d59c040 SHA512 b00dca38d27bddee6ea131d45988aaead1d11d29b757c048f3b2be8013575cedc591844d4d99870f90964fd4f517d500cbb42aae5aff57e9fe07aac8273aa236 DIST poke-4.0.tar.gz 8224479 BLAKE2B d7778274e2fcf3657e800ebc8b2a11e7c0e9d81b5a41ab366d7dbf8772afa8ec0f7c07c70eae1c297acc1b5ac9fb584fb6bdb1c6eedd94c62ae9123aefe08df2 SHA512 3b6a15bf5542b34a794efd31bd575b5024c14f71474581b845097f38b43cef178ee2078f680ab9ec329b4336d1b99cc5832818bd4e7a6372fec6f95e9a11534a +DIST poke-4.1.tar.gz 8243284 BLAKE2B 1fec0087199f7a265aa30e21c7ecc783e1919ef128b0786d3ca61f34b18e2fe9433e41ad5d2e6a43458c13b0debaa4bd12d0b913868b4737c0af77a81955106b SHA512 e539708fb5a827f4e4ce4748610cb4ada008f3257700c66db6d9f71b12974fd432f8949e0f29c24d848b1b175392ab0085a158687534e63a153adbc909d5494d EBUILD poke-3.3.ebuild 2574 BLAKE2B b8653eaf3b947bc84b28fd244091fa2bf090345cdad027acbac4851f0efe56ad6a5ade677984a7bf8df388e51eda9c1e0d1fbc00af2e6aed229614a58c1d510f SHA512 f4393dade5ab20cbe49856ef7ec90b1259dee115eaefd08f0a7092b22d36137488eac6b5798c66c911fb801b116bbadc775ed7b6cf5d431251e4ba403c6741b7 -EBUILD poke-4.0.ebuild 2728 BLAKE2B 8fd7195203063f4e47423ad876215ce6ba3345d767f4648b0524349a7b6c7dd00e14bf44d6e529320a297adcced845df3ea86d48184e06b5f587ce58b0cda6a4 SHA512 952d4f42578ddc5b4ffe927544d3e8e1dd2ac2f2f7f20bcc3b9234f97a67ff771f09bed4dfa8f12019f692ea0554857653579e4601ee15d62cdfc15d98e95263 +EBUILD poke-4.0.ebuild 2727 BLAKE2B cdf80194eb00d9f844e5443d408ffa6507c0660eed2b6a689308b71a15c229382c1f2904bef4fa33faf563030b20118218dc61034c8c3e09944954181267b8e3 SHA512 664a66a2957ce4c8c86bdb143e36efb1475a2af84e51b2d070b57bff93f3b3a554354ce7fde5f9f6394283c014df8db58abad0167b67812e743da7ff41954b37 +EBUILD poke-4.1.ebuild 2728 BLAKE2B 8fd7195203063f4e47423ad876215ce6ba3345d767f4648b0524349a7b6c7dd00e14bf44d6e529320a297adcced845df3ea86d48184e06b5f587ce58b0cda6a4 SHA512 952d4f42578ddc5b4ffe927544d3e8e1dd2ac2f2f7f20bcc3b9234f97a67ff771f09bed4dfa8f12019f692ea0554857653579e4601ee15d62cdfc15d98e95263 EBUILD poke-9999.ebuild 2455 BLAKE2B 719f98bef4695a5bf4e2e2dab13f5dedd8183e80b2fa9b7f870120ac2fa4e09ec829dda60594a453a9a7dc6cdbccb320527cd77f90fd875077b1c5783d677fc8 SHA512 f7f7b9ab53fa226014fec33c2db446607d398a473ba38da55ed407a5a73fbbe4f1fcc7d04a9f31b768d076b05fe680385a12b40fb22c3ffc7528e68092c4897b MISC metadata.xml 514 BLAKE2B 5df1664ca8693598aba1a31675859940052e5e3aa6f5b045036e0da3a47a26ed601f6241977c8a1e611a096798f6d219e6818ce2963f88a4d5e4f6595495e877 SHA512 3e60b71e68d20a2b8c6ee0a5133b41a4beccf942a9c52739dbf7f11c998851411464d2882b0d2b2aab96ea00b9994d3dc73b2d68afcf874af1e561efaa97caf2 diff --git a/dev-util/poke/poke-4.0.ebuild b/dev-util/poke/poke-4.0.ebuild index 4f6fda3e59da..2d2e963cc385 100644 --- a/dev-util/poke/poke-4.0.ebuild +++ b/dev-util/poke/poke-4.0.ebuild @@ -25,7 +25,7 @@ elif [[ $(ver_cut 2) -ge 90 || $(ver_cut 3) -ge 90 ]]; then REGEN_BDEPEND="" else SRC_URI="mirror://gnu/poke/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 ~x86" REGEN_BDEPEND="" fi diff --git a/dev-util/poke/poke-4.1.ebuild b/dev-util/poke/poke-4.1.ebuild new file mode 100644 index 000000000000..4f6fda3e59da --- /dev/null +++ b/dev-util/poke/poke-4.1.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp-common flag-o-matic toolchain-funcs + +DESCRIPTION="Extensible editor for structured binary data" +HOMEPAGE="https://www.jemarch.net/poke" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.savannah.gnu.org/git/poke.git" + REGEN_BDEPEND=" + >=dev-build/autoconf-2.62 + >=dev-build/automake-1.16 + sys-apps/gawk + sys-apps/help2man + sys-apps/texinfo + app-alternatives/yacc + app-alternatives/lex + " +elif [[ $(ver_cut 2) -ge 90 || $(ver_cut 3) -ge 90 ]]; then + SRC_URI="https://alpha.gnu.org/gnu/poke/${P}.tar.gz" + REGEN_BDEPEND="" +else + SRC_URI="mirror://gnu/poke/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + REGEN_BDEPEND="" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="emacs pvm-profiling nbd nls test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/boehm-gc:= + dev-libs/libatomic_ops + sys-devel/gettext + sys-libs/readline:= + emacs? ( >=app-editors/emacs-23.1:* ) + nbd? ( sys-libs/libnbd ) +" +DEPEND=" + ${RDEPEND} + test? ( nbd? ( sys-libs/libnbd[uri-support(+)] ) ) +" +BDEPEND=" + ${REGEN_BDEPEND} + virtual/pkgconfig + pvm-profiling? ( sys-devel/gcc ) + emacs? ( >=app-editors/emacs-23.1:* ) + test? ( + dev-util/dejagnu + nbd? ( sys-block/nbdkit ) + ) +" + +SITEFILE="50${PN}-gentoo.el" + +pkg_pretend() { + if use pvm-profiling && ! tc-is-gcc; then + die "USE=pvm-profiling requires GCC" + fi +} + +pkg_setup() { + use emacs && elisp-check-emacs-version +} + +src_prepare() { + default + + if [[ ${PV} == 9999 ]]; then + ./bootstrap || die + fi +} + +src_configure() { + # See bug 858461. + # Upstream support might happen one day. For context, only one file needs + # LTO to be disabled (since it's an autogenerated bytecode interpreter), + # others do not. The build system will handle this at some point in the + # future. Until then, just filter out LTO. + filter-lto + + local myconf=( + --with-lispdir="${EPREFIX}/${SITELISP}/${PN}" + --enable-hserver + $(use_enable nbd libnbd) + $(use_enable pvm-profiling) + $(use_enable nls) + ) + + econf "${myconf[@]}" +} + +src_compile() { + default + + if use emacs; then + cd etc || die + elisp-compile *.el + fi +} + +src_install() { + default + + if use emacs; then + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + cd etc || die + elisp-install "${PN}" *.el *.elc + fi + find "${ED}" -name '*.la' -delete || die +} + +pkg_preinst() { + UPGRADING_POKE=false + if has_version '<dev-util/poke-4'; then + UPGRADING_POKE=true + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen + + if "${UPGRADING_POKE}"; then + ewarn "GNU poke 4.0 moves the ELF pickle to a separate package." + ewarn "To install elf.pk, please install dev-util/poke-elf." + fi +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |