From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EF40B138334 for ; Sun, 7 Oct 2018 09:54:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C16BBE0A63; Sun, 7 Oct 2018 09:54:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 83531E0A63 for ; Sun, 7 Oct 2018 09:54:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 42957335C67 for ; Sun, 7 Oct 2018 09:53:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1C7B3FB for ; Sun, 7 Oct 2018 09:53:55 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1538906026.c4570290797589feeb73e9c8f18285bebc83a4da.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/edi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/edi/Manifest dev-util/edi/edi-0.7.0.ebuild dev-util/edi/metadata.xml X-VCS-Directories: dev-util/edi/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c4570290797589feeb73e9c8f18285bebc83a4da X-VCS-Branch: master Date: Sun, 7 Oct 2018 09:53:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8e4beadc-90f3-42d9-a1ac-d44e8e026ed8 X-Archives-Hash: 94bedc66b8453f729464d72192f3a082 commit: c4570290797589feeb73e9c8f18285bebc83a4da Author: Joonas Niilola gmail com> AuthorDate: Mon Sep 24 05:55:30 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Oct 7 09:53:46 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4570290 dev-util/edi: new package Closes: https://bugs.gentoo.org/604932 Signed-off-by: Joonas Niilola gmail.com> Package-Manager: Portage[mgorny]-2.3.49.1 Signed-off-by: Michał Górny gentoo.org> 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(+) diff --git a/dev-util/edi/Manifest b/dev-util/edi/Manifest new file mode 100644 index 00000000000..2d1ca75e9c4 --- /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 00000000000..5c046e88d2d --- /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 00000000000..8b902f0f90c --- /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 + + +