Diff emacs-common-1.8 with a emacs-common-1.9

/usr/portage/app-emacs/emacs-common/emacs-common-1.9.ebuild 2023-10-09 14:52:28.684368330 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
inherit elisp-common desktop xdg-utils readme.gentoo-r1
6
inherit elisp-common desktop gnome2-utils xdg-utils readme.gentoo-r1
7 7

  
8 8
DESCRIPTION="Common files needed by all GNU Emacs versions"
9 9
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
......
12 12
LICENSE="GPL-3+"
13 13
SLOT="0"
14 14
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
15
IUSE="games gui"
15
IUSE="games gsettings gui"
16 16

  
17
RDEPEND="games? ( acct-group/gamestat )"
18
DEPEND="${RDEPEND}"
17
DEPEND="games? ( acct-group/gamestat )"
18
RDEPEND="${DEPEND}"
19 19
PDEPEND=">=app-editors/emacs-23.1:*"
20
IDEPEND="gui? ( gsettings? ( dev-libs/glib ) )"
20 21

  
21 22
src_install() {
22 23
	insinto "${SITELISP}"
......
49 50
		doicon -s scalable emacs23.svg
50 51
		newicon -s scalable emacs25.svg emacs.svg
51 52
		popd
53

  
54
		if use gsettings; then
55
			insinto /usr/share/glib-2.0/schemas
56
			doins org.gnu.emacs.defaults.gschema.xml
57
		fi
52 58
	fi
53 59

  
54 60
	DOC_CONTENTS="All site initialisation for Gentoo-installed packages is
......
91 97
	if use gui; then
92 98
		xdg_desktop_database_update
93 99
		xdg_icon_cache_update
100
		use gsettings && gnome2_schemas_update
94 101
	fi
95 102
	readme.gentoo_print_elog
96 103
}
......
99 106
	if use gui; then
100 107
		xdg_desktop_database_update
101 108
		xdg_icon_cache_update
109
		use gsettings && gnome2_schemas_update
102 110
	fi
103 111
}
Thank you!