summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-08-29 17:38:25 +0200
committerUlrich Müller <ulm@gentoo.org>2020-08-29 17:38:25 +0200
commitd5f63a9dcfedab80f66ac30d839f1fd712417719 (patch)
tree1c152971389c54c4301f1d4254bbca7695aa7a24 /app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild
parentapp-editors/femto: Initial import. (diff)
downloademacs-d5f63a9dcfedab80f66ac30d839f1fd712417719.tar.gz
emacs-d5f63a9dcfedab80f66ac30d839f1fd712417719.tar.bz2
emacs-d5f63a9dcfedab80f66ac30d839f1fd712417719.zip
app-emacs/emacs-common-gentoo: Sync from gentoo repository.
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild')
-rw-r--r--app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild
index 8b159f4..a40b672 100644
--- a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild
+++ b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
LICENSE="GPL-3+"
SLOT="0"
-IUSE="games X"
+IUSE="games gui"
RDEPEND="games? ( acct-group/gamestat )"
DEPEND="${RDEPEND}"
@@ -37,7 +37,7 @@ src_install() {
fperms g+w /var/games/emacs
fi
- if use X; then
+ if use gui; then
local i
domenu emacs.desktop emacsclient.desktop
@@ -91,7 +91,7 @@ pkg_preinst() {
}
pkg_postinst() {
- if use X; then
+ if use gui; then
xdg_desktop_database_update
xdg_icon_cache_update
fi
@@ -99,7 +99,7 @@ pkg_postinst() {
}
pkg_postrm() {
- if use X; then
+ if use gui; then
xdg_desktop_database_update
xdg_icon_cache_update
fi