summaryrefslogtreecommitdiff
path: root/dev-util/edi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-10-22 11:09:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-10-22 11:09:47 +0100
commit64e107b9b6058580ff0432107eb37cefb0b2a7d8 (patch)
tree9a44e603e2ae365e2b1fe35ac37f73e830cdee1d /dev-util/edi
parent957235cf19a691360c720f7913672adda4258ed0 (diff)
gentoo resync : 22.10.2018
Diffstat (limited to 'dev-util/edi')
-rw-r--r--dev-util/edi/Manifest3
-rw-r--r--dev-util/edi/edi-0.7.0.ebuild60
-rw-r--r--dev-util/edi/metadata.xml17
3 files changed, 80 insertions, 0 deletions
diff --git a/dev-util/edi/Manifest b/dev-util/edi/Manifest
new file mode 100644
index 000000000000..bb20b50eff25
--- /dev/null
+++ b/dev-util/edi/Manifest
@@ -0,0 +1,3 @@
+DIST edi-0.7.0.tar.gz 733126 BLAKE2B bdf6f3ef37a04af4aa45042216b2661c83f22273777eb6dc9217cf44823948eccfcc9fe300d7d88ed19b051630fda304e5d8cf9bccba135eb0bdfa86fdd15e6c SHA512 a3e99355f17de9f8f5e0b1a4be2e7283147dea386e4a5dfa804df10830d3a43713974c1989c4fc55262bf582131a024a2723a8608035b82503019a6ed97e2b9e
+EBUILD edi-0.7.0.ebuild 1206 BLAKE2B 5d17de99369920e3971c17818ad1bfe73a0c4ff0105546ad00e2f02153ab9b87d7701636117308821669ca3e6c01fe9176de78994dec89ef7b7a8217b9798b71 SHA512 6470040fa7563cbe034144273c4d173b37fc625ab4aed55759182397b86efa8ac1ab66c7a14cb62bcb9df273386d430c160883a0e5908290471d559bd812d250
+MISC metadata.xml 499 BLAKE2B b79205914bede4f3e03ebb98fe231cef58336fd21d5d1b4884b61929af724f6758e8d0aeb1f4099ec9b2fbd4f00f52499272007ed10741e8e21b3a121ce840a5 SHA512 548df114fdb3d83fc0794e745ebdfc8e835a11a75826eb27b4e5da7bfb2fbd790a033905055799b81392b23f3aed41f20900a43331af205875507331e57cf86c
diff --git a/dev-util/edi/edi-0.7.0.ebuild b/dev-util/edi/edi-0.7.0.ebuild
new file mode 100644
index 000000000000..5c046e88d2dc
--- /dev/null
+++ b/dev-util/edi/edi-0.7.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit llvm meson xdg-utils
+
+DESCRIPTION="An EFL-based IDE"
+HOMEPAGE="https://www.enlightenment.org/about-edi"
+SRC_URI="https://github.com/Enlightenment/edi/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="clang"
+
+RDEPEND="
+ >=dev-libs/efl-1.21.1[eet,X]
+ 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
+ xdg_environment_reset
+
+ # 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
+}
diff --git a/dev-util/edi/metadata.xml b/dev-util/edi/metadata.xml
new file mode 100644
index 000000000000..8b902f0f90c5
--- /dev/null
+++ b/dev-util/edi/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>juippis@gmail.com</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="clang">
+ Provide integration with <pkg>sys-devel/clang</pkg> for autocompletion and inline
+ errors
+ </flag>
+ </use>
+</pkgmetadata>