diff options
author | Joonas Niilola <juippis@gentoo.org> | 2023-01-09 14:50:48 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2023-01-09 14:50:48 +0200 |
commit | 1431bec6a0ca3be86d09566054bc71e56c932878 (patch) | |
tree | d2a893e4063ef31740db0215a72f68e38bb5981b /dev-lang/mujs | |
parent | dev-libs/raft: drop 0.15.0 (diff) | |
download | gentoo-1431bec6a0ca3be86d09566054bc71e56c932878.tar.gz gentoo-1431bec6a0ca3be86d09566054bc71e56c932878.tar.bz2 gentoo-1431bec6a0ca3be86d09566054bc71e56c932878.zip |
dev-lang/mujs: drop 1.2.0, 1.3.0
Bug: https://bugs.gentoo.org/882775
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-lang/mujs')
-rw-r--r-- | dev-lang/mujs/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/mujs/mujs-1.2.0.ebuild | 61 | ||||
-rw-r--r-- | dev-lang/mujs/mujs-1.3.0.ebuild | 61 |
3 files changed, 0 insertions, 124 deletions
diff --git a/dev-lang/mujs/Manifest b/dev-lang/mujs/Manifest index 8d5329431ea0..84a86105d508 100644 --- a/dev-lang/mujs/Manifest +++ b/dev-lang/mujs/Manifest @@ -1,3 +1 @@ -DIST mujs-1.2.0.tar.xz 99108 BLAKE2B 3661fb56a3c316f529251e93b50e18ae1835077af10d5fb636e92e77a766fb63410af0f61ffca6e6c12d6c5c984548d4e36ccee03ead44835493c0c28ef610a9 SHA512 04cc246091bf878aadfa2382ef46c8c42cd04924d9459558016f27474ae3ebca7fc7a0fda7b4efee1bd668b8b051030a2e1f9f40722cb547700c7f84857f4071 -DIST mujs-1.3.0.tar.gz 127929 BLAKE2B 589dbe16b05b3b0b59a551d162edcc4d3ba7d3623de5646cd87640c6f3ee1b7e2765909c4a0fdc0457022a8575daeeefe8efb4c3c7d2a5d900101e60406362a9 SHA512 1e9590892b1a0b139f8959a64e4255f5695c8e2dca355858155275628345ac3bb4168779dc6115bd6ac62b8615932762d3f348a1c6d0ee8d56cb43a863c4e0c3 DIST mujs-1.3.2.tar.gz 127899 BLAKE2B 4de5e1e60c5d6af9a20d8bb1fe2612d6c90a6b5557a66524bf81747e893a89a88b4da7e5393325923c6eb0788679da4013f25032cad23e547f15a1d49cf0a738 SHA512 ccffb04171f7ecec2cfa6f0e59859acc911836370a648e4c6703db174631ce316413a64ebf4b32eea3d3b09221ff01861cda91f4b1b9bebf495168f26f90daf5 diff --git a/dev-lang/mujs/mujs-1.2.0.ebuild b/dev-lang/mujs/mujs-1.2.0.ebuild deleted file mode 100644 index 7e3cf9e25569..000000000000 --- a/dev-lang/mujs/mujs-1.2.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic multilib toolchain-funcs - -DESCRIPTION="An embeddable JavaScript interpreter written in C" -HOMEPAGE="https://mujs.com/ https://github.com/ccxvii/mujs" -SRC_URI="https://mujs.com/downloads/${P}.tar.xz" - -LICENSE="ISC" -# The subslot matches the SONAME -SLOT="0/${PV}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos" - -RDEPEND="sys-libs/readline:=" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-1.1.1-flags.patch -) - -src_prepare() { - default - - tc-export AR CC - - append-cflags -fPIC - - # The library's ABI (and API) might change in new releases - # Diff 'usr/include/mujs.h' across releases to validate - if [[ ${CHOST} == *-darwin* ]] ; then - append-cflags -Wl,-install_name,"${EPREFIX}"/usr/$(get_libdir)/lib${PN}.${PV}.dylib - else - append-cflags -Wl,-soname=lib${PN}.so.${PV} - fi -} - -src_compile() { - # We need to use ${PV} for the pkgconfig file, see: #784461 - emake \ - VERSION=${PV} \ - XCFLAGS="${CFLAGS}" \ - XCPPFLAGS="${CPPFLAGS}" \ - prefix=/usr \ - shell shared -} - -src_install() { - emake \ - DESTDIR="${ED}" \ - VERSION=${PV} \ - libdir="/usr/$(get_libdir)" \ - prefix=/usr \ - install-shared - - mv -v "${ED}"/usr/$(get_libdir)/lib${PN}$(get_libname) "${ED}"/usr/$(get_libdir)/lib${PN}$(get_libname ${PV}) || die "Failed adding version suffix to mujs shared library" - dosym lib${PN}$(get_libname ${PV}) /usr/$(get_libdir)/lib${PN}$(get_libname) - dosym lib${PN}$(get_libname ${PV}) /usr/$(get_libdir)/lib${PN}$(get_libname ${PV:0:1}) -} diff --git a/dev-lang/mujs/mujs-1.3.0.ebuild b/dev-lang/mujs/mujs-1.3.0.ebuild deleted file mode 100644 index 267cf273a319..000000000000 --- a/dev-lang/mujs/mujs-1.3.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic multilib toolchain-funcs - -DESCRIPTION="An embeddable JavaScript interpreter written in C" -HOMEPAGE="https://mujs.com/ https://github.com/ccxvii/mujs" -SRC_URI="https://mujs.com/downloads/${P}.tar.gz" - -LICENSE="ISC" -# The subslot matches the SONAME -SLOT="0/${PV}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" - -RDEPEND="sys-libs/readline:=" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-1.1.1-flags.patch -) - -src_prepare() { - default - - tc-export AR CC - - append-cflags -fPIC - - # The library's ABI (and API) might change in new releases - # Diff 'usr/include/mujs.h' across releases to validate - if [[ ${CHOST} == *-darwin* ]] ; then - append-cflags -Wl,-install_name,"${EPREFIX}"/usr/$(get_libdir)/lib${PN}.${PV}.dylib - else - append-cflags -Wl,-soname=lib${PN}.so.${PV} - fi -} - -src_compile() { - # We need to use ${PV} for the pkgconfig file, see: #784461 - emake \ - VERSION=${PV} \ - XCFLAGS="${CFLAGS}" \ - XCPPFLAGS="${CPPFLAGS}" \ - prefix=/usr \ - shell shared -} - -src_install() { - emake \ - DESTDIR="${ED}" \ - VERSION=${PV} \ - libdir="/usr/$(get_libdir)" \ - prefix=/usr \ - install-shared - - mv -v "${ED}"/usr/$(get_libdir)/lib${PN}$(get_libname) "${ED}"/usr/$(get_libdir)/lib${PN}$(get_libname ${PV}) || die "Failed adding version suffix to mujs shared library" - dosym lib${PN}$(get_libname ${PV}) /usr/$(get_libdir)/lib${PN}$(get_libname) - dosym lib${PN}$(get_libname ${PV}) /usr/$(get_libdir)/lib${PN}$(get_libname ${PV:0:1}) -} |