summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Rösner <rndxelement@protonmail.com>2024-06-24 17:46:04 +0200
committerJoonas Niilola <juippis@gentoo.org>2024-07-20 09:42:40 +0300
commitea2532258adfc476e6c82494511da7ab9e6991e1 (patch)
tree13ff1c8a3bef51ef174671848f8d89c45d8ac2b2 /dev-lang/mujs
parentdev-lang/mujs: add 1.3.5 (diff)
downloadgentoo-ea2532258adfc476e6c82494511da7ab9e6991e1.tar.gz
gentoo-ea2532258adfc476e6c82494511da7ab9e6991e1.tar.bz2
gentoo-ea2532258adfc476e6c82494511da7ab9e6991e1.zip
dev-lang/mujs: drop 1.3.3
Signed-off-by: Philipp Rösner <rndxelement@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/37276 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-lang/mujs')
-rw-r--r--dev-lang/mujs/Manifest1
-rw-r--r--dev-lang/mujs/mujs-1.3.3.ebuild61
2 files changed, 0 insertions, 62 deletions
diff --git a/dev-lang/mujs/Manifest b/dev-lang/mujs/Manifest
index 658e0eb41b67..ff21b5c45da0 100644
--- a/dev-lang/mujs/Manifest
+++ b/dev-lang/mujs/Manifest
@@ -1,3 +1,2 @@
-DIST mujs-1.3.3.tar.gz 128097 BLAKE2B 9b880dc462af8945e647994f9a42cf121461c6b295538db6cef818919a7c2418ebe1df7d36f69214279ad2414d0ce7149a541a3533e766274624b9c44b733db9 SHA512 74288484185473a813c55e08dcc2fefba46f87651d3a1fcea6ac843bb09a4150e13e0d46b348a34380a0defdeaa388cc93b6f7f569a7886091a34b4951b9461b
DIST mujs-1.3.4.tar.gz 128202 BLAKE2B d07942cce02dc71937ad0207887bcefce67916e19d01f134d68d3673bcc0649eb616a1fadc5a21ddbf372629f12e7c04be4652a31ba604359607e9e7233a8923 SHA512 0806684be5e6dc3cb7305355ab7c7babbfd3fd5bbd22515659a88a82c25f3f4b6af14f7ca07bacd154823b19110b749bba68311c9f317dd684e0fd5628ece573
DIST mujs-1.3.5.tar.gz 128938 BLAKE2B f262a99abe572548b456fabf5820c810885b86e1034d37c3375e9f4f44ddbd536acddf3cc56f086460fc0128ebf339b9e4f810069569243b86fc4af94f03ccb6 SHA512 9ebe0d2926d2621110cb67e701c1cdd87883703d58c49dc08e366b20c93dbdbc2f56e59b710999373bd8aaaee75b2d35adb1dad6929795684a8fff6483d9df25
diff --git a/dev-lang/mujs/mujs-1.3.3.ebuild b/dev-lang/mujs/mujs-1.3.3.ebuild
deleted file mode 100644
index 3f02a773e3e3..000000000000
--- a/dev-lang/mujs/mujs-1.3.3.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2023 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 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos"
-
-RDEPEND="sys-libs/readline:="
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-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}" \
- XLDFLAGS="${LDFLAGS}" \
- prefix=/usr \
- release
-}
-
-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})
-}