summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-10-16 19:37:49 +0200
committerDavid Seifert <soap@gentoo.org>2021-10-16 19:37:49 +0200
commit4c7334695519a5462dc64b7bdb8472a4b3057c8e (patch)
tree54a0f3523faf56a5f09cbd6a3581027777b942e9 /x11-misc
parentnet-misc/croc: remove old (diff)
downloadgentoo-4c7334695519a5462dc64b7bdb8472a4b3057c8e.tar.gz
gentoo-4c7334695519a5462dc64b7bdb8472a4b3057c8e.tar.bz2
gentoo-4c7334695519a5462dc64b7bdb8472a4b3057c8e.zip
x11-misc/fireflies: update EAPI 5 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/fireflies/fireflies-2.08-r1.ebuild26
1 files 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 e317d91ac42e..74dcafcc87e4 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
}