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 8334C138330 for ; Fri, 14 Oct 2016 23:41:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70111E0A6C; Fri, 14 Oct 2016 23:41:53 +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 42D4EE0A6C for ; Fri, 14 Oct 2016 23:41:53 +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 B7C1734100F for ; Fri, 14 Oct 2016 23:41:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 13139300 for ; Fri, 14 Oct 2016 23:41:50 +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: <1476488500.cef11d7dcfb7a6034d3660c57e80cb6ca8093d73.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/daimonin-client/files/, games-rpg/daimonin-client/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-rpg/daimonin-client/daimonin-client-0.10.5-r1.ebuild games-rpg/daimonin-client/files/daimonin-client-0.10.5-datadir.patch games-rpg/daimonin-client/files/daimonin-client-0.10.5-nozlib.patch X-VCS-Directories: games-rpg/daimonin-client/files/ games-rpg/daimonin-client/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: cef11d7dcfb7a6034d3660c57e80cb6ca8093d73 X-VCS-Branch: master Date: Fri, 14 Oct 2016 23:41:50 +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: 15d8c7e7-b347-4f1f-bfe2-e49221b8933d X-Archives-Hash: 96d80f532f0588f6d106a4db64d41115 commit: cef11d7dcfb7a6034d3660c57e80cb6ca8093d73 Author: Austin English gentoo org> AuthorDate: Fri Oct 14 23:15:27 2016 +0000 Commit: Austin English gentoo org> CommitDate: Fri Oct 14 23:41:40 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cef11d7d games-rpg/daimonin-client: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0 .../daimonin-client-0.10.5-r1.ebuild | 71 ++++++++++++++++++++++ .../files/daimonin-client-0.10.5-datadir.patch | 4 +- .../files/daimonin-client-0.10.5-nozlib.patch | 4 +- 3 files changed, 75 insertions(+), 4 deletions(-) diff --git a/games-rpg/daimonin-client/daimonin-client-0.10.5-r1.ebuild b/games-rpg/daimonin-client/daimonin-client-0.10.5-r1.ebuild new file mode 100644 index 00000000..9341e42 --- /dev/null +++ b/games-rpg/daimonin-client/daimonin-client-0.10.5-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils autotools + +MY_P=${PN}-${PV} +DESCRIPTION="a graphical 2D tile-based MMORPG" +HOMEPAGE="http://daimonin.sourceforge.net/" +SRC_URI="http://daimonin.svn.sourceforge.net/viewvc/daimonin/main/client/?view=tar&pathrev=6021 + -> daimonin-client-0.10.5.tar.gz + music? ( mirror://sourceforge/daimonin/Addon%20packs/Music/AllMusic.zip + -> daimonin-client-AllMusic-20100827.zip )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug music" + +RDEPEND=" + dev-games/physfs + media-libs/libsdl[sound,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis] + net-misc/curl" +DEPEND="${RDEPEND} + music? ( app-arch/unzip )" + +S=${WORKDIR}/client/make/linux + +PATCHES=( + "${FILESDIR}"/${P}-nozlib.patch +) + +src_unpack() { + unpack ${MY_P}.tar.gz + if use music ; then + cd client/media || die + rm -f * || die + unpack ${PN}-AllMusic-20100827.zip + fi +} + +src_prepare() { + default + rm ../../src/include/z{lib,conf}.h || die + sed -i \ + -e 's:$(d_datadir):$(DESTDIR)$(d_datadir):' \ + -e '/PROGRAMS/s:daimonin-updater::' \ + Makefile.am \ + || die "sed failed" + eautoreconf + cd ../../src || die + # Not relative to $S, so can't be applied via $PATCHES[@] + eapply "${FILESDIR}"/${P}-datadir.patch +} + +src_configure() { + econf \ + --disable-simplelayout \ + $(use_enable debug) +} + +src_install() { + default + cd ../.. || die + dodoc README* + newicon bitmaps/pentagram.png ${PN}.png + make_desktop_entry daimonin Daimonin +} diff --git a/games-rpg/daimonin-client/files/daimonin-client-0.10.5-datadir.patch b/games-rpg/daimonin-client/files/daimonin-client-0.10.5-datadir.patch index ea79f75..f2fc757 100644 --- a/games-rpg/daimonin-client/files/daimonin-client-0.10.5-datadir.patch +++ b/games-rpg/daimonin-client/files/daimonin-client-0.10.5-datadir.patch @@ -1,5 +1,5 @@ ---- main.c.old 2010-08-24 19:32:55.000000000 +0200 -+++ main.c 2010-09-19 18:49:54.000000000 +0200 +--- a/main.c 2010-08-24 19:32:55.000000000 +0200 ++++ b/main.c 2010-09-19 18:49:54.000000000 +0200 @@ -2386,7 +2386,7 @@ /* Add the base dir to the search path. The base dir is where all the diff --git a/games-rpg/daimonin-client/files/daimonin-client-0.10.5-nozlib.patch b/games-rpg/daimonin-client/files/daimonin-client-0.10.5-nozlib.patch index c342cc3..62a6e5f 100644 --- a/games-rpg/daimonin-client/files/daimonin-client-0.10.5-nozlib.patch +++ b/games-rpg/daimonin-client/files/daimonin-client-0.10.5-nozlib.patch @@ -1,5 +1,5 @@ ---- Makefile.am.old 2010-12-01 14:39:11.605648458 -0500 -+++ Makefile.am 2010-12-01 14:41:59.875915880 -0500 +--- a/Makefile.am 2010-12-01 14:39:11.605648458 -0500 ++++ b/Makefile.am 2010-12-01 14:41:59.875915880 -0500 @@ -2,23 +2,18 @@ daimonin_PROGRAMS = daimonin daimonin-updater