summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-01-12 17:31:39 +0100
committerUlrich Müller <ulm@gentoo.org>2020-08-29 13:43:39 +0200
commit47c92843ec20f1d9a5ae011c47770d49b0c3d7dd (patch)
treeb4747f2431ffdcc702ff8c49c4f0ecb0e7d418bb /app-editors
parentnet-libs/nghttp2-1.41.0: marked ~x64-{macos,solaris} (diff)
downloadgentoo-47c92843ec20f1d9a5ae011c47770d49b0c3d7dd.tar.gz
gentoo-47c92843ec20f1d9a5ae011c47770d49b0c3d7dd.tar.bz2
gentoo-47c92843ec20f1d9a5ae011c47770d49b0c3d7dd.zip
app-editors/jasspa-microemacs: Migrate from X to gui USE flag.
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r3.ebuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r3.ebuild b/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r3.ebuild
index e41568ee3659..c04a8195963d 100644
--- a/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r3.ebuild
+++ b/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r3.ebuild
@@ -17,10 +17,10 @@ SRC_URI="http://www.jasspa.com/release_20090909/jasspa-mesrc-${PV}.tar.gz
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
-IUSE="nanoemacs X xpm"
+IUSE="gui nanoemacs xpm"
RDEPEND="sys-libs/ncurses:0=
- X? (
+ gui? (
x11-libs/libX11
xpm? ( x11-libs/libXpm )
)
@@ -28,7 +28,7 @@ RDEPEND="sys-libs/ncurses:0=
DEPEND="${RDEPEND}
virtual/pkgconfig
- X? (
+ gui? (
x11-base/xorg-proto
x11-libs/libXt
)"
@@ -62,7 +62,7 @@ src_compile() {
local pkgdatadir="${EPREFIX}/usr/share/jasspa"
local me="" type=c
use nanoemacs && me="-ne"
- use X && type=cw
+ use gui && type=cw
use xpm || export XPM_INCLUDE=. # prevent Xpm autodetection
cd src || die
@@ -77,23 +77,23 @@ src_compile() {
src_install() {
local me=me type=c
use nanoemacs && me=ne
- use X && type=cw
+ use gui && type=cw
newbin src/${me}${type} ${me}
if ! use nanoemacs; then
keepdir /usr/share/jasspa/site
insinto /usr/share
doins -r "${WORKDIR}"/jasspa
- use X && domenu "${FILESDIR}"/${PN}.desktop
+ use gui && domenu "${FILESDIR}"/${PN}.desktop
fi
dodoc faq.txt readme.txt change.log
}
pkg_postinst() {
- use X && xdg_desktop_database_update
+ use gui && xdg_desktop_database_update
}
pkg_postrm() {
- use X && xdg_desktop_database_update
+ use gui && xdg_desktop_database_update
}