Diff geany-1.30.1 with a geany-1.34.1

/usr/portage/dev-util/geany/geany-1.34.1.ebuild 2019-05-23 16:39:00.000000000 +0300
1
# Copyright 1999-2018 Gentoo Foundation
1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=6
5
inherit eutils fdo-mime gnome2-utils
5

  
6
inherit gnome2-utils xdg-utils
6 7

  
7 8
LANGS="ar ast be bg ca cs de el en_GB es et eu fa fi fr gl he hi hu id it ja kk ko lb lt mn nl nn pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN ZH_TW"
8 9
NOSHORTLANGS="en_GB zh_CN zh_TW"
9 10

  
10 11
DESCRIPTION="GTK+ based fast and lightweight IDE"
11 12
HOMEPAGE="https://www.geany.org"
12
SRC_URI="https://download.geany.org/${P}.tar.bz2"
13

  
13
if [[ "${PV}" = 9999* ]] ; then
14
	inherit autotools git-r3
15
	EGIT_REPO_URI="https://github.com/geany/geany.git"
16
else
17
	SRC_URI="https://download.geany.org/${P}.tar.bz2"
18
	KEYWORDS="~alpha amd64 arm ~ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
19
fi
14 20
LICENSE="GPL-2+ HPND"
15 21
SLOT="0"
16
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
17
IUSE="gtk3 +vte"
22

  
23
IUSE="+gtk3 +vte"
18 24

  
19 25
RDEPEND=">=dev-libs/glib-2.32:2
20 26
	!gtk3? (
......
40 46
	# Syntax highlighting for Portage
41 47
	sed -i -e "s:*.sh;:*.sh;*.ebuild;*.eclass;:" \
42 48
		data/filetype_extensions.conf || die
49

  
50
	if [[ ${PV} = *_pre* ]] || [[ ${PV} = 9999* ]] ; then
51
		eautoreconf
52
	fi
43 53
}
44 54

  
45 55
src_configure() {
46
	econf \
47
		--disable-dependency-tracking \
48
		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
49
		$(use_enable gtk3) \
56
	local myeconfargs=(
57
		--disable-html-docs
58
		--disable-dependency-tracking
59
		--disable-pdf-docs
60
		--docdir="${EPREFIX}/usr/share/doc/${PF}"
61
		$(use_enable gtk3)
50 62
		$(use_enable vte)
63
	)
64
	econf "${myeconfargs[@]}"
51 65
}
52 66

  
53 67
src_install() {
54
	emake DESTDIR="${D}" DOCDIR="${ED}/usr/share/doc/${PF}" install
55
	rm -f "${ED}"/usr/share/doc/${PF}/{COPYING,GPL-2,ScintillaLicense.txt}
56
	prune_libtool_files --all
68
	emake DESTDIR="${D}" install
69
	find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die
57 70
}
58 71

  
59 72
pkg_preinst() { gnome2_icon_savelist; }
60 73

  
61 74
pkg_postinst() {
62
	fdo-mime_desktop_database_update
63 75
	gnome2_icon_cache_update
76
	xdg_desktop_database_update
64 77
}
65 78

  
66 79
pkg_postrm() {
67
	fdo-mime_desktop_database_update
68 80
	gnome2_icon_cache_update
81
	xdg_desktop_database_update
69 82
}
Thank you!