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 127C5139082 for ; Tue, 31 Jan 2017 00:59:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4A42D21C07E; Tue, 31 Jan 2017 00:59:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2718F21C07E for ; Tue, 31 Jan 2017 00:59:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3BE04341663 for ; Tue, 31 Jan 2017 00:59:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F37253B87 for ; Tue, 31 Jan 2017 00:59:32 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1485824362.3e08015ce5098d652cbaeb6755a9633a68071859.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/xblast/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-action/xblast/xblast-2.10.4-r1.ebuild X-VCS-Directories: games-action/xblast/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: 3e08015ce5098d652cbaeb6755a9633a68071859 X-VCS-Branch: master Date: Tue, 31 Jan 2017 00:59:32 +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-Archives-Salt: 825e70d0-b9f5-452e-b8cf-0b169618dbe6 X-Archives-Hash: 53cf5edaec90390354bb229d7286bee6 commit: 3e08015ce5098d652cbaeb6755a9633a68071859 Author: Austin English gentoo org> AuthorDate: Tue Jan 31 00:33:28 2017 +0000 Commit: Austin English gentoo org> CommitDate: Tue Jan 31 00:59:22 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e08015c games-action/xblast: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: Portage-2.3.2, Repoman-2.3.1 games-action/xblast/xblast-2.10.4-r1.ebuild | 71 +++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/games-action/xblast/xblast-2.10.4-r1.ebuild b/games-action/xblast/xblast-2.10.4-r1.ebuild new file mode 100644 index 00000000..488b6a7 --- /dev/null +++ b/games-action/xblast/xblast-2.10.4-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit autotools + +# Change these as releases changes +IMAGES="images-2005-01-06" +LEVELS="levels-2005-01-06" +MODELS="models-2005-01-06" +MUSICS="musics-2005-01-06" +SOUNDS="sounds" + +DESCRIPTION="Bomberman clone w/network support for up to 6 players" +HOMEPAGE="http://xblast.sourceforge.net/" +SRC_URI="mirror://sourceforge/xblast/${P}.tar.gz + mirror://sourceforge/xblast/${IMAGES}.tar.gz + mirror://sourceforge/xblast/${LEVELS}.tar.gz + mirror://sourceforge/xblast/${MODELS}.tar.gz + mirror://sourceforge/xblast/${MUSICS}.tar.gz + mirror://sourceforge/xblast/${SOUNDS}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=" + media-libs/libpng:0 + x11-libs/libICE + x11-libs/libX11" +DEPEND="${RDEPEND} + x11-libs/libXt" + +src_prepare() { + default + + eautoreconf #255857 +} + +src_configure() { + econf \ + --with-otherdatadir=/usr/share/${PN} \ + --enable-sound +} + +src_install() { + local IMAGE_INSTALL_DIR="/usr/share/${PN}/image" + + default + + # Images + dodir "${IMAGE_INSTALL_DIR}" + cp -pPR "${WORKDIR}/${IMAGES}"/* "${D}/${IMAGE_INSTALL_DIR}" || die + + # Levels + insinto "$/usr/share/${PN}/level" + doins "${WORKDIR}/${LEVELS}"/* + + # Models + insinto "/usr/share/${PN}/image/sprite" + doins "${WORKDIR}/${MODELS}"/* + + # Music and sound + insinto "/usr/share/${PN}/sounds" + doins "${WORKDIR}/${MUSICS}"/* "${WORKDIR}/${SOUNDS}"/* + + # Cleanup + find "${D}" -name Imakefile -exec rm \{\} \; +}