1 |
commit: e2d46240c93461114eebe3a3e9b4a173d2d39927 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 5 00:07:41 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 5 00:12:00 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2d46240 |
7 |
|
8 |
dev-libs/wayland: EAPI-7 bump, switch to new EGIT_REPO_URI |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
dev-libs/wayland/wayland-9999.ebuild | 57 +++++++++++++++++------------------- |
14 |
1 file changed, 27 insertions(+), 30 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/wayland/wayland-9999.ebuild b/dev-libs/wayland/wayland-9999.ebuild |
17 |
index df8f72793cf..7e909b19826 100644 |
18 |
--- a/dev-libs/wayland/wayland-9999.ebuild |
19 |
+++ b/dev-libs/wayland/wayland-9999.ebuild |
20 |
@@ -1,42 +1,41 @@ |
21 |
-# Copyright 1999-2018 Gentoo Authors |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=6 |
26 |
+EAPI=7 |
27 |
|
28 |
-EGIT_REPO_URI="https://anongit.freedesktop.org/git/wayland/wayland.git" |
29 |
- |
30 |
-if [[ ${PV} = 9999* ]]; then |
31 |
- GIT_ECLASS="git-r3" |
32 |
-fi |
33 |
- |
34 |
-inherit autotools libtool multilib-minimal toolchain-funcs $GIT_ECLASS |
35 |
- |
36 |
-DESCRIPTION="Wayland protocol libraries" |
37 |
-HOMEPAGE="https://wayland.freedesktop.org/" |
38 |
- |
39 |
-if [[ $PV = 9999* ]]; then |
40 |
- SRC_URI="" |
41 |
+if [[ ${PV} = *9999* ]]; then |
42 |
+ EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/wayland.git" |
43 |
+ inherit git-r3 |
44 |
else |
45 |
SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz" |
46 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
47 |
fi |
48 |
+inherit autotools libtool multilib-minimal toolchain-funcs |
49 |
+ |
50 |
+DESCRIPTION="Wayland protocol libraries" |
51 |
+HOMEPAGE="https://wayland.freedesktop.org/" |
52 |
|
53 |
LICENSE="MIT" |
54 |
SLOT="0" |
55 |
IUSE="doc static-libs" |
56 |
|
57 |
-RDEPEND=">=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}] |
58 |
- >=virtual/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}] |
59 |
- dev-libs/libxml2:= |
60 |
- !<media-libs/mesa-18.1.1-r1" |
61 |
-DEPEND="${RDEPEND} |
62 |
+BDEPEND=" |
63 |
+ virtual/pkgconfig |
64 |
doc? ( |
65 |
>=app-doc/doxygen-1.6[dot] |
66 |
app-text/xmlto |
67 |
>=media-gfx/graphviz-2.26.0 |
68 |
sys-apps/grep[pcre] |
69 |
) |
70 |
- virtual/pkgconfig" |
71 |
+" |
72 |
+DEPEND=" |
73 |
+ >=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}] |
74 |
+ dev-libs/libxml2:= |
75 |
+ >=virtual/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}] |
76 |
+" |
77 |
+RDEPEND="${DEPEND} |
78 |
+ !<media-libs/mesa-18.1.1-r1 |
79 |
+" |
80 |
|
81 |
src_prepare() { |
82 |
default |
83 |
@@ -44,16 +43,14 @@ src_prepare() { |
84 |
} |
85 |
|
86 |
multilib_src_configure() { |
87 |
- local myconf |
88 |
- if tc-is-cross-compiler ; then |
89 |
- myconf+=' --with-host-scanner ' |
90 |
- fi |
91 |
+ local myeconfargs=( |
92 |
+ --disable-static |
93 |
+ $(multilib_native_use_enable doc documentation) |
94 |
+ $(multilib_native_enable dtd-validation) |
95 |
+ ) |
96 |
+ tc-is-cross-compiler && myeconfargs+=( --with-host-scanner ) |
97 |
|
98 |
- ECONF_SOURCE="${S}" econf \ |
99 |
- --disable-static \ |
100 |
- $(multilib_native_use_enable doc documentation) \ |
101 |
- $(multilib_native_enable dtd-validation) \ |
102 |
- ${myconf} |
103 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
104 |
} |
105 |
|
106 |
multilib_src_install_all() { |