commit:     96543ff5a7261653b55f0bc49d68d2dbf91fb0cc
Author:     Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 28 14:15:52 2019 +0000
Commit:     Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org>
CommitDate: Thu Feb 28 14:15:52 2019 +0000
URL:        https://gitweb.gentoo.org/proj/gnome.git/commit/?id=96543ff5

app-editors/latexila: bump to 3.30.2

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Manifest-Sign-Key: 0x7DF238CF0AA182E1
Signed-off-by: Sobhan Mohammadpour <sobhan <AT> gentoo.org>

 ...texila-3.26.1.ebuild => latexila-3.30.2.ebuild} | 24 +++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

diff --git a/app-editors/latexila/latexila-3.26.1.ebuild 
b/app-editors/latexila/latexila-3.30.2.ebuild
similarity index 72%
rename from app-editors/latexila/latexila-3.26.1.ebuild
rename to app-editors/latexila/latexila-3.30.2.ebuild
index f3718cb3..4fc7c5c1 100644
--- a/app-editors/latexila/latexila-3.26.1.ebuild
+++ b/app-editors/latexila/latexila-3.30.2.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
 VALA_MIN_API_VERSION="0.34"
 VALA_USE_DEPEND="vapigen"
+GNOME_ORG_MODULE="gnome-latex"
 
 inherit gnome2 vala
 
@@ -18,15 +19,15 @@ IUSE="+introspection +latexmk rubber"
 COMMON_DEPEND="
        $(vala_depend)
        app-text/enchant
-       >=app-text/gspell-1.0:0=
-       >=dev-libs/glib-2.50:2[dbus]
+       >=app-text/gspell-1.8:0=
+       >=dev-libs/glib-2.56:2[dbus]
        >=dev-libs/libgee-0.10:0.8=
        gnome-base/gsettings-desktop-schemas
        >=x11-libs/gtk+-3.22:3
-       >=x11-libs/gtksourceview-3.24:3.0=
+       x11-libs/gtksourceview:4=
        x11-libs/gdk-pixbuf:2
        x11-libs/pango
-       x11-libs/tepl:3
+       >=x11-libs/tepl-4.2:4
        introspection? ( >=dev-libs/gobject-introspection-1.30.0:= )
 "
 RDEPEND="${COMMON_DEPEND}
@@ -54,3 +55,16 @@ src_configure() {
        gnome2_src_configure \
                $(use_enable introspection)
 }
+
+pkg_postinst() {
+       local v
+       for v in ${REPLACING_VERSIONS}; do
+               if ver_test "3.30.0" -gt ${v}; then
+                       ewarn "Latexila has been renamed Gnome LaTeX"
+                       ewarn "the binary is now called gnome-latex"
+                       break
+               fi
+       done
+
+       gnome2_pkg_postinst
+}

Reply via email to