diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-20 21:42:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-20 21:42:17 +0100 |
commit | 90a3be9d71a22834f9bc82c072f1b993f9a10e31 (patch) | |
tree | 7f86c1f37e857df29494ec91436ca76bed49441a /dev-util/poke | |
parent | a597364520b9291d0b2a23bb007ced022e821d95 (diff) |
gentoo auto-resync : 20:08:2023 - 21:42:17
Diffstat (limited to 'dev-util/poke')
-rw-r--r-- | dev-util/poke/Manifest | 2 | ||||
-rw-r--r-- | dev-util/poke/poke-3.3.ebuild | 126 |
2 files changed, 128 insertions, 0 deletions
diff --git a/dev-util/poke/Manifest b/dev-util/poke/Manifest index a9895218ff9f..c8e337932ead 100644 --- a/dev-util/poke/Manifest +++ b/dev-util/poke/Manifest @@ -4,10 +4,12 @@ DIST poke-2.90.1.tar.gz 7512925 BLAKE2B 38c9283f1c0b183b1b74c2ebd347edf6e9a9191d DIST poke-3.0.tar.gz 7510801 BLAKE2B 4e80bd0603b0f690f7b6dc9b3913bb165f61160cd6e677751e6f8ea444bc395141204cc32c3ed97bad4b4044d505a800a64a4c973200e7338b50f05d9ea90c25 SHA512 5b786cdfae732a1f7196b0c4bf271c97f204f8fe9de9b34d92704f35150c8abfc2c080940d67efac63e3e82d0d4afe2fde4b75066faf9f4d1e9df6b6f62edb96 DIST poke-3.1.tar.gz 7562582 BLAKE2B c348973185e7f33d670a9dccab60c02e8ccc247c5aa46936ac4b04674687c9e7edae707639a16c3853232b422d0c969930fe3879b59c1dba351fe7c3da56d34f SHA512 5680ce13b0a8e9a1f2770d295bccf7ccbe3aff54f3f4301a12c4719f54a6717ce5addb6ae3fe0478d0e426ccc756ef06a5e852b0d6ada0f8d3c587640ad209dd DIST poke-3.2.tar.gz 7559660 BLAKE2B c1d5739a1a497fb3daadec53fe812b65ec787dd268030a6517764541497c82451f4df391f3c434ef7729bc8e3762c31852ef3ce41aa83928e7646c40bde557dd SHA512 bd3651a2962165b318cc59c53604199eb6278ee3be45c18c36864612b0926d78a06f0e1338fdcc1fcd1cd48e2792bb3cd36a2bb5383143a66dc3aab023c0019c +DIST poke-3.3.tar.gz 7553544 BLAKE2B 1e98f77937f9c45daa80591be603a74857b1bbd230cb931e59d7e9753c1687d5a4c96837bb6aca76615feca71cbeabd3be7ad234260657288d060ff63d59c040 SHA512 b00dca38d27bddee6ea131d45988aaead1d11d29b757c048f3b2be8013575cedc591844d4d99870f90964fd4f517d500cbb42aae5aff57e9fe07aac8273aa236 EBUILD poke-2.4-r1.ebuild 2589 BLAKE2B 2890f51ef7b0cd9d92ff1552716487e56c9cbe91f56ecd904e156bf8b9c020da57d834756a2cd971f42f35f62f504d9dda0baa74caf2112202bcbe5dff3fc513 SHA512 93bb5c643a2232bc515b37aa1f9f769b0ada88bb391234f89aa467b5de52d07e45072585217acdba59eb2f9cf0210a18c6a0494e33bfeee05f0680f70eb0d989 EBUILD poke-2.90.1.ebuild 2288 BLAKE2B cf999f5cd5d214a34a409ac03e75e521ab97bc715d2519839ecabfffff5d36b4e86dd423404baca4b0030d9aa9aa0f04a4199ee890c4ebcf7ac1db1021a717d5 SHA512 ec3b7ebca203e52df3f16eb3928e111194cb2e4f5be35208a10586d8a77fc5ae7ccffa2728bb3e795a85740d32b7bbfd3b5b7c8f909a041cade295a3ec51cfc3 EBUILD poke-3.0.ebuild 2443 BLAKE2B e910747cb87493d0374e1d8188bdb3d8ada0b7dcf7284181507cccd66f5668538c56cbcb36970e95ade54ceb078ed4fbbe7d4c729000e3dd34f94a3f435d07bc SHA512 ba1f5e4a17906e6b24b152b9f9dbaec57efefb83c26505525aad16565f0f1d08ac17e8faa72ed5d06badae2f95ee609afb56b21e3718cc0009cd547750ea372f EBUILD poke-3.1.ebuild 2443 BLAKE2B e910747cb87493d0374e1d8188bdb3d8ada0b7dcf7284181507cccd66f5668538c56cbcb36970e95ade54ceb078ed4fbbe7d4c729000e3dd34f94a3f435d07bc SHA512 ba1f5e4a17906e6b24b152b9f9dbaec57efefb83c26505525aad16565f0f1d08ac17e8faa72ed5d06badae2f95ee609afb56b21e3718cc0009cd547750ea372f EBUILD poke-3.2.ebuild 2443 BLAKE2B e910747cb87493d0374e1d8188bdb3d8ada0b7dcf7284181507cccd66f5668538c56cbcb36970e95ade54ceb078ed4fbbe7d4c729000e3dd34f94a3f435d07bc SHA512 ba1f5e4a17906e6b24b152b9f9dbaec57efefb83c26505525aad16565f0f1d08ac17e8faa72ed5d06badae2f95ee609afb56b21e3718cc0009cd547750ea372f +EBUILD poke-3.3.ebuild 2443 BLAKE2B e910747cb87493d0374e1d8188bdb3d8ada0b7dcf7284181507cccd66f5668538c56cbcb36970e95ade54ceb078ed4fbbe7d4c729000e3dd34f94a3f435d07bc SHA512 ba1f5e4a17906e6b24b152b9f9dbaec57efefb83c26505525aad16565f0f1d08ac17e8faa72ed5d06badae2f95ee609afb56b21e3718cc0009cd547750ea372f EBUILD poke-9999.ebuild 2443 BLAKE2B e910747cb87493d0374e1d8188bdb3d8ada0b7dcf7284181507cccd66f5668538c56cbcb36970e95ade54ceb078ed4fbbe7d4c729000e3dd34f94a3f435d07bc SHA512 ba1f5e4a17906e6b24b152b9f9dbaec57efefb83c26505525aad16565f0f1d08ac17e8faa72ed5d06badae2f95ee609afb56b21e3718cc0009cd547750ea372f MISC metadata.xml 514 BLAKE2B 5df1664ca8693598aba1a31675859940052e5e3aa6f5b045036e0da3a47a26ed601f6241977c8a1e611a096798f6d219e6818ce2963f88a4d5e4f6595495e877 SHA512 3e60b71e68d20a2b8c6ee0a5133b41a4beccf942a9c52739dbf7f11c998851411464d2882b0d2b2aab96ea00b9994d3dc73b2d68afcf874af1e561efaa97caf2 diff --git a/dev-util/poke/poke-3.3.ebuild b/dev-util/poke/poke-3.3.ebuild new file mode 100644 index 000000000000..9ac3d2fc40bf --- /dev/null +++ b/dev-util/poke/poke-3.3.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2023 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=" + >=sys-devel/autoconf-2.62 + >=sys-devel/automake-1.16 + sys-apps/gawk + sys-apps/help2man + sys-apps/texinfo + sys-devel/bison + sys-devel/flex + " +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_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |