diff --git a/dev-lang/quickjs/Manifest b/dev-lang/quickjs/Manifest index 559f41a64d..3b12e69454 100644 --- a/dev-lang/quickjs/Manifest +++ b/dev-lang/quickjs/Manifest @@ -1,2 +1 @@ -DIST quickjs-2021-03-27.tar.xz 753556 BLAKE2B a959da95ca4861b5675359ac81598b50a80170ec4f4d819c44d666dd4ecb5a2e11d63230f98b611d5109941f5b21f5c8f791d56d153b818408ec1c59350d5e1d SHA512 eeb810083484df213bc658a8703ca3ef094b7789c2b49eed86cb4068c9f9da401ad0300261d61a163c6ea82306f3ef50bf8e29a64920f704fd8958ef08a7286c DIST quickjs-2024-01-13.tar.xz 765800 BLAKE2B 6d65d9ae19ef816a7e4784821d138d2be9965bbbea42c11f13adc0560dc6d67db9cd75c367680a5caec34182a320819127fc0d0c95c10fcf441161ca7880d5aa SHA512 9f426404e4dc1e2a41fcc235b72e58708041aed24eadd5fb9e82f62435501003d3a6b04831f307b04852551d2fd265b94cd400b3293ec0810465f52de8a6c057 diff --git a/dev-lang/quickjs/quickjs-2021.03.27.ebuild b/dev-lang/quickjs/quickjs-2021.03.27.ebuild deleted file mode 100644 index 8da61d8edc..0000000000 --- a/dev-lang/quickjs/quickjs-2021.03.27.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -MY_P="${PN}-${PV//./-}" - -DESCRIPTION="Small embeddable Javascript engine" -HOMEPAGE="https://bellard.org/quickjs/" -SRC_URI="https://bellard.org/quickjs/${MY_P}.tar.xz" -S="${WORKDIR}/${MY_P}" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="lto" - -PATCHES=( - "${FILESDIR}/${PN}-2020.11.08_Remove-TTY-check-in-test.patch" - "${FILESDIR}/${PN}-2021-03-27-respect-env.patch" - ) - -src_prepare() { - sed -i \ - -e 's;prefix=/usr/local;prefix=/usr;' \ - -e '/$(STRIP) .*/d' \ - Makefile || die "Failed setting prefix" - - sed -Ei '/^\s*(CC|AR)=/d' Makefile \ - || die "Failed to remove hard-coded tools." - - sed -Ei 's/(^\s*(C|LD)FLAGS)=/\1\+=/' Makefile \ - || die "Failed to change build flag assignment into addition." - - export CC="$(tc-getCC)" - export AR="$(tc-getAR)" - - default -} - -src_compile() { - if use lto; then - CONFIG_LTO=$(use lto) emake - else - emake - fi -} diff --git a/dev-lang/quickjs/quickjs-2024.01.13.ebuild b/dev-lang/quickjs/quickjs-2024.01.13.ebuild deleted file mode 100644 index bdd0ed5173..0000000000 --- a/dev-lang/quickjs/quickjs-2024.01.13.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -MY_P="${PN}-${PV//./-}" - -DESCRIPTION="Small embeddable Javascript engine" -HOMEPAGE="https://bellard.org/quickjs/" -SRC_URI="https://bellard.org/quickjs/${MY_P}.tar.xz" -S="${WORKDIR}/${MY_P}" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="lto" - -PATCHES=( - "${FILESDIR}/quickjs-2020.11.08_Remove-TTY-check-in-test.patch" - "${FILESDIR}/quickjs-2024-01-13-sharedlib.patch" - "${FILESDIR}/quickjs-2024-01-13-respect-env.patch" -) - -src_prepare() { - # Changed in master - sed -i '/^CONFIG_LTO=/s;^;#;' Makefile || die - - default - - sed -i '/$(STRIP) .*/d' Makefile || die "Failed removing STRIP call" - - sed -Ei '/^\s*(CC|AR)=/d' Makefile \ - || die "Failed to remove hard-coded tools." - - sed -i 's;$(PREFIX)/lib;$(LIBDIR);' Makefile || die "Failed fixing libdir" -} - -src_configure() { - export CC="$(tc-getCC)" - export AR="$(tc-getAR)" - - export PREFIX=/usr - export LIBDIR="/usr/$(get_libdir)" - - export CONFIG_LTO=$(use lto) - export CONFIG_SHARED=y -}