1 |
commit: de63736b4534e0b72f620ab5ce64e6f199cd1cb2 |
2 |
Author: Ian Whyman <thev00d00 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 27 10:06:36 2020 +0000 |
4 |
Commit: Ian Whyman <thev00d00 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 27 10:07:17 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de63736b |
7 |
|
8 |
dev-lang/duktape: Version bump, add arch, respect CC |
9 |
|
10 |
Closes: https://bugs.gentoo.org/721792 |
11 |
Closes: https://bugs.gentoo.org/727864 |
12 |
Closes: https://bugs.gentoo.org/728592 |
13 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
14 |
Signed-off-by: Ian Whyman <thev00d00 <AT> gentoo.org> |
15 |
|
16 |
dev-lang/duktape/Manifest | 2 +- |
17 |
.../duktape/{duktape-2.2.1.ebuild => duktape-2.5.0.ebuild} | 14 ++++++++++---- |
18 |
2 files changed, 11 insertions(+), 5 deletions(-) |
19 |
|
20 |
diff --git a/dev-lang/duktape/Manifest b/dev-lang/duktape/Manifest |
21 |
index 0e73eafa9fc..7099c24cff5 100644 |
22 |
--- a/dev-lang/duktape/Manifest |
23 |
+++ b/dev-lang/duktape/Manifest |
24 |
@@ -1,2 +1,2 @@ |
25 |
-DIST duktape-2.2.1.tar.xz 966496 BLAKE2B fc458035fea9b3c5f26ac538b0ddb19ca0f93b8d20e3d51b3428e72a18797c15e6aeb6111ff05818e54529f199084b2803582d54b19040d16e58462405889449 SHA512 af78a1680cb796e1eedca78264a9c3344cd8149b3c54dc5109f21a0c65ee24097f6f18eceefbf336cda9eda7cb347a0484badfe765f3b93e1c1620b099999f25 |
26 |
DIST duktape-2.4.0.tar.xz 1027744 BLAKE2B 9fb74b0586a5ccf5ef80d69955ab0ddb94428d463e300a558b5ab6e279d2c416b794434466604caa80581883df85f889694af1dd3ea0aaa4a3d53babb855f3ef SHA512 be6b7c73ae7c3419e8ced375fcff9680946e780b71d30e3be4e4e3b4b3a2710aa8f86530081c64958507a11fc215cacc5409c7d3a1d30b757838a00c748fa281 |
27 |
+DIST duktape-2.5.0.tar.xz 1031188 BLAKE2B 15d9190e9c723bacf8249ea31bf528793ca06e86d2697648192fee50b4ba2f7cf091e1392ac14a7a5c35b05a3ff5f200e0318cc8a4b873ad26f0c97683a2cb72 SHA512 230e298a91cb48407d7c2a4b7c85cf9d53151d550e2fd7ba6cb8f9115682abce295fb78a3c3cd22b4812ce86944dd6d28c2b25c3845668a17232e3a08ea63837 |
28 |
|
29 |
diff --git a/dev-lang/duktape/duktape-2.2.1.ebuild b/dev-lang/duktape/duktape-2.5.0.ebuild |
30 |
similarity index 78% |
31 |
rename from dev-lang/duktape/duktape-2.2.1.ebuild |
32 |
rename to dev-lang/duktape/duktape-2.5.0.ebuild |
33 |
index 311fee357a5..56c63a07cbc 100644 |
34 |
--- a/dev-lang/duktape/duktape-2.2.1.ebuild |
35 |
+++ b/dev-lang/duktape/duktape-2.5.0.ebuild |
36 |
@@ -1,7 +1,9 @@ |
37 |
-# Copyright 1999-2019 Gentoo Authors |
38 |
+# Copyright 1999-2020 Gentoo Authors |
39 |
# Distributed under the terms of the GNU General Public License v2 |
40 |
|
41 |
-EAPI=6 |
42 |
+EAPI=7 |
43 |
+ |
44 |
+inherit toolchain-funcs |
45 |
|
46 |
DESCRIPTION="Embeddable Javascript engine" |
47 |
HOMEPAGE="https://duktape.org" |
48 |
@@ -9,7 +11,7 @@ SRC_URI="https://duktape.org/${P}.tar.xz" |
49 |
|
50 |
LICENSE="MIT" |
51 |
SLOT="0" |
52 |
-KEYWORDS="~amd64 ~x86" |
53 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
54 |
IUSE="" |
55 |
|
56 |
DEPEND="" |
57 |
@@ -19,7 +21,7 @@ src_prepare() { |
58 |
eapply_user |
59 |
|
60 |
# Set install path |
61 |
- sed -i "s#INSTALL_PREFIX=/usr/local#INSTALL_PREFIX=${D::-1}/usr#" \ |
62 |
+ sed -i "s#INSTALL_PREFIX = /usr/local#INSTALL_PREFIX = ${D::-1}/usr#" \ |
63 |
Makefile.sharedlibrary || die "failed to set install path" |
64 |
|
65 |
# Edit pkgconfig |
66 |
@@ -33,6 +35,10 @@ src_prepare() { |
67 |
mv Makefile.sharedlibrary Makefile || die "failed to rename makefile" |
68 |
} |
69 |
|
70 |
+src_compile() { |
71 |
+ emake CC="$(tc-getCC)" |
72 |
+} |
73 |
+ |
74 |
src_install() { |
75 |
dodir /usr/$(get_libdir) |
76 |
dodir /usr/include |