summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <sudinave@gmail.com>2021-04-15 13:21:40 -0400
committerSam James <sam@gentoo.org>2021-04-16 04:46:53 +0000
commit1b292faf45d4683059b8c70e4f90b4f58e3b7126 (patch)
treead2cf97a08b03ead78cb9e69ec62980fe16476b3
parentmedia-gfx/transfig: drop unused flag-o-matic, tidy (diff)
downloadgentoo-1b292faf45d4683059b8c70e4f90b4f58e3b7126.tar.gz
gentoo-1b292faf45d4683059b8c70e4f90b4f58e3b7126.tar.bz2
gentoo-1b292faf45d4683059b8c70e4f90b4f58e3b7126.zip
x11-misc/xearth: EAPI-7 bump, eutils drop, tidy
Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--x11-misc/xearth/xearth-1.1-r1.ebuild39
1 files changed, 20 insertions, 19 deletions
diff --git a/x11-misc/xearth/xearth-1.1-r1.ebuild b/x11-misc/xearth/xearth-1.1-r1.ebuild
index cbd3a60f818d..542041ede4a8 100644
--- a/x11-misc/xearth/xearth-1.1-r1.ebuild
+++ b/x11-misc/xearth/xearth-1.1-r1.ebuild
@@ -1,34 +1,33 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
+DESCRIPTION="Set the X root window to an image of the Earth"
HOMEPAGE="https://hewgill.com/xearth/original/"
-DESCRIPTION="Xearth sets the X root window to an image of the Earth"
SRC_URI="ftp://cag.lcs.mit.edu/pub/tuna/${P}.tar.gz
ftp://ftp.cs.colorado.edu/users/tuna/${P}.tar.gz"
-SLOT="0"
LICENSE="xearth"
+SLOT="0"
KEYWORDS="~alpha amd64 ppc ppc64 x86"
-IUSE=""
RDEPEND="
x11-libs/libX11
x11-libs/libXext
- x11-libs/libXt
-"
-DEPEND="${RDEPEND}
- x11-base/xorg-proto
- >=x11-misc/imake-1.0.8-r1
+ x11-libs/libXt"
+DEPEND="${RDEPEND}"
+BDEPEND="
app-text/rman
-"
+ x11-base/xorg-proto
+ >=x11-misc/imake-1.0.8-r1"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-include.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-include.patch
+)
+DOCS=( BUILT-IN GAMMA-TEST HISTORY README )
src_configure() {
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
@@ -36,14 +35,16 @@ src_configure() {
}
src_compile() {
- emake \
- CC="$(tc-getCC)" \
- CDEBUGFLAGS="${CFLAGS}" \
+ local myemakeargs=(
+ CC="$(tc-getCC)"
+ CDEBUGFLAGS="${CFLAGS}"
EXTRA_LDOPTIONS="${LDFLAGS}"
+ )
+ emake "${myemakeargs[@]}"
}
src_install() {
- newman xearth.man xearth.1
dobin xearth
- dodoc BUILT-IN GAMMA-TEST HISTORY README
+ newman xearth.man xearth.1
+ einstalldocs
}