commit:     f8a58d45805337a5c3cd0ca71215b648b1fc544a
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Mon Aug 30 19:34:17 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Sep  3 11:28:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8a58d45

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 <AT> asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/22165
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 ...-0.9.4-r1.ebuild => pipewalker-0.9.4-r2.ebuild} | 23 ++++++++++++++--------
 1 file 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
similarity index 60%
rename from games-puzzle/pipewalker/pipewalker-0.9.4-r1.ebuild
rename to games-puzzle/pipewalker/pipewalker-0.9.4-r2.ebuild
index bab059bfdd7..4c1f67e286b 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() {

Reply via email to