1 |
commit: cd2259ec4ff82f937e5f0340ea1a632237e71ae4 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 18 11:35:09 2017 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 18 11:36:47 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd2259ec |
7 |
|
8 |
gnome-extra/gnome-builder: bump to 3.24.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
gnome-extra/gnome-builder/Manifest | 1 + |
13 |
.../gnome-builder/gnome-builder-3.24.1.ebuild | 133 +++++++++++++++++++++ |
14 |
2 files changed, 134 insertions(+) |
15 |
|
16 |
diff --git a/gnome-extra/gnome-builder/Manifest b/gnome-extra/gnome-builder/Manifest |
17 |
index 8914bcd24d9..05fa794de78 100644 |
18 |
--- a/gnome-extra/gnome-builder/Manifest |
19 |
+++ b/gnome-extra/gnome-builder/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST gnome-builder-3.22.4.tar.xz 2480900 SHA256 d569446a83ab88872c265f238f8f42b5928a6b3eebb22fd1db3dbc0dd9128795 SHA512 69ee0d22f7e60f1bc236f2648662ece38f2a3c827d6877f8cbee82eadd499c19de8e4f6f94d7ad8832a93d26cddb5d34106ec6a9e878a7abea3350929d50711d WHIRLPOOL 9dd3f91d6f66a30e9ff6b415683f9a024d38f4af53029bb9fb4e5b3bf73f06c303516b4958585d7743ffb62cbb468da76b2a9c996ee460539762fada4c11a4da |
22 |
+DIST gnome-builder-3.24.1.tar.xz 4338232 SHA256 d0630dceeaf09285640ecec79545baf811321636a441824a9243e7f3a4467583 SHA512 8a235ca744cd8e79d8c45ccac14b1c89a825eccede52fcb9dfbe62b46a0948a6ba03cb64c9608328be991df4ff6be9b9f9032f335535aabe1673fd8ad5301f8a WHIRLPOOL 3ee74710195038bef91afe86e79de14dd90fae531560ac60f8138b61d36120c69916f833958a130653a9a083b603a3a89c7609829caa9bb84aa96647eb301d04 |
23 |
|
24 |
diff --git a/gnome-extra/gnome-builder/gnome-builder-3.24.1.ebuild b/gnome-extra/gnome-builder/gnome-builder-3.24.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..14f8f57638d |
27 |
--- /dev/null |
28 |
+++ b/gnome-extra/gnome-builder/gnome-builder-3.24.1.ebuild |
29 |
@@ -0,0 +1,133 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+PYTHON_COMPAT=( python{3_3,3_4,3_5} ) |
35 |
+VALA_MIN_API_VERSION="0.30" |
36 |
+VALA_USE_DEPEND="vapigen" |
37 |
+DISABLE_AUTOFORMATTING=1 |
38 |
+FORCE_PRINT_ELOG=1 |
39 |
+ |
40 |
+inherit gnome2 python-single-r1 vala virtualx readme.gentoo-r1 |
41 |
+ |
42 |
+DESCRIPTION="Builder attempts to be an IDE for writing software for GNOME" |
43 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Builder" |
44 |
+ |
45 |
+# FIXME: Review licenses at some point |
46 |
+LICENSE="GPL-3+ GPL-2+ LGPL-3+ LGPL-2+ MIT CC-BY-SA-3.0 CC0-1.0" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="clang +git sysprof vala webkit" |
50 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
51 |
+ |
52 |
+# When bumping, pay attention to all the included plugins/*/configure.ac files and the requirements within. |
53 |
+# Most have no extra requirements and default to enabled; we need to handle the ones with extra requirements, which tend to default to auto(magic). |
54 |
+# Look at the last (fourth) argument given to AC_ARG_ENABLE to decide. We don't support any disabling of those that are default-enabled and have no extra deps beyond C/python/introspection. |
55 |
+# FIXME: >=dev-util/devhelp-3.20.0 dependency is automagic for devhelp integration plugin |
56 |
+# FIXME: vte could be optional via $(use_enable vte terminal-plugin) - but most/all people want this and have vte? |
57 |
+# FIXME: flatpak-plugin needs flatpak.pc >=0.6.9, libgit2[threads] >=libgit2-glib-0.24.0[ssh] libsoup-2.4.pc |
58 |
+# FIXME: --with-sanitizer configure option |
59 |
+# FIXME: Enable rdtscp based high performance counter usage on suitable architectures for EGG_COUNTER? |
60 |
+# Editorconfig needs pcre.h, with vte migrating away, might want it optional? |
61 |
+# Python is always enabled - the core python plugin support checks are automagic and not worth crippling it by not supporting python plugins |
62 |
+# Relatedly introspection is always required to not have broken python using plugins or have to enable/disable them based on it. This is a full IDE, not a place to be really minimal. |
63 |
+# An introspection USE flag of a dep is required if any introspection based language plugin wants to use it. Last full check at 3.22.4 |
64 |
+RDEPEND=" |
65 |
+ >=x11-libs/gtk+-3.22.1:3[introspection] |
66 |
+ >=dev-libs/glib-2.50.0:2[dbus] |
67 |
+ >=x11-libs/gtksourceview-3.22.0:3.0[introspection] |
68 |
+ >=dev-libs/gobject-introspection-1.48.0:= |
69 |
+ >=dev-python/pygobject-3.22.0:3 |
70 |
+ >=dev-libs/libxml2-2.9.0 |
71 |
+ >=x11-libs/pango-1.38.0 |
72 |
+ >=dev-libs/libpeas-1.18.0[python,${PYTHON_USEDEP}] |
73 |
+ >=dev-libs/json-glib-1.2.0 |
74 |
+ >=app-text/gspell-1.2.0 |
75 |
+ >=app-text/enchant-1.6.0 |
76 |
+ webkit? ( >=net-libs/webkit-gtk-2.12.0:4=[introspection] ) |
77 |
+ clang? ( sys-devel/clang ) |
78 |
+ git? ( |
79 |
+ dev-libs/libgit2[ssh,threads] |
80 |
+ >=dev-libs/libgit2-glib-0.25.0[ssh] ) |
81 |
+ >=x11-libs/vte-0.46:2.91 |
82 |
+ sysprof? ( >=dev-util/sysprof-3.23.91[gtk] ) |
83 |
+ dev-libs/libpcre:3 |
84 |
+ ${PYTHON_DEPS} |
85 |
+ vala? ( $(vala_depend) ) |
86 |
+" |
87 |
+# desktop-file-utils for desktop-file-validate check in configure for 3.22.4 |
88 |
+# mm-common due to not fully clean --disable-idemm behaviour, recheck on bump |
89 |
+DEPEND="${RDEPEND} |
90 |
+ dev-cpp/mm-common |
91 |
+ dev-libs/appstream-glib |
92 |
+ dev-util/desktop-file-utils |
93 |
+ >=sys-devel/gettext-0.19.8 |
94 |
+ virtual/pkgconfig |
95 |
+ !<sys-apps/sandbox-2.10-r3 |
96 |
+" |
97 |
+ |
98 |
+# Tests fail if all plugins aren't enabled (webkit, clang, devhelp, perhaps more) |
99 |
+RESTRICT="test" |
100 |
+ |
101 |
+DOC_CONTENTS='gnome-builder can use various other dependencies on runtime to provide |
102 |
+extra capabilities beyond these expressed via USE flags. Some of these |
103 |
+that are currently available with packages include: |
104 |
+ |
105 |
+* dev-util/ctags with exuberant-ctags selected via "eselect ctags" for |
106 |
+ C, C++, Python, JavaScript, CSS, HTML and Ruby autocompletion, semantic |
107 |
+ highlighting and symbol resolving support. |
108 |
+* dev-python/jedi and dev-python/lxml for more accurate Python |
109 |
+ autocompletion support. |
110 |
+* dev-util/valgrind for integration with valgrind. |
111 |
+* dev-util/meson for integration with the Meson build system. |
112 |
+* dev-util/cargo for integration with the Rust Cargo build system. |
113 |
+' |
114 |
+# FIXME: Package gnome-code-assistance and mention here, or maybe USE flag and default enable because it's rather important |
115 |
+# eslint for additional diagnostics in JavaScript files |
116 |
+# jhbuild support |
117 |
+# rust language server via rls |
118 |
+# autotools stuff for autotools plugin; gtkmm/autoconf-archive for C++ template |
119 |
+# mono/PHPize stuff |
120 |
+ |
121 |
+pkg_setup() { |
122 |
+ python-single-r1_pkg_setup |
123 |
+} |
124 |
+ |
125 |
+src_prepare() { |
126 |
+ use vala && vala_src_prepare |
127 |
+ gnome2_src_prepare |
128 |
+} |
129 |
+ |
130 |
+src_configure() { |
131 |
+ gnome2_src_configure \ |
132 |
+ --with-channel=distro \ |
133 |
+ --enable-editorconfig \ |
134 |
+ --enable-introspection \ |
135 |
+ $(use_enable vala vala-pack-plugin) \ |
136 |
+ $(use_enable webkit) \ |
137 |
+ $(use_enable webkit html-preview-plugin) \ |
138 |
+ $(use_enable clang clang-plugin) \ |
139 |
+ $(use_enable git git-plugin) \ |
140 |
+ $(use_enable sysprof sysprof-plugin) \ |
141 |
+ --disable-flatpak-plugin \ |
142 |
+ --enable-terminal-plugin \ |
143 |
+ --enable-gettext-plugin \ |
144 |
+ --disable-static |
145 |
+} |
146 |
+ |
147 |
+src_install() { |
148 |
+ gnome2_src_install |
149 |
+ readme.gentoo_create_doc |
150 |
+} |
151 |
+ |
152 |
+pkg_postinst() { |
153 |
+ gnome2_pkg_postinst |
154 |
+ readme.gentoo_print_elog |
155 |
+} |
156 |
+ |
157 |
+src_test() { |
158 |
+ # FIXME: this should be handled at eclass level |
159 |
+ "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data/gsettings" || die |
160 |
+ |
161 |
+ GSETTINGS_SCHEMA_DIR="${S}/data/gsettings" virtx emake check |
162 |
+} |