diff options
author | Sam James <sam@gentoo.org> | 2021-04-14 21:48:20 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-14 23:00:14 +0100 |
commit | fc5cffcd2f54d589e13a15b89908c2cb17cf9f1e (patch) | |
tree | 0bb112ac81f4397af929acc6beddbecdff158d0e /dev-lang/mujs | |
parent | sys-kernel/gentoo-sources: linux patch 4.19.187 (diff) | |
download | gentoo-fc5cffcd2f54d589e13a15b89908c2cb17cf9f1e.tar.gz gentoo-fc5cffcd2f54d589e13a15b89908c2cb17cf9f1e.tar.bz2 gentoo-fc5cffcd2f54d589e13a15b89908c2cb17cf9f1e.zip |
dev-lang/mujs: drop 1.0.9
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/mujs')
-rw-r--r-- | dev-lang/mujs/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/mujs/files/mujs-1.0.5-flags.patch | 30 | ||||
-rw-r--r-- | dev-lang/mujs/mujs-1.0.9.ebuild | 56 |
3 files changed, 0 insertions, 87 deletions
diff --git a/dev-lang/mujs/Manifest b/dev-lang/mujs/Manifest index 0cf67cd7fb7e..0232fbf259ec 100644 --- a/dev-lang/mujs/Manifest +++ b/dev-lang/mujs/Manifest @@ -1,3 +1,2 @@ -DIST mujs-1.0.9.tar.gz 123113 BLAKE2B c55deaf14508c412394bf5fe3a53ef581d4e4726024d65f2ba5155eb2400a6e2f043c9f6721b170d19297e2cd38c62c462f3b4e102eb4bfe6e7857b40156c18b SHA512 a3dbc8dbf5c16b7de9803954fe38ea9f77c0e5b7de3895966ec0877e063d463c9950499791ea0d102e464bd0426413689f3edb15e38db3f13915d72f27556725 DIST mujs-1.1.0.tar.gz 123450 BLAKE2B e7bc05d35566ff26346e713645e0f417a9acd1a73b5fb5c7f0c35bf940765fba1ab04199f4ed1dd6ce0e3bb2bf1547703335a1c125353da24de72f2b1adfb243 SHA512 10b61453f8483e3e67c95a742aa7868e255816b2ce25c84d8e24c5c737bad1f23ade67531c5c5bb914804be446da33c0cbe8e95a6d5889250dd8520ce56f23a0 DIST mujs-1.1.1.tar.xz 95448 BLAKE2B df19d045a16603b94fae6e8f996af32ab5986983a191041bf82cde67c876b34e9574b2c5ea75be8dba36da6692761608ce56117c7cf98833795eadec37ee546e SHA512 8978cb120458b982cd8fa2242ca648c1bb19a837f3b41a88226f95c6d48796b92f221d95b4c2cb73c4a4257ee33045640aee8c3c849cf0725a686fa452f2cc84 diff --git a/dev-lang/mujs/files/mujs-1.0.5-flags.patch b/dev-lang/mujs/files/mujs-1.0.5-flags.patch deleted file mode 100644 index 50de4fcff21e..000000000000 --- a/dev-lang/mujs/files/mujs-1.0.5-flags.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/Makefile 2018-09-11 12:47:31.000000000 +0200 -+++ b/Makefile 2018-10-28 20:09:17.000000000 +0100 -@@ -15,7 +15,7 @@ - - # Compiler flags for various configurations: - --CFLAGS := -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -+CFLAGS += -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter - - ifeq "$(CC)" "clang" - CFLAGS += -Wunreachable-code -@@ -30,9 +30,6 @@ - else ifeq "$(build)" "sanitize" - CFLAGS += -pipe -g -fsanitize=address -fno-omit-frame-pointer - LDFLAGS += -fsanitize=address --else -- CFLAGS += -Os -- LDFLAGS += -Wl,-s - endif - - ifeq "$(HAVE_READLINE)" "yes" -@@ -78,7 +75,7 @@ - - $(OUT)/libmujs.so: one.c $(HDRS) - @ mkdir -p $(dir $@) -- $(CC) $(CFLAGS) -fPIC -shared -o $@ $< -lm -+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIC -shared -o $@ $< -lm - - $(OUT)/mujs: $(OUT)/libmujs.o $(OUT)/main.o - @ mkdir -p $(dir $@) diff --git a/dev-lang/mujs/mujs-1.0.9.ebuild b/dev-lang/mujs/mujs-1.0.9.ebuild deleted file mode 100644 index 9ec22acb2d71..000000000000 --- a/dev-lang/mujs/mujs-1.0.9.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="An embeddable JavaScript interpreter in C" -HOMEPAGE="https://mujs.com/ https://github.com/ccxvii/mujs" -SRC_URI="https://github.com/ccxvii/mujs/archive/${PV}.tar.gz -> ${P}.tar.gz" -# Not available right now. -#SRC_URI="https://mujs.com/downloads/${P}.tar.xz" - -LICENSE="ISC" -# subslot matches SONAME -SLOT="0/${PV}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos" -IUSE="static-libs" - -RDEPEND="sys-libs/readline:0=" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-1.0.5-flags.patch" -) - -src_prepare() { - default - - tc-export AR CC - - # library's ABI (and API) changes in ~each release: - # diff 'usr/includemujs.h' across releases to validate - append-cflags -fPIC -Wl,-soname=lib${PN}.so.${PV} -} - -src_compile() { - emake VERSION=${PV} prefix=/usr shared -} - -src_install() { - local myemakeargs=( - DESTDIR="${ED}" - libdir="/usr/$(get_libdir)" - prefix="/usr" - VERSION="${PV}" - $(usex static-libs install-static '') - ) - - emake "${myemakeargs[@]}" install-shared - - mv -v "${ED}"/usr/$(get_libdir)/lib${PN}.so{,.${PV}} || die - - dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so - dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.${PV:0:1} -} |