summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Sokolov <alexey+gentoo@asokolov.org>2021-08-30 20:34:17 +0100
committerIonen Wolkens <ionen@gentoo.org>2021-09-03 07:28:32 -0400
commitf8a58d45805337a5c3cd0ca71215b648b1fc544a (patch)
tree0cb7b7029edcf1c138b3f04e497937006198c63a /games-puzzle/pipewalker
parentgolang-vcs-snapshot.eclass: Set @PROVIDES (diff)
downloadgentoo-f8a58d45805337a5c3cd0ca71215b648b1fc544a.tar.gz
gentoo-f8a58d45805337a5c3cd0ca71215b648b1fc544a.tar.bz2
gentoo-f8a58d45805337a5c3cd0ca71215b648b1fc544a.zip
games-puzzle/pipewalker: fix deps, bump eapi
Closes: https://bugs.gentoo.org/739316 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/22165 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-puzzle/pipewalker')
-rw-r--r--games-puzzle/pipewalker/pipewalker-0.9.4-r2.ebuild (renamed from games-puzzle/pipewalker/pipewalker-0.9.4-r1.ebuild)23
1 files changed, 15 insertions, 8 deletions
diff --git a/games-puzzle/pipewalker/pipewalker-0.9.4-r1.ebuild b/games-puzzle/pipewalker/pipewalker-0.9.4-r2.ebuild
index bab059bfdd7e..4c1f67e286bd 100644
--- a/games-puzzle/pipewalker/pipewalker-0.9.4-r1.ebuild
+++ b/games-puzzle/pipewalker/pipewalker-0.9.4-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit desktop flag-o-matic
+EAPI=8
+inherit autotools desktop flag-o-matic toolchain-funcs
DESCRIPTION="Rotating pieces puzzle game"
HOMEPAGE="http://pipewalker.sourceforge.net/"
@@ -11,16 +11,23 @@ SRC_URI="mirror://sourceforge/pipewalker/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
-DEPEND="media-libs/libsdl[opengl,video]
+DEPEND="
+ media-libs/libpng:=
+ media-libs/libsdl[opengl,sound,video]
virtual/opengl
- virtual/glu"
+"
RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ default
+ eautoreconf
+}
src_configure() {
- append-flags $(sdl-config --cflags)
- econf --datadir="/usr/share"
+ append-cppflags $($(tc-getPKG_CONFIG) --cflags sdl || die)
+ default
}
src_install() {