1 |
commit: 8142a137b7eee1bb4e1369616577a46723e1cc91 |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 30 05:35:15 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 30 05:36:06 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8142a137 |
7 |
|
8 |
dev-util/edi: bump to 0.8.0 |
9 |
|
10 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
11 |
|
12 |
dev-util/edi/Manifest | 1 + |
13 |
dev-util/edi/edi-0.8.0.ebuild | 59 +++++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/edi/Manifest b/dev-util/edi/Manifest |
17 |
index 70a2928b712..5d8361b3f83 100644 |
18 |
--- a/dev-util/edi/Manifest |
19 |
+++ b/dev-util/edi/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST edi-0.7.1.tar.gz 736103 BLAKE2B f4c82246d66d2620cccf71bfd2b623d1ce95f28d2afb1f1077b53580eec6303748287a5332472c45a911ad83d573ffaadfd08bc0827e3b77909f1a041e0f0750 SHA512 5e7e88e547f2e8fc631d48999aa76e814735dc254381d3965f64f7c1d3006becb90f32305471cd54c4eec5f8b66a1e8595220f302bcebe25eb54e9b56c31767c |
22 |
+DIST edi-0.8.0.tar.gz 1076134 BLAKE2B b422493a1786f6dd2865adfdc88d756e7ced7681d8ccfbb6d0befcf04b035435134b168752d47dc25f86b1ee59c659a23b04b392787f8863f772e90a5f6f55fb SHA512 88d4ff3f5a4c56c3de7392024022a505907b6d6a16854254f227e457157fd7abd35eff1916842c77fcd6b81d42ec2fa15deceee632bf67d22ab272f8e755215c |
23 |
|
24 |
diff --git a/dev-util/edi/edi-0.8.0.ebuild b/dev-util/edi/edi-0.8.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..b90faeeb5e6 |
27 |
--- /dev/null |
28 |
+++ b/dev-util/edi/edi-0.8.0.ebuild |
29 |
@@ -0,0 +1,59 @@ |
30 |
+# Copyright 1999-2020 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+inherit llvm meson xdg |
36 |
+ |
37 |
+DESCRIPTION="An EFL-based IDE" |
38 |
+HOMEPAGE="http://edi-ide.com/ |
39 |
+ https://www.enlightenment.org/about-edi |
40 |
+ https://phab.enlightenment.org/w/projects/edi/ |
41 |
+ https://github.com/Enlightenment/edi" |
42 |
+SRC_URI="https://github.com/Enlightenment/edi/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2 GPL-3 LGPL-2.1-with-linking-exception" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="clang" |
48 |
+ |
49 |
+RDEPEND="|| ( dev-libs/efl[X] dev-libs/efl[wayland] ) |
50 |
+ >=dev-libs/efl-1.22.0[eet] |
51 |
+ clang? ( sys-devel/clang:= )" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ dev-libs/check" |
54 |
+BDEPEND="virtual/pkgconfig" |
55 |
+ |
56 |
+llvm_check_deps() { |
57 |
+ has_version "sys-devel/clang:${LLVM_SLOT}" |
58 |
+} |
59 |
+ |
60 |
+pkg_setup() { |
61 |
+ use clang && llvm_pkg_setup |
62 |
+} |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ default |
66 |
+ |
67 |
+ # fix a QA issue with .desktop file, https://phab.enlightenment.org/T7368 |
68 |
+ sed -i '/Version=/d' data/desktop/edi.desktop* || die |
69 |
+ |
70 |
+ # fix 'unexpected path' QA warning |
71 |
+ sed -i 's|share/doc/edi/|share/doc/'${PF}'/|g' doc/meson.build || die |
72 |
+} |
73 |
+ |
74 |
+src_configure() { |
75 |
+ local emesonargs=( |
76 |
+ -D bear=false |
77 |
+ $(meson_use clang libclang) |
78 |
+ ) |
79 |
+ |
80 |
+ if use clang; then |
81 |
+ emesonargs+=( |
82 |
+ -D libclang-headerdir="$(llvm-config --includedir)" |
83 |
+ -D libclang-libdir="$(llvm-config --libdir)" |
84 |
+ ) |
85 |
+ fi |
86 |
+ |
87 |
+ meson_src_configure |
88 |
+} |