summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gmail.com>2019-05-04 09:58:45 +0300
committerAndreas Sturmlechner <asturm@gentoo.org>2019-05-08 18:59:36 +0200
commit51f1382c1660ff2e5d4e7d5f2acda5a7b7771c0a (patch)
tree2bc9bee057397bc273d2de65c3f3a60d0b743f61 /dev-util/edi
parentgames-action/dxx-rebirth: Fix build against physfs-3 (diff)
downloadgentoo-51f1382c1660ff2e5d4e7d5f2acda5a7b7771c0a.tar.gz
gentoo-51f1382c1660ff2e5d4e7d5f2acda5a7b7771c0a.tar.bz2
gentoo-51f1382c1660ff2e5d4e7d5f2acda5a7b7771c0a.zip
dev-util/edi: bump to 0.7.1
- allow raw wayland to be used. Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Joonas Niilola <juippis@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/11892 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-util/edi')
-rw-r--r--dev-util/edi/Manifest1
-rw-r--r--dev-util/edi/edi-0.7.1.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-util/edi/Manifest b/dev-util/edi/Manifest
index 2d1ca75e9c4f..0cd40dbcd42c 100644
--- a/dev-util/edi/Manifest
+++ b/dev-util/edi/Manifest
@@ -1 +1,2 @@
DIST edi-0.7.0.tar.gz 733126 BLAKE2B bdf6f3ef37a04af4aa45042216b2661c83f22273777eb6dc9217cf44823948eccfcc9fe300d7d88ed19b051630fda304e5d8cf9bccba135eb0bdfa86fdd15e6c SHA512 a3e99355f17de9f8f5e0b1a4be2e7283147dea386e4a5dfa804df10830d3a43713974c1989c4fc55262bf582131a024a2723a8608035b82503019a6ed97e2b9e
+DIST edi-0.7.1.tar.gz 736103 BLAKE2B f4c82246d66d2620cccf71bfd2b623d1ce95f28d2afb1f1077b53580eec6303748287a5332472c45a911ad83d573ffaadfd08bc0827e3b77909f1a041e0f0750 SHA512 5e7e88e547f2e8fc631d48999aa76e814735dc254381d3965f64f7c1d3006becb90f32305471cd54c4eec5f8b66a1e8595220f302bcebe25eb54e9b56c31767c
diff --git a/dev-util/edi/edi-0.7.1.ebuild b/dev-util/edi/edi-0.7.1.ebuild
new file mode 100644
index 000000000000..7a4dcb2ba8a2
--- /dev/null
+++ b/dev-util/edi/edi-0.7.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2019 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[X] dev-libs/efl[wayland] )
+ >=dev-libs/efl-1.22.0[eet]
+ clang? ( sys-devel/clang:= )"
+DEPEND="${RDEPEND}
+ dev-libs/check"
+BDEPEND=">=dev-util/meson-0.50.0
+ 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
+}