commit:     4c7334695519a5462dc64b7bdb8472a4b3057c8e
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 16 17:37:49 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Oct 16 17:37:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c733469

x11-misc/fireflies: update EAPI 5 -> 8

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 x11-misc/fireflies/fireflies-2.08-r1.ebuild | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/x11-misc/fireflies/fireflies-2.08-r1.ebuild 
b/x11-misc/fireflies/fireflies-2.08-r1.ebuild
index e317d91ac42..74dcafcc87e 100644
--- a/x11-misc/fireflies/fireflies-2.08-r1.ebuild
+++ b/x11-misc/fireflies/fireflies-2.08-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit autotools multilib
+EAPI=8
+
+inherit autotools toolchain-funcs
 
 DESCRIPTION="Fireflies screensaver: Wicked cool eye candy"
 HOMEPAGE="https://github.com/mpcomplete/fireflies";
@@ -11,29 +12,28 @@ 
SRC_URI="https://github.com/mpcomplete/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g
 LICENSE="GPL-2 icu"
 SLOT="0"
 KEYWORDS="amd64 ppc x86"
-IUSE=""
 
-RDEPEND="media-libs/libsdl[X,opengl,video]
+RDEPEND="
+       media-libs/libsdl[X,opengl,video]
        virtual/glu
        virtual/opengl
        x11-libs/libX11"
-DEPEND="${RDEPEND}
-       sys-devel/autoconf-archive"  # for AX_CXX_BOOL macro
-
-DOCS=( ChangeLog README.md TODO )
+DEPEND="${RDEPEND}"
+BDEPEND="sys-devel/autoconf-archive"  # for AX_CXX_BOOL macro
 
 src_prepare() {
+       default
        eautoreconf
 }
 
 src_configure() {
+       tc-export AR
        econf \
-               --with-confdir=/usr/share/xscreensaver/config \
-               --with-bindir="/usr/$(get_libdir)/misc/xscreensaver"
+               --with-confdir="${EPREFIX}"/usr/share/xscreensaver/config \
+               --with-bindir="${EPREFIX}"/usr/$(get_libdir)/misc/xscreensaver
 }
 
 src_install() {
-       newbin {,${PN}-}add-xscreensaver
-
        default
+       newbin {,${PN}-}add-xscreensaver
 }

Reply via email to