diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /dev-util/geany/geany-9999.ebuild | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'dev-util/geany/geany-9999.ebuild')
-rw-r--r-- | dev-util/geany/geany-9999.ebuild | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/dev-util/geany/geany-9999.ebuild b/dev-util/geany/geany-9999.ebuild index f07d539b7273..79034d53feb2 100644 --- a/dev-util/geany/geany-9999.ebuild +++ b/dev-util/geany/geany-9999.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit gnome2-utils xdg-utils +# eutils required for strip-linguas +inherit eutils xdg 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" NOSHORTLANGS="en_GB zh_CN zh_TW" @@ -14,6 +15,7 @@ if [[ "${PV}" = 9999* ]] ; then inherit autotools git-r3 EGIT_REPO_URI="https://github.com/geany/geany.git" else + [[ "${PV}" == *_pre* ]] && inherit autotools SRC_URI="https://download.geany.org/${P}.tar.bz2" KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" fi @@ -41,7 +43,7 @@ pkg_setup() { } src_prepare() { - default + xdg_src_prepare #588570 # Syntax highlighting for Portage sed -i -e "s:*.sh;:*.sh;*.ebuild;*.eclass;:" \ @@ -56,7 +58,6 @@ src_configure() { local myeconfargs=( --disable-html-docs --disable-dependency-tracking - --docdir="${EPREFIX}/usr/share/doc/${PF}" $(use_enable gtk3) $(use_enable vte) ) @@ -68,14 +69,14 @@ src_install() { find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die } -pkg_preinst() { gnome2_icon_savelist; } +pkg_preinst() { + xdg_pkg_preinst +} pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update + xdg_pkg_postinst } pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update + xdg_pkg_postrm } |