From c4570290797589feeb73e9c8f18285bebc83a4da Mon Sep 17 00:00:00 2001 From: Joonas Niilola Date: Mon, 24 Sep 2018 08:55:30 +0300 Subject: dev-util/edi: new package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/604932 Signed-off-by: Joonas Niilola Package-Manager: Portage[mgorny]-2.3.49.1 Signed-off-by: Michał Górny Closes: https://github.com/gentoo/gentoo/pull/9964 --- dev-util/edi/Manifest | 1 + dev-util/edi/edi-0.7.0.ebuild | 60 +++++++++++++++++++++++++++++++++++++++++++ dev-util/edi/metadata.xml | 17 ++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 dev-util/edi/Manifest create mode 100644 dev-util/edi/edi-0.7.0.ebuild create mode 100644 dev-util/edi/metadata.xml (limited to 'dev-util/edi') diff --git a/dev-util/edi/Manifest b/dev-util/edi/Manifest new file mode 100644 index 000000000000..2d1ca75e9c4f --- /dev/null +++ b/dev-util/edi/Manifest @@ -0,0 +1 @@ +DIST edi-0.7.0.tar.gz 733126 BLAKE2B bdf6f3ef37a04af4aa45042216b2661c83f22273777eb6dc9217cf44823948eccfcc9fe300d7d88ed19b051630fda304e5d8cf9bccba135eb0bdfa86fdd15e6c SHA512 a3e99355f17de9f8f5e0b1a4be2e7283147dea386e4a5dfa804df10830d3a43713974c1989c4fc55262bf582131a024a2723a8608035b82503019a6ed97e2b9e 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 @@ + + + + + juippis@gmail.com + + + proxy-maint@gentoo.org + Proxy Maintainers + + + + Provide integration with sys-devel/clang for autocompletion and inline + errors + + + -- cgit v1.2.3-65-gdbad