summaryrefslogtreecommitdiff
path: root/dev-util/ragel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-13 10:28:51 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-13 10:28:51 +0000
commitaafdd1dcd9a66da0b1bcdfadbca62add48751897 (patch)
treed328a4fe625235ee8ea443c3b1bec1fd105af11d /dev-util/ragel
parente0345ef79b0b4a444151748ce1f5364fc2dd147b (diff)
gentoo auto-resync : 13:11:2023 - 10:28:51
Diffstat (limited to 'dev-util/ragel')
-rw-r--r--dev-util/ragel/Manifest1
-rw-r--r--dev-util/ragel/ragel-7.0.4-r3.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-util/ragel/Manifest b/dev-util/ragel/Manifest
index d49f6986b450..372a9843de90 100644
--- a/dev-util/ragel/Manifest
+++ b/dev-util/ragel/Manifest
@@ -8,5 +8,6 @@ EBUILD ragel-6.10.ebuild 806 BLAKE2B 4ae6940e77e31c1138865526016284ebc46eac20ed1
EBUILD ragel-7.0.0.12.ebuild 772 BLAKE2B 97dc91562f31eefe83292cef36885fa5562039e16e866b3456d5f4ff603d456fdc66423f809e02e0414ba9e14b60bb89173301b060352f9f02c161344463882d SHA512 ee3579c12527cabd3bbb25be5b3968fe88d0d7f6351cbdaeae50626ed689d6f8e4bb207090c3504f54f2da28bf2e4c399f816295fa20e518d6f7f8046d9f9ac3
EBUILD ragel-7.0.4-r1.ebuild 1513 BLAKE2B 9e320220f920e3bfb3ee0a20ddb4691a33409822a209709af69d2a355fee036a7cf45dd9b7d503c04c1de1f0da96e0fa6b51150dfc4f292d24119c9cdabc5a5f SHA512 c97827ddaf1b23d5a236e295b6325354623421d261034aee7a8d6adc7d635f264ca0c9c9ed0695c93f2514d0016baaefc5c3ad9f2941fab954db39e7945d322b
EBUILD ragel-7.0.4-r2.ebuild 1595 BLAKE2B c11e93cd214f8ea512ce047cfa48e234a38182e665449de15c59341c3d113074e1ab5b10fc7ab65c59ac804bb08600b5f01e5ca2fc87d02b69c4e5be5b83da84 SHA512 40d4155be83b4cdcc74c6c16a831f5558152d25dc7b38868dd7eb75c1a3417c080a7404d149e0ed5fa942e3c884b938f4414663d1ec523357f185308ecee1e1d
+EBUILD ragel-7.0.4-r3.ebuild 1605 BLAKE2B 360c1ebf1052c161880954a5d116e6d6f8319bbaabae08dfd8f38d363849fd07e2eaa22816fa673a9e58f007926167dd4ed49a208fec3d79551dd87b12324756 SHA512 1ab8b80d4ecf727fa396e20f07e5e14d4529eb46f889da376a324b9e5454c61de9f516b47c7459f04d00ba32acb4c5925a31397ed5065a1129eff10c660db9b5
EBUILD ragel-7.0.4.ebuild 1509 BLAKE2B 5d794e6d621df74b906bf713d2dcc73f30f7f0ed92ec22155e3e9871294f703b1bd11d65ab4703c7dcbb15f20fbb9819c5a23115e1ac612cc6546501db14073d SHA512 87917e425cf5b43f533aea6626fcb0174232146b167abd9f7ea2473eb6d8c1d1df3f0a974e883e41e2a84767a5f57c22cbe610a524c1aba37d8f3bc77b6f19d8
MISC metadata.xml 305 BLAKE2B 47362779057e51875e2327cb9e1e71db670cf09828b9750ab1558c4160f1938250c3b61b6c9383584c559c276966bdcb5297c0df963e80873cecce749ea886ba SHA512 71acd92aed56e6b79b31d6bb889fbb3586fb9ff9ce4d2fa0c2f3ae68be9ea2cdd865c7adbd4757c3ae4d5ef462f3cf470bf52b696c7133a5f57da69014a4c897
diff --git a/dev-util/ragel/ragel-7.0.4-r3.ebuild b/dev-util/ragel/ragel-7.0.4-r3.ebuild
new file mode 100644
index 000000000000..4f1a3096a21c
--- /dev/null
+++ b/dev-util/ragel/ragel-7.0.4-r3.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Compiles finite state machines from regular languages into executable code"
+HOMEPAGE="https://www.colm.net/open-source/ragel/"
+SRC_URI="https://www.colm.net/files/ragel/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="doc"
+
+# Notes from bug #766090
+# dev-libs/libxml2's xmllint ends up being called by asciidoc here
+# app-text/dblatex too
+# app-text/ghostscript-gpl too
+BDEPEND="
+ doc? (
+ || ( app-text/asciidoc dev-ruby/asciidoctor )
+ app-text/dblatex
+ app-text/ghostscript-gpl
+ dev-libs/libxml2
+ dev-texlive/texlive-latex
+ dev-python/pygments
+ >=media-gfx/fig2dev-3.2.9-r1
+ )
+"
+DEPEND=">=dev-util/colm-0.14.7-r1"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-7.0.4-drop-julia-check.patch
+ "${FILESDIR}"/${PN}-7.0.4-r2-link-colm-properly.patch
+)
+
+src_prepare() {
+ default
+
+ # Fix hardcoded search dir
+ sed -i -e "s:\$withval/lib:\$withval/$(get_libdir):" configure.ac || die
+
+ # Allow either asciidoctor or asciidoc
+ # bug #733426
+ sed -i -e 's/(\[ASCIIDOC\], \[asciidoc\], \[asciidoc\]/S([ASCIIDOC], [asciidoc asciidoctor]/' configure.ac || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-colm="${EPREFIX}/usr" \
+ $(use_enable doc manual)
+}
+
+src_install() {
+ default
+
+ insinto /usr/share/vim/vimfiles/syntax
+ doins ragel.vim
+
+ find "${ED}" -name '*.la' -delete || die
+}