Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/fireflies/
Date: Sat, 16 Oct 2021 17:38:08
Message-Id: 1634405869.4c7334695519a5462dc64b7bdb8472a4b3057c8e.soap@gentoo
1 commit: 4c7334695519a5462dc64b7bdb8472a4b3057c8e
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 16 17:37:49 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 16 17:37:49 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c733469
7
8 x11-misc/fireflies: update EAPI 5 -> 8
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 x11-misc/fireflies/fireflies-2.08-r1.ebuild | 26 +++++++++++++-------------
13 1 file changed, 13 insertions(+), 13 deletions(-)
14
15 diff --git a/x11-misc/fireflies/fireflies-2.08-r1.ebuild b/x11-misc/fireflies/fireflies-2.08-r1.ebuild
16 index e317d91ac42..74dcafcc87e 100644
17 --- a/x11-misc/fireflies/fireflies-2.08-r1.ebuild
18 +++ b/x11-misc/fireflies/fireflies-2.08-r1.ebuild
19 @@ -1,8 +1,9 @@
20 -# Copyright 1999-2017 Gentoo Foundation
21 +# Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 -inherit autotools multilib
26 +EAPI=8
27 +
28 +inherit autotools toolchain-funcs
29
30 DESCRIPTION="Fireflies screensaver: Wicked cool eye candy"
31 HOMEPAGE="https://github.com/mpcomplete/fireflies"
32 @@ -11,29 +12,28 @@ SRC_URI="https://github.com/mpcomplete/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g
33 LICENSE="GPL-2 icu"
34 SLOT="0"
35 KEYWORDS="amd64 ppc x86"
36 -IUSE=""
37
38 -RDEPEND="media-libs/libsdl[X,opengl,video]
39 +RDEPEND="
40 + media-libs/libsdl[X,opengl,video]
41 virtual/glu
42 virtual/opengl
43 x11-libs/libX11"
44 -DEPEND="${RDEPEND}
45 - sys-devel/autoconf-archive" # for AX_CXX_BOOL macro
46 -
47 -DOCS=( ChangeLog README.md TODO )
48 +DEPEND="${RDEPEND}"
49 +BDEPEND="sys-devel/autoconf-archive" # for AX_CXX_BOOL macro
50
51 src_prepare() {
52 + default
53 eautoreconf
54 }
55
56 src_configure() {
57 + tc-export AR
58 econf \
59 - --with-confdir=/usr/share/xscreensaver/config \
60 - --with-bindir="/usr/$(get_libdir)/misc/xscreensaver"
61 + --with-confdir="${EPREFIX}"/usr/share/xscreensaver/config \
62 + --with-bindir="${EPREFIX}"/usr/$(get_libdir)/misc/xscreensaver
63 }
64
65 src_install() {
66 - newbin {,${PN}-}add-xscreensaver
67 -
68 default
69 + newbin {,${PN}-}add-xscreensaver
70 }