diff options
| author | Maciej Barć <xgqt@gentoo.org> | 2025-10-25 22:29:40 +0200 |
|---|---|---|
| committer | Maciej Barć <xgqt@gentoo.org> | 2025-10-25 22:48:15 +0200 |
| commit | 7fc5264f1a703edf77f15b47a737408cebae3dba (patch) | |
| tree | fbb4b4a8dd36812fca6f38fc4cdb2f18401c0d4a /dev-lang/neko/neko-2.4.1.ebuild | |
| parent | 8acca55ff2b924a5fdd4d825c42dd87899ca4bbf (diff) | |
| download | gentoo-7fc5264f1a703edf77f15b47a737408cebae3dba.tar.gz gentoo-7fc5264f1a703edf77f15b47a737408cebae3dba.tar.bz2 gentoo-7fc5264f1a703edf77f15b47a737408cebae3dba.zip | |
dev-lang/neko: bump to 2.4.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/neko/neko-2.4.1.ebuild')
| -rw-r--r-- | dev-lang/neko/neko-2.4.1.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/dev-lang/neko/neko-2.4.1.ebuild b/dev-lang/neko/neko-2.4.1.ebuild new file mode 100644 index 000000000000..16ca7d87db46 --- /dev/null +++ b/dev-lang/neko/neko-2.4.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic cmake + +DESCRIPTION="Neko is a high-level dynamically typed programming language" +HOMEPAGE="https://nekovm.org/ + https://github.com/HaxeFoundation/neko/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/HaxeFoundation/${PN}" +else + # 2.3.0 -> 2-3-0 + MY_PV="${PV//./-}" + + SRC_URI="https://github.com/HaxeFoundation/${PN}/archive/refs/tags/v${MY_PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${MY_PV}" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0/${PV}" +IUSE="apache mysql sqlite ssl" + +RDEPEND=" + dev-libs/boehm-gc:=[threads] + dev-libs/libpcre:= + sys-libs/zlib:= + apache? ( www-servers/apache:2= ) + mysql? ( dev-db/mysql-connector-c:= ) + sqlite? ( dev-db/sqlite:3= ) + ssl? ( + dev-libs/openssl:= + net-libs/mbedtls:0= + ) +" +DEPEND=" + ${RDEPEND} +" + +src_configure() { + # -Werror=strict-aliasing warnings, bug #855641 + filter-lto + append-flags -fno-strict-aliasing + + local -a mycmakeargs=( + -DRUN_LDCONFIG="OFF" + -DWITH_NEKOML="ON" + -DWITH_REGEXP="ON" + -DWITH_UI="OFF" + + -DWITH_APACHE="$(usex apache)" + -DWITH_MYSQL="$(usex mysql)" + -DWITH_SQLITE="$(usex sqlite)" + -DWITH_SSL="$(usex ssl)" + ) + cmake_src_configure +} |
