summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-04-30 08:35:15 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-04-30 08:36:06 +0300
commit8142a137b7eee1bb4e1369616577a46723e1cc91 (patch)
tree5de24d19ed8450b87d20913a524aae6a5ddcd558
parentsys-process/evisum: bump to 0.4.0 (diff)
downloadgentoo-8142a137b7eee1bb4e1369616577a46723e1cc91.tar.gz
gentoo-8142a137b7eee1bb4e1369616577a46723e1cc91.tar.bz2
gentoo-8142a137b7eee1bb4e1369616577a46723e1cc91.zip
dev-util/edi: bump to 0.8.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--dev-util/edi/Manifest1
-rw-r--r--dev-util/edi/edi-0.8.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-util/edi/Manifest b/dev-util/edi/Manifest
index 70a2928b712..5d8361b3f83 100644
--- a/dev-util/edi/Manifest
+++ b/dev-util/edi/Manifest
@@ -1 +1,2 @@
DIST edi-0.7.1.tar.gz 736103 BLAKE2B f4c82246d66d2620cccf71bfd2b623d1ce95f28d2afb1f1077b53580eec6303748287a5332472c45a911ad83d573ffaadfd08bc0827e3b77909f1a041e0f0750 SHA512 5e7e88e547f2e8fc631d48999aa76e814735dc254381d3965f64f7c1d3006becb90f32305471cd54c4eec5f8b66a1e8595220f302bcebe25eb54e9b56c31767c
+DIST edi-0.8.0.tar.gz 1076134 BLAKE2B b422493a1786f6dd2865adfdc88d756e7ced7681d8ccfbb6d0befcf04b035435134b168752d47dc25f86b1ee59c659a23b04b392787f8863f772e90a5f6f55fb SHA512 88d4ff3f5a4c56c3de7392024022a505907b6d6a16854254f227e457157fd7abd35eff1916842c77fcd6b81d42ec2fa15deceee632bf67d22ab272f8e755215c
diff --git a/dev-util/edi/edi-0.8.0.ebuild b/dev-util/edi/edi-0.8.0.ebuild
new file mode 100644
index 00000000000..b90faeeb5e6
--- /dev/null
+++ b/dev-util/edi/edi-0.8.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit llvm meson xdg
+
+DESCRIPTION="An EFL-based IDE"
+HOMEPAGE="http://edi-ide.com/
+ https://www.enlightenment.org/about-edi
+ https://phab.enlightenment.org/w/projects/edi/
+ https://github.com/Enlightenment/edi"
+SRC_URI="https://github.com/Enlightenment/edi/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-3 LGPL-2.1-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="clang"
+
+RDEPEND="|| ( dev-libs/efl[X] dev-libs/efl[wayland] )
+ >=dev-libs/efl-1.22.0[eet]
+ clang? ( sys-devel/clang:= )"
+DEPEND="${RDEPEND}
+ dev-libs/check"
+BDEPEND="virtual/pkgconfig"
+
+llvm_check_deps() {
+ has_version "sys-devel/clang:${LLVM_SLOT}"
+}
+
+pkg_setup() {
+ use clang && llvm_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ # fix a QA issue with .desktop file, https://phab.enlightenment.org/T7368
+ sed -i '/Version=/d' data/desktop/edi.desktop* || die
+
+ # fix 'unexpected path' QA warning
+ sed -i 's|share/doc/edi/|share/doc/'${PF}'/|g' doc/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ -D bear=false
+ $(meson_use clang libclang)
+ )
+
+ if use clang; then
+ emesonargs+=(
+ -D libclang-headerdir="$(llvm-config --includedir)"
+ -D libclang-libdir="$(llvm-config --libdir)"
+ )
+ fi
+
+ meson_src_configure
+}