From 876bd6875f3669646929f012647be6fbbe34aea9 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Fri, 30 Sep 2022 05:07:05 -0400 Subject: x11-misc/xbatt: EAPI6->8, drop dead urls Signed-off-by: Ionen Wolkens --- x11-misc/xbatt/xbatt-1.3_rc1-r1.ebuild | 51 ++++++++++++++++++++++++++++++++++ x11-misc/xbatt/xbatt-1.3_rc1.ebuild | 50 --------------------------------- 2 files changed, 51 insertions(+), 50 deletions(-) create mode 100644 x11-misc/xbatt/xbatt-1.3_rc1-r1.ebuild delete mode 100644 x11-misc/xbatt/xbatt-1.3_rc1.ebuild (limited to 'x11-misc') diff --git a/x11-misc/xbatt/xbatt-1.3_rc1-r1.ebuild b/x11-misc/xbatt/xbatt-1.3_rc1-r1.ebuild new file mode 100644 index 000000000000..56d0ce5f7d91 --- /dev/null +++ b/x11-misc/xbatt/xbatt-1.3_rc1-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_PV=${PV/_rc/pr} + +DESCRIPTION="Notebook battery indicator for X" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +SRC_URI="mirror://gentoo/${PN}-${MY_PV}.tar.gz" +S="${WORKDIR}/${PN}-$(ver_cut 1-2)" + +LICENSE="xbatt" +SLOT="0" +KEYWORDS="amd64 ppc x86" +RDEPEND=" + x11-libs/libX11 + x11-libs/libXmu + x11-libs/libXt + x11-libs/libXaw + x11-libs/libXext + x11-libs/libxkbfile + x11-libs/libXpm" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto" +BDEPEND=">=x11-misc/imake-1.0.8-r1" + +PATCHES=( + "${FILESDIR}"/${PN}-1.2.1-implicits.patch +) + +src_configure() { + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CDEBUGFLAGS="${CFLAGS}" \ + EXTRA_LDOPTIONS="${LDFLAGS}" \ + xbatt +} + +src_install() { + emake DESTDIR="${D}" install + einstalldocs +} diff --git a/x11-misc/xbatt/xbatt-1.3_rc1.ebuild b/x11-misc/xbatt/xbatt-1.3_rc1.ebuild deleted file mode 100644 index df26d01cbd2c..000000000000 --- a/x11-misc/xbatt/xbatt-1.3_rc1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit toolchain-funcs eapi7-ver - -MY_PV=${PV/_rc/pr} -DESCRIPTION="Notebook battery indicator for X" -HOMEPAGE="http://www.clave.gr.jp/~eto/xbatt/" -SRC_URI="http://www.clave.gr.jp/~eto/xbatt/${PN}-${MY_PV}.tar.gz" - -LICENSE="xbatt" -SLOT="0" -KEYWORDS="amd64 ppc x86" -RDEPEND=" - x11-libs/libX11 - x11-libs/libXmu - x11-libs/libXt - x11-libs/libXaw - x11-libs/libXext - x11-libs/libxkbfile - x11-libs/libXpm -" -DEPEND=" - ${RDEPEND} - x11-base/xorg-proto - >=x11-misc/imake-1.0.8-r1 -" -PATCHES=( - "${FILESDIR}"/${PN}-1.2.1-implicits.patch -) -S="${WORKDIR}"/${PN}-$(ver_cut 1-2) - -src_configure() { - CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ - IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die -} - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - CDEBUGFLAGS="${CFLAGS}" \ - EXTRA_LDOPTIONS="${LDFLAGS}" \ - xbatt -} - -src_install() { - emake DESTDIR="${D}" install - dodoc README* -} -- cgit v1.2.3-65-gdbad