summaryrefslogtreecommitdiff
path: root/dev-util/poke
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-20 20:08:51 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-20 20:08:51 +0000
commitd3419aa304ff2564036398be5e8ed4bdeaeaa007 (patch)
tree40ed2d4f8dd5f80c5647645dc91bb22deb7c4d8a /dev-util/poke
parent6aa0d33a65c735f3148967b62316c2e71f43589a (diff)
gentoo auto-resync : 20:01:2024 - 20:08:51
Diffstat (limited to 'dev-util/poke')
-rw-r--r--dev-util/poke/Manifest2
-rw-r--r--dev-util/poke/poke-3.90.0.ebuild126
2 files changed, 128 insertions, 0 deletions
diff --git a/dev-util/poke/Manifest b/dev-util/poke/Manifest
index 6187e85e102a..68126320061f 100644
--- a/dev-util/poke/Manifest
+++ b/dev-util/poke/Manifest
@@ -5,11 +5,13 @@ DIST poke-3.0.tar.gz 7510801 BLAKE2B 4e80bd0603b0f690f7b6dc9b3913bb165f61160cd6e
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
+DIST poke-3.90.0.tar.gz 7971780 BLAKE2B ef4a5e0a25f1851e4f44314cc9e3b62c6eeb7458d5c4b3da1d7ea798c7b58b57c4ba113e3dac221e757b0d52d8b609c9cd1910a82f36d9aafe0393a1a1fa6a02 SHA512 34b2baee4317582d4ca68001b9f1bd540277c6ef133ebec49de6d45db0d564815da376b4f9761369e80976570c4bbd05272b215e78391b0a818390e613e21b1a
EBUILD poke-2.4-r1.ebuild 2601 BLAKE2B 22d1fc25a12e11578728742150ec3d48b1f3cfaf49c39879148735a9a4af4360bf7561f97d77f28309a2d9ebba2e443639f54fcf5d5db98e1386d96f1574ed5c SHA512 86936f8039c7389a52e6137d498169fd8b4710e15bf9fe179b82a4b2095f5b290baded078f2aa09ea66c7ebaba4e6f70fe25b7b516382dd07c86abe49e9beeec
EBUILD poke-2.90.1.ebuild 2300 BLAKE2B 39e204187868b66f2e3a73916e6afab650a0ae7e2ed76006b173e60a85d9848a4ed687d805770e46580d7d402a1245a370d60755f12d6596c9389f274a139bf7 SHA512 e92e05271e6bc612e20551b78c260de47b53800ad72d09db7da6ee3aa2105e76c855bc2488c5de6ab789578f66c20e8aff8a51d41c7e631be98e51c24d0a4722
EBUILD poke-3.0.ebuild 2575 BLAKE2B 60a5ab9efe5cf26106c85369946dff302f7dfcdcd74149cb1b0321fc563dab9ffdaa3175c88d1f870eb353b7ac8db520349c184c13c5dd5e2da981885adc7dbf SHA512 493dd8a3bc740cf5ab7fb7a4a4babae71f9efd5e1aa91bbc9f1b8956e448840951cde6dd0c4608e994cd2fd940b04873751327b9612a83800f8f6cc620b6b314
EBUILD poke-3.1.ebuild 2575 BLAKE2B 60a5ab9efe5cf26106c85369946dff302f7dfcdcd74149cb1b0321fc563dab9ffdaa3175c88d1f870eb353b7ac8db520349c184c13c5dd5e2da981885adc7dbf SHA512 493dd8a3bc740cf5ab7fb7a4a4babae71f9efd5e1aa91bbc9f1b8956e448840951cde6dd0c4608e994cd2fd940b04873751327b9612a83800f8f6cc620b6b314
EBUILD poke-3.2.ebuild 2575 BLAKE2B 60a5ab9efe5cf26106c85369946dff302f7dfcdcd74149cb1b0321fc563dab9ffdaa3175c88d1f870eb353b7ac8db520349c184c13c5dd5e2da981885adc7dbf SHA512 493dd8a3bc740cf5ab7fb7a4a4babae71f9efd5e1aa91bbc9f1b8956e448840951cde6dd0c4608e994cd2fd940b04873751327b9612a83800f8f6cc620b6b314
EBUILD poke-3.3.ebuild 2574 BLAKE2B b8653eaf3b947bc84b28fd244091fa2bf090345cdad027acbac4851f0efe56ad6a5ade677984a7bf8df388e51eda9c1e0d1fbc00af2e6aed229614a58c1d510f SHA512 f4393dade5ab20cbe49856ef7ec90b1259dee115eaefd08f0a7092b22d36137488eac6b5798c66c911fb801b116bbadc775ed7b6cf5d431251e4ba403c6741b7
+EBUILD poke-3.90.0.ebuild 2455 BLAKE2B 719f98bef4695a5bf4e2e2dab13f5dedd8183e80b2fa9b7f870120ac2fa4e09ec829dda60594a453a9a7dc6cdbccb320527cd77f90fd875077b1c5783d677fc8 SHA512 f7f7b9ab53fa226014fec33c2db446607d398a473ba38da55ed407a5a73fbbe4f1fcc7d04a9f31b768d076b05fe680385a12b40fb22c3ffc7528e68092c4897b
EBUILD poke-9999.ebuild 2455 BLAKE2B 719f98bef4695a5bf4e2e2dab13f5dedd8183e80b2fa9b7f870120ac2fa4e09ec829dda60594a453a9a7dc6cdbccb320527cd77f90fd875077b1c5783d677fc8 SHA512 f7f7b9ab53fa226014fec33c2db446607d398a473ba38da55ed407a5a73fbbe4f1fcc7d04a9f31b768d076b05fe680385a12b40fb22c3ffc7528e68092c4897b
MISC metadata.xml 514 BLAKE2B 5df1664ca8693598aba1a31675859940052e5e3aa6f5b045036e0da3a47a26ed601f6241977c8a1e611a096798f6d219e6818ce2963f88a4d5e4f6595495e877 SHA512 3e60b71e68d20a2b8c6ee0a5133b41a4beccf942a9c52739dbf7f11c998851411464d2882b0d2b2aab96ea00b9994d3dc73b2d68afcf874af1e561efaa97caf2
diff --git a/dev-util/poke/poke-3.90.0.ebuild b/dev-util/poke/poke-3.90.0.ebuild
new file mode 100644
index 000000000000..1aadadd1833d
--- /dev/null
+++ b/dev-util/poke/poke-3.90.0.ebuild
@@ -0,0 +1,126 @@
+# 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_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}