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 F069E1382C5 for ; Sun, 23 May 2021 10:41:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3FD96E0817; Sun, 23 May 2021 10:41:58 +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 2412AE0817 for ; Sun, 23 May 2021 10:41:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 A93A3335C7D for ; Sun, 23 May 2021 10:41:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 29B4B78B for ; Sun, 23 May 2021 10:41:55 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1621766461.75e53ff3f27c3346277c2fec0879f33eb22970ab.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/jerryscript/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/jerryscript/Manifest dev-lang/jerryscript/jerryscript-2.4.0.ebuild dev-lang/jerryscript/metadata.xml X-VCS-Directories: dev-lang/jerryscript/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 75e53ff3f27c3346277c2fec0879f33eb22970ab X-VCS-Branch: master Date: Sun, 23 May 2021 10:41:55 +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: 115c5702-ad5b-409b-a3e9-c551aee4fa54 X-Archives-Hash: da0a44bc01633314cc26e1a1385ddd94 commit: 75e53ff3f27c3346277c2fec0879f33eb22970ab Author: Zac Medico gentoo org> AuthorDate: Sun May 23 09:07:07 2021 +0000 Commit: Zac Medico gentoo org> CommitDate: Sun May 23 10:41:01 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75e53ff3 dev-lang/jerryscript: Initial import Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Zac Medico gentoo.org> dev-lang/jerryscript/Manifest | 1 + dev-lang/jerryscript/jerryscript-2.4.0.ebuild | 44 +++++++++++++++++++++++++++ dev-lang/jerryscript/metadata.xml | 12 ++++++++ 3 files changed, 57 insertions(+) diff --git a/dev-lang/jerryscript/Manifest b/dev-lang/jerryscript/Manifest new file mode 100644 index 00000000000..7531fb469ee --- /dev/null +++ b/dev-lang/jerryscript/Manifest @@ -0,0 +1 @@ +DIST jerryscript-2.4.0.tar.gz 2802799 BLAKE2B 18a3f71e7d3e2fc43772cb94aa3b0d4d28d72c6cd174eb0195f09283c5da5140ef85e86c6ed7a82e672724563549294c26d870b55c8bd9d0a92251b1002c612a SHA512 e96e6c6a2207ff869474801a1f8bbd3ce453d4076e558736ebf6962ccab08540f57cf932ec43bcd40429e21f1c6453d77874dd0a467d91a15d8357257533c1ea diff --git a/dev-lang/jerryscript/jerryscript-2.4.0.ebuild b/dev-lang/jerryscript/jerryscript-2.4.0.ebuild new file mode 100644 index 00000000000..d3949f02d59 --- /dev/null +++ b/dev-lang/jerryscript/jerryscript-2.4.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Ultra-lightweight JavaScript engine for the Internet of Things" +HOMEPAGE="https://github.com/jerryscript-project/jerryscript" +SRC_URI="https://github.com/jerryscript-project/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +src_prepare() { + find . -name CMakeLists.txt -print0 | xargs -0 sed -i \ + -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:" \ + -e "s:DESTINATION lib):DESTINATION $(get_libdir)):" \ + || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DENABLE_STRIP=OFF + -DJERRY_DEBUGGER=ON + -DJERRY_ERROR_MESSAGES=ON + -DJERRY_EXTERNAL_CONTEXT=ON + -DJERRY_LINE_INFO=ON + -DJERRY_LOGGING=ON + -DJERRY_PARSER_DUMP_BYTE_CODE=ON + -DJERRY_PARSER=ON + -DJERRY_REGEXP_DUMP_BYTE_CODE=ON + -DJERRY_SNAPSHOT_EXEC=ON + -DJERRY_SNAPSHOT_SAVE=ON + ) + cmake_src_configure +} + +src_install() { + cmake_src_install +} diff --git a/dev-lang/jerryscript/metadata.xml b/dev-lang/jerryscript/metadata.xml new file mode 100644 index 00000000000..0c73846f82d --- /dev/null +++ b/dev-lang/jerryscript/metadata.xml @@ -0,0 +1,12 @@ + + + + + zmedico@gentoo.org + Zac Medico + + + https://github.com/jerryscript-project/jerryscript/issues + jerryscript-project/jerryscript + +