mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user