From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C47B6138359 for ; Tue, 13 Oct 2020 23:21:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 286E2E0857; Tue, 13 Oct 2020 23:21:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0E6A1E0857 for ; Tue, 13 Oct 2020 23:21:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DDE3F340D96 for ; Tue, 13 Oct 2020 23:21:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 51AD437F for ; Tue, 13 Oct 2020 23:21:44 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1602631298.4c3bf0166f45d46d12dc937129f2ede3a8d23d12.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/mujs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/mujs/Manifest dev-lang/mujs/mujs-1.0.9.ebuild X-VCS-Directories: dev-lang/mujs/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4c3bf0166f45d46d12dc937129f2ede3a8d23d12 X-VCS-Branch: master Date: Tue, 13 Oct 2020 23:21:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9788a020-1b7e-4f65-bc18-df2ece324ada X-Archives-Hash: cb1a2ec047e06f7299a767c971bef8a3 commit: 4c3bf0166f45d46d12dc937129f2ede3a8d23d12 Author: Sam James gentoo org> AuthorDate: Tue Oct 13 22:53:00 2020 +0000 Commit: Sam James gentoo org> CommitDate: Tue Oct 13 23:21:38 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c3bf016 dev-lang/mujs: bump to 1.0.9 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sam James gentoo.org> dev-lang/mujs/Manifest | 1 + dev-lang/mujs/mujs-1.0.9.ebuild | 60 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/dev-lang/mujs/Manifest b/dev-lang/mujs/Manifest index 4118652c76a..138a4ae9495 100644 --- a/dev-lang/mujs/Manifest +++ b/dev-lang/mujs/Manifest @@ -1,2 +1,3 @@ DIST mujs-1.0.6.tar.gz 121385 BLAKE2B b74da9cc9df6c51d81fe4b6170fddd9bfd3e37cc1c48509ddbcc9b657feb7169cfa98427770a118fb9c0923e70320668198739ea111cbd5d1c2303b2ada7093d SHA512 c3062348dcc79b8ea3726fc528b3ba765d3462232059617b9ab221ba47fa904cc81a305a6199a9a2cea24a2d891ca63d475b4884cd4e53fa715b3a55f51ca4d9 DIST mujs-1.0.7.tar.xz 93928 BLAKE2B 3c29ad3c23b75ee310824a36c0b08ede07b4ebaebff78558d07bc0eda55d6a994551502089cebd5b53ae24364ec1170e0865b7f1560d909dd15a18040666fea2 SHA512 30cc06ce4a608e091d46ba903ffc2eda29972cf583eb077d7824627fa20423c4721a406bf4271ebd5e5cade74f34e19acc9cffbc6d4d44314085a5525e91564f +DIST mujs-1.0.9.tar.gz 123113 BLAKE2B c55deaf14508c412394bf5fe3a53ef581d4e4726024d65f2ba5155eb2400a6e2f043c9f6721b170d19297e2cd38c62c462f3b4e102eb4bfe6e7857b40156c18b SHA512 a3dbc8dbf5c16b7de9803954fe38ea9f77c0e5b7de3895966ec0877e063d463c9950499791ea0d102e464bd0426413689f3edb15e38db3f13915d72f27556725 diff --git a/dev-lang/mujs/mujs-1.0.9.ebuild b/dev-lang/mujs/mujs-1.0.9.ebuild new file mode 100644 index 00000000000..969bb181213 --- /dev/null +++ b/dev-lang/mujs/mujs-1.0.9.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 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 ~x86-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 myeconfargs=( + DESTDIR="${ED}" + install-shared + libdir="/usr/$(get_libdir)" + prefix="/usr" + VERSION="${PV}" + $(usex static-libs install-static '') + ) + + emake "${myeconfargs[@]}" + + 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} +}