summaryrefslogtreecommitdiff
path: root/dev-lang/mujs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-02 21:10:25 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-02 21:10:25 +0000
commitd05150f06fa67b115a83f822b1e285dca011e1b7 (patch)
tree86d728b5108b361faf2f421e2d4f3b03a85b7837 /dev-lang/mujs
parentbe524496e3171d5eab8c56570dd4342a880c3264 (diff)
gentoo auto-resync : 02:11:2022 - 21:10:25
Diffstat (limited to 'dev-lang/mujs')
-rw-r--r--dev-lang/mujs/Manifest8
-rw-r--r--dev-lang/mujs/mujs-1.1.0.ebuild56
-rw-r--r--dev-lang/mujs/mujs-1.1.2.ebuild72
-rw-r--r--dev-lang/mujs/mujs-1.1.3.ebuild72
-rw-r--r--dev-lang/mujs/mujs-1.3.0.ebuild61
5 files changed, 63 insertions, 206 deletions
diff --git a/dev-lang/mujs/Manifest b/dev-lang/mujs/Manifest
index a026f173da38..2aac06572063 100644
--- a/dev-lang/mujs/Manifest
+++ b/dev-lang/mujs/Manifest
@@ -1,11 +1,7 @@
AUX mujs-1.1.0-flags.patch 376 BLAKE2B 6bcfc39f97b35ae2230aa33ca99d4338915224a9b1ffbc39d747bb9e1ec566d36510cefc75906695c729ea2b44b2c118519ba25998aebb09dee51ad622bd1f3e SHA512 fc86b1422db6b3a934bf6e0da5c18a7a61fbf8c691c2dbf1355c0b7fc669d7f324af81d7e39c6042b0006ad294e4b21cb4c16bf77b3f1be18a07fc9037e09039
AUX mujs-1.1.1-flags.patch 313 BLAKE2B c0dfb2aa7721fe865b4c04141924da299db48d900a6fab883dc76bf274cd60ca8749febd80e6b106e60cc36c4fcefa76d5414e29ef1ef7c774a7e912088895c0 SHA512 8d189613398203693e35c4313d3b7688c73ec38b426eea93a9cf96a21df11bb651afe0191168ca3c23a69f9d77390ed2829c2bc2204f04cb7621fb9f286a7266
-DIST mujs-1.1.0.tar.gz 123450 BLAKE2B e7bc05d35566ff26346e713645e0f417a9acd1a73b5fb5c7f0c35bf940765fba1ab04199f4ed1dd6ce0e3bb2bf1547703335a1c125353da24de72f2b1adfb243 SHA512 10b61453f8483e3e67c95a742aa7868e255816b2ce25c84d8e24c5c737bad1f23ade67531c5c5bb914804be446da33c0cbe8e95a6d5889250dd8520ce56f23a0
-DIST mujs-1.1.2.tar.xz 98340 BLAKE2B bbb290786c26fd604082eb123adc78a3b7d9387dafabf70df23bae97d016a3ad16a434fb1ab3a33da85c575cf813491d0a09d956ff351bd7c8d38cac675ec114 SHA512 66641855e6fe732541fb80a99fda4418545183965c6a6ffb4a05101084fd1cc073aca1e51115f37fffb56bc5518cec21a1586d0745c55aec08deb47736e33392
-DIST mujs-1.1.3.tar.xz 98332 BLAKE2B 4dc2c0e657d7dcbbd7f82765556e75e7992cdcaf15c7986bb76c0fb6c244057ba0771a2a59c246eaf7bb9ff080e8af6ade8ef9a95606dc8ebde99f7d73c245c1 SHA512 6a8d0650f1924b5889039ddd8529438226677c63f9317b980492fac4e8380385d5c33fe8a315f26ebd0f7ae94c6c3bc90fdb75a8e4a0df367e6e4e355692e890
DIST mujs-1.2.0.tar.xz 99108 BLAKE2B 3661fb56a3c316f529251e93b50e18ae1835077af10d5fb636e92e77a766fb63410af0f61ffca6e6c12d6c5c984548d4e36ccee03ead44835493c0c28ef610a9 SHA512 04cc246091bf878aadfa2382ef46c8c42cd04924d9459558016f27474ae3ebca7fc7a0fda7b4efee1bd668b8b051030a2e1f9f40722cb547700c7f84857f4071
-EBUILD mujs-1.1.0.ebuild 1365 BLAKE2B 4f940033e75d77ae741f68a915efef418cabc9f15ae3ecf4c388a0d2020cc7fbe8c003327653b3fdee4b8b7f591be929d19c77bf017f03811c037087130c4fb2 SHA512 cb79454936f47f9442ecaae261eeb1ad62635430ce416845cac82e14d24be7e7b86d07c2cccae0a83166f29e2e805d0458ef0ba98bb1d0da7f96bdc8027edfb1
-EBUILD mujs-1.1.2.ebuild 1891 BLAKE2B 4022b431b28790f8b73996d2769ffe3d9095b48564afaa0f99068b55434e600a6be763402b31abbce4e244e54c9083d441c5a46dd83aa5819c5d33261ada88ad SHA512 3faa64cf406c803c63937cdb47ccdb2272daa3f7bc08892dfc7aad849042ea958e0cff759c57cdc4cdd9869d667e16167a8f3753af7a75284bce16d964b22775
-EBUILD mujs-1.1.3.ebuild 1898 BLAKE2B c4a225d6e301b169c0f945e3ad2550cb61b235c1c0431b575a3128fdbcd08a5ba4d9929bb150877164166e29dc0e018f3dde2f6dce78053feaf37d91e23c958f SHA512 4b4b8232baad6b2305d8423f8e4f8a8f2badcbbbd1911c3763b19d0d8e11c0375c6324ca6a6c59f10fe6e677ad5f1793bec58aa4449980fe4a63843f6bdb3987
+DIST mujs-1.3.0.tar.gz 127929 BLAKE2B 589dbe16b05b3b0b59a551d162edcc4d3ba7d3623de5646cd87640c6f3ee1b7e2765909c4a0fdc0457022a8575daeeefe8efb4c3c7d2a5d900101e60406362a9 SHA512 1e9590892b1a0b139f8959a64e4255f5695c8e2dca355858155275628345ac3bb4168779dc6115bd6ac62b8615932762d3f348a1c6d0ee8d56cb43a863c4e0c3
EBUILD mujs-1.2.0.ebuild 1640 BLAKE2B 6c18d2763affa113a248ef9cd16c6bff404e2c1a5ed08b54cc79d57b9dba846b7d66f4e9ab12a0f2f2d2f54e52efd1f164773d9bd7039552420828723239c0d5 SHA512 4a9efd8ceb7dce5cb2102afce1b4a5dc2e52e7775b36de7dbe584e9b9237eff3e305755812de46082ee7f6248122ac8858d90d50b86910536f6cd7babf7f7e51
+EBUILD mujs-1.3.0.ebuild 1647 BLAKE2B 5b3205700604fd09f67e52db457692fd9251e7794b1b4b6a150fcf0648f632f51332b6d773fa7f1440c99e943eb8ada123f6923cc89da3f1bbe547caeaa2b2b6 SHA512 c9f79f742a4a6e9db8bacd50cd7a8e0b78b659bdef4e147aa0640f61c88e7e00e4cfe558f18a4a4482ada72952b56d8470c742587d0d9d462a44b83b56fa4c09
MISC metadata.xml 713 BLAKE2B 854afbc1219508e2b29aad5f4b83d0a869f1a70c9380fd624ce844be2d4ac3001ad0fe406b8a96c244d2d4837d8921ffd68bb424cf997d804fb426da0d2888b9 SHA512 36d958686ead6fa0cb13dfd8048f036ed833146fe786da0f2ce4f829343925472846d4164c3bbdd1ad4a9e04e8be5fd9b68e44cfef5139194f1aa7359250ed21
diff --git a/dev-lang/mujs/mujs-1.1.0.ebuild b/dev-lang/mujs/mujs-1.1.0.ebuild
deleted file mode 100644
index c8b2f49f3e40..000000000000
--- a/dev-lang/mujs/mujs-1.1.0.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.1.0-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}
-}
diff --git a/dev-lang/mujs/mujs-1.1.2.ebuild b/dev-lang/mujs/mujs-1.1.2.ebuild
deleted file mode 100644
index ae4925028e3f..000000000000
--- a/dev-lang/mujs/mujs-1.1.2.ebuild
+++ /dev/null
@@ -1,72 +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://mujs.com/downloads/${P}.tar.xz"
-#SRC_URI=" https://github.com/ccxvii/mujs/archive/${PV}.tar.xz -> ${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"
-
-RDEPEND="sys-libs/readline:="
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.1.1-flags.patch
-)
-
-src_prepare() {
- default
-
- tc-export AR CC
-
- append-cflags -fPIC
-
- # library's ABI (and API) changes in ~each release:
- # diff 'usr/includemujs.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
- # #784461
- emake \
- VERSION=${PV} \
- XCFLAGS="${CFLAGS}" \
- XCPPFLAGS="${CPPFLAGS}" \
- prefix=/usr \
- shell shared
-}
-
-src_install() {
- local myemakeargs=(
- DESTDIR="${ED}"
- VERSION=${PV}
- libdir="/usr/$(get_libdir)"
- prefix=/usr
- )
-
- emake "${myemakeargs[@]}" install-shared
-
- # TODO: Tidy up this logic, improve readability
- if [[ ${CHOST} == *-darwin* ]] ; then
- mv -v "${ED}"/usr/$(get_libdir)/lib${PN}.so "${ED}"/usr/$(get_libdir)/lib${PN}.${PV}.dylib || die
- dosym lib${PN}.${PV}.dylib /usr/$(get_libdir)/lib${PN}.dylib
- dosym lib${PN}.${PV}.dylib /usr/$(get_libdir)/lib${PN}.${PV:0:1}.dylib
- else
- 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}
- fi
-}
diff --git a/dev-lang/mujs/mujs-1.1.3.ebuild b/dev-lang/mujs/mujs-1.1.3.ebuild
deleted file mode 100644
index 1c0c1b3ce518..000000000000
--- a/dev-lang/mujs/mujs-1.1.3.ebuild
+++ /dev/null
@@ -1,72 +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://mujs.com/downloads/${P}.tar.xz"
-#SRC_URI=" https://github.com/ccxvii/mujs/archive/${PV}.tar.xz -> ${P}.tar.xz"
-
-LICENSE="ISC"
-# subslot matches SONAME
-SLOT="0/${PV}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 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
-
- # library's ABI (and API) changes in ~each release:
- # diff 'usr/includemujs.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
- # #784461
- emake \
- VERSION=${PV} \
- XCFLAGS="${CFLAGS}" \
- XCPPFLAGS="${CPPFLAGS}" \
- prefix=/usr \
- shell shared
-}
-
-src_install() {
- local myemakeargs=(
- DESTDIR="${ED}"
- VERSION=${PV}
- libdir="/usr/$(get_libdir)"
- prefix=/usr
- )
-
- emake "${myemakeargs[@]}" install-shared
-
- # TODO: Tidy up this logic, improve readability
- if [[ ${CHOST} == *-darwin* ]] ; then
- mv -v "${ED}"/usr/$(get_libdir)/lib${PN}.so "${ED}"/usr/$(get_libdir)/lib${PN}.${PV}.dylib || die
- dosym lib${PN}.${PV}.dylib /usr/$(get_libdir)/lib${PN}.dylib
- dosym lib${PN}.${PV}.dylib /usr/$(get_libdir)/lib${PN}.${PV:0:1}.dylib
- else
- 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}
- fi
-}
diff --git a/dev-lang/mujs/mujs-1.3.0.ebuild b/dev-lang/mujs/mujs-1.3.0.ebuild
new file mode 100644
index 000000000000..4fb2831d5c99
--- /dev/null
+++ b/dev-lang/mujs/mujs-1.3.0.ebuild
@@ -0,0 +1,61 @@
+# 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 ~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})
+}