From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3A4B313835A for ; Sat, 27 Mar 2021 15:35:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 658FBE07FA; Sat, 27 Mar 2021 15:35:04 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 51235E07FA for ; Sat, 27 Mar 2021 15:35:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 283D2335D6E for ; Sat, 27 Mar 2021 15:35:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B557B635 for ; Sat, 27 Mar 2021 15:35:01 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1616859285.c9ec19dafe9a1b6a0cffbab874210ccd6f073022.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/numptyphysics/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-puzzle/numptyphysics/numptyphysics-9999.ebuild X-VCS-Directories: games-puzzle/numptyphysics/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c9ec19dafe9a1b6a0cffbab874210ccd6f073022 X-VCS-Branch: master Date: Sat, 27 Mar 2021 15:35:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 36b392c2-1e0f-41ae-a535-926662928901 X-Archives-Hash: 86812276f6ce18e71c1cacb4ec93fcc2 commit: c9ec19dafe9a1b6a0cffbab874210ccd6f073022 Author: Sam James gentoo org> AuthorDate: Sat Mar 27 15:08:23 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Mar 27 15:34:45 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9ec19da games-puzzle/numptyphysics: sync live ebuild Signed-off-by: Sam James gentoo.org> .../numptyphysics/numptyphysics-9999.ebuild | 43 +++++++++------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/games-puzzle/numptyphysics/numptyphysics-9999.ebuild b/games-puzzle/numptyphysics/numptyphysics-9999.ebuild index 01e05708917..0fbb92009bf 100644 --- a/games-puzzle/numptyphysics/numptyphysics-9999.ebuild +++ b/games-puzzle/numptyphysics/numptyphysics-9999.ebuild @@ -1,12 +1,13 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit eutils gnome2-utils flag-o-matic git-r3 +EAPI=7 -DESCRIPTION="Crayon Physics-like drawing puzzle game using the same excellent Box2D engine" -HOMEPAGE="http://thp.io/2015/numptyphysics/" +inherit flag-o-matic git-r3 gnome2-utils toolchain-funcs +DESCRIPTION="Crayon Physics-like drawing puzzle game using the same excellent Box2D engine" +HOMEPAGE="https://thp.io/2015/numptyphysics/" +EGIT_REPO_URI="https://github.com/thp/numptyphysics" # This is only the SRC_URI for the user levels. The code is in git repo. SRC_URI="user-levels? ( http://numptyphysics.garage.maemo.org/levels/butelo/butelo.npz @@ -32,35 +33,27 @@ SRC_URI="user-levels? ( http://numptyphysics.garage.maemo.org/levels/zeez/zeez.npz )" -EGIT_REPO_URI="https://github.com/thp/numptyphysics" - LICENSE="GPL-3" SLOT="0" -KEYWORDS="" IUSE="+user-levels" -RDEPEND="media-libs/libsdl2[opengl,video] +RDEPEND=" + dev-libs/glib:2 + media-libs/libsdl2[opengl,video] media-libs/sdl2-image[png] media-libs/sdl2-ttf virtual/opengl - dev-libs/glib:2" -DEPEND="${DEPEND} - virtual/pkgconfig" +" +DEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" -src_unpack() { - git-r3_src_unpack -} +PATCHES=( + "${FILESDIR}"/${PN}-0.3.5-gentoo.patch +) -src_prepare() { - append-cxxflags -std=c++11 -Isrc - sed -i '/-g -O2/d' external/Box2D/Source/Makefile \ - external/glaserl/makefile || die - sed -i "/return thp::/s% thp::.*$%\"/usr/share/${PN}/data\";%" \ - src/Os.cpp || die - sed -e '/CXXFLAGS +=/s/\(CXXFLAGS +=\).*\( -DAPP=.*\)/\1\2/' \ - -e '/SILENTCMD/s/$(LIBS)$/$(LDFLAGS) $(LIBS)/' \ - -i makefile || die - eapply_user +src_compile() { + tc-export CC CXX + emake } pkg_preinst() {