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 6CF30139345 for ; Sat, 17 Jul 2021 08:16:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8075EE0ABE; Sat, 17 Jul 2021 08:16:28 +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 2534BE0AA5 for ; Sat, 17 Jul 2021 08:16:28 +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 2C001342B6C for ; Sat, 17 Jul 2021 08:16:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 998A67D7 for ; Sat, 17 Jul 2021 08:16:25 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1626508727.fd23825e989d4b90ea3e2a89ccc1e1699a4c3e0a.ionen@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: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: fd23825e989d4b90ea3e2a89ccc1e1699a4c3e0a X-VCS-Branch: master Date: Sat, 17 Jul 2021 08:16:25 +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: 00b6c854-cc70-4a95-bce9-abab96ecec64 X-Archives-Hash: 9ddf054b159a49d1f51318434979dee3 commit: fd23825e989d4b90ea3e2a89ccc1e1699a4c3e0a Author: Ionen Wolkens gentoo org> AuthorDate: Fri Jul 16 23:45:13 2021 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sat Jul 17 07:58:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd23825e games-puzzle/numptyphysics: sync live Signed-off-by: Ionen Wolkens gentoo.org> .../numptyphysics/numptyphysics-9999.ebuild | 59 ++++++---------------- 1 file changed, 15 insertions(+), 44 deletions(-) diff --git a/games-puzzle/numptyphysics/numptyphysics-9999.ebuild b/games-puzzle/numptyphysics/numptyphysics-9999.ebuild index e9ab6b1a7e7..738b4f61763 100644 --- a/games-puzzle/numptyphysics/numptyphysics-9999.ebuild +++ b/games-puzzle/numptyphysics/numptyphysics-9999.ebuild @@ -3,67 +3,38 @@ EAPI=7 -inherit git-r3 gnome2-utils toolchain-funcs +inherit toolchain-funcs xdg DESCRIPTION="Crayon Physics-like drawing puzzle game using the same excellent Box2D engine" HOMEPAGE="https://github.com/thp/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 - http://numptyphysics.garage.maemo.org/levels/catalyst/catalyst.npz - http://numptyphysics.garage.maemo.org/levels/christeck/christeck.npz - http://numptyphysics.garage.maemo.org/levels/dneary/dneary.npz - http://numptyphysics.garage.maemo.org/levels/gnuton/gnuton.npz - http://numptyphysics.garage.maemo.org/levels/gudger/gudger.npz - http://numptyphysics.garage.maemo.org/levels/guile/guile.npz - http://numptyphysics.garage.maemo.org/levels/hurd/hurd.npz - http://numptyphysics.garage.maemo.org/levels/ioan/ioan.npz - http://numptyphysics.garage.maemo.org/levels/jhoff80/jhoff80.npz - http://numptyphysics.garage.maemo.org/levels/leonet/leonet.npz - http://numptyphysics.garage.maemo.org/levels/melvin/melvin.npz - http://numptyphysics.garage.maemo.org/levels/noodleman/noodleman.npz - http://numptyphysics.garage.maemo.org/levels/papky/papky.npz - http://numptyphysics.garage.maemo.org/levels/perli/perli.npz - http://numptyphysics.garage.maemo.org/levels/qole/qole.npz - http://numptyphysics.garage.maemo.org/levels/siminz/siminz.npz - http://numptyphysics.garage.maemo.org/levels/szymanowski/szymanowski.npz - http://numptyphysics.garage.maemo.org/levels/therealbubba/therealbubba.npz - http://numptyphysics.garage.maemo.org/levels/werre/werre.npz - http://numptyphysics.garage.maemo.org/levels/zeez/zeez.npz -)" -LICENSE="GPL-3+" +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/thp/numptyphysics.git" +else + SRC_URI="https://github.com/thp/numptyphysics/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="BSD GPL-3+ ZLIB" SLOT="0" -IUSE="+user-levels" RDEPEND=" dev-libs/glib:2 media-libs/libsdl2[opengl,video] media-libs/sdl2-image[png] media-libs/sdl2-ttf - virtual/opengl -" + virtual/opengl" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" PATCHES=( - "${FILESDIR}"/${PN}-0.3.5-gentoo.patch + "${FILESDIR}"/${PN}-0.3.8-empty-tr.patch + "${FILESDIR}"/${PN}-0.3.8-respect-flags.patch ) src_compile() { - tc-export CC CXX - emake -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update -} + tc-export AR CC CXX PKG_CONFIG RANLIB -pkg_postrm() { - gnome2_icon_cache_update + emake V=1 }