1 |
commit: a6f02b1ce018f9e9b890cc83fa3bc24f32931e10 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 19 20:08:32 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 19 20:13:42 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6f02b1c |
7 |
|
8 |
app-editors/gedit: Version bump to 41.0 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
app-editors/gedit/Manifest | 1 + |
13 |
app-editors/gedit/gedit-41.0.ebuild | 91 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 92 insertions(+) |
15 |
|
16 |
diff --git a/app-editors/gedit/Manifest b/app-editors/gedit/Manifest |
17 |
index 88246b56777a..79b97f25ef7e 100644 |
18 |
--- a/app-editors/gedit/Manifest |
19 |
+++ b/app-editors/gedit/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST gedit-40.1.tar.xz 6850264 BLAKE2B 2baabac1254d56bf4c6a663012f88505c8f3cfcdd8fd8e020e05d807f727f71cf9088c398702f559e40ba7db31d3a9d135c1148f8a8b178c9107aa2675265910 SHA512 ac4cd2864af63625dbdb5c55fcc5e7ea403d84d7cc25d9f1c121f544ef1cf686ab9b7c0d50ef73b4bf24e573cdf528622a49d82f675b0c1673c46f691b79ac09 |
22 |
+DIST gedit-41.0.tar.xz 6889320 BLAKE2B c4d2b923eab18cd27ffc0ff99882953e952c0956135fa7f6401ef01dd5cd0e1cf9a5a86c5751db9206fd88200c70434710881cd5b934a3620f14130a5066f18f SHA512 97c51ef24e53d6bd4b29350a8749eacbfcfb90b7c66c9f6d462101c53966282452f6a02043628e157e8179cf6260f103b41c61d7ba2a31da08b0687f8031974e |
23 |
|
24 |
diff --git a/app-editors/gedit/gedit-41.0.ebuild b/app-editors/gedit/gedit-41.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..992a0e34cb30 |
27 |
--- /dev/null |
28 |
+++ b/app-editors/gedit/gedit-41.0.ebuild |
29 |
@@ -0,0 +1,91 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+PYTHON_COMPAT=( python3_{8..10} ) |
35 |
+VALA_MIN_API_VERSION="0.26" |
36 |
+VALA_USE_DEPEND="vapigen" |
37 |
+ |
38 |
+inherit gnome.org gnome2-utils meson python-single-r1 vala xdg |
39 |
+ |
40 |
+DESCRIPTION="A text editor for the GNOME desktop" |
41 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Gedit" |
42 |
+ |
43 |
+LICENSE="GPL-2+ CC-BY-SA-3.0" |
44 |
+SLOT="0" |
45 |
+ |
46 |
+IUSE="+python gtk-doc spell" |
47 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
48 |
+ |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ >=dev-libs/glib-2.64:2 |
53 |
+ >=dev-libs/libpeas-1.14.1[gtk] |
54 |
+ >=dev-libs/gobject-introspection-1.54:= |
55 |
+ >=x11-libs/gtk+-3.22.0:3[introspection] |
56 |
+ >=x11-libs/gtksourceview-4.0.2:4[introspection] |
57 |
+ |
58 |
+ spell? ( >=app-text/gspell-0.2.5:0= ) |
59 |
+ python? ( |
60 |
+ ${PYTHON_DEPS} |
61 |
+ $(python_gen_cond_dep ' |
62 |
+ dev-python/pycairo[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/pygobject-3:3[cairo,${PYTHON_USEDEP}] |
64 |
+ dev-libs/libpeas[python,${PYTHON_SINGLE_USEDEP}] |
65 |
+ ') |
66 |
+ ) |
67 |
+" |
68 |
+RDEPEND="${DEPEND} |
69 |
+ x11-themes/adwaita-icon-theme |
70 |
+ gnome-base/gsettings-desktop-schemas |
71 |
+ gnome-base/gvfs |
72 |
+" |
73 |
+BDEPEND=" |
74 |
+ $(vala_depend) |
75 |
+ app-text/docbook-xml-dtd:4.1.2 |
76 |
+ dev-util/glib-utils |
77 |
+ gtk-doc? ( >=dev-util/gtk-doc-1 ) |
78 |
+ dev-util/itstool |
79 |
+ >=sys-devel/gettext-0.18 |
80 |
+ virtual/pkgconfig |
81 |
+" |
82 |
+ |
83 |
+pkg_setup() { |
84 |
+ use python && python-single-r1_pkg_setup |
85 |
+} |
86 |
+ |
87 |
+src_prepare() { |
88 |
+ vala_src_prepare |
89 |
+ xdg_src_prepare |
90 |
+} |
91 |
+ |
92 |
+src_configure() { |
93 |
+ local emesonargs=( |
94 |
+ $(meson_use gtk-doc gtk_doc) |
95 |
+ $(meson_use python) |
96 |
+ $(meson_feature spell) |
97 |
+ -Duser_documentation=true |
98 |
+ -Denable-gvfs-metadata=yes |
99 |
+ |
100 |
+ ) |
101 |
+ meson_src_configure |
102 |
+} |
103 |
+ |
104 |
+src_install() { |
105 |
+ meson_src_install |
106 |
+ if use python; then |
107 |
+ python_optimize |
108 |
+ python_optimize "${ED}/usr/$(get_libdir)/gedit/plugins/" |
109 |
+ fi |
110 |
+} |
111 |
+ |
112 |
+pkg_postinst() { |
113 |
+ xdg_pkg_postinst |
114 |
+ gnome2_schemas_update |
115 |
+} |
116 |
+ |
117 |
+pkg_postrm() { |
118 |
+ xdg_pkg_postrm |
119 |
+ gnome2_schemas_update |
120 |
+} |