public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Vadim A. Misbakh-Soloviov" <mva@mva.name>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-arcade/dustforce/
Date: Fri,  9 Jan 2015 21:14:52 +0000 (UTC)	[thread overview]
Message-ID: <1420838085.0c2f2cb0aaa00291241a63f7b37e0ca7637322dc.mva@gentoo> (raw)

commit:     0c2f2cb0aaa00291241a63f7b37e0ca7637322dc
Author:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
AuthorDate: Fri Jan  9 21:14:45 2015 +0000
Commit:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Fri Jan  9 21:14:45 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=0c2f2cb0

[games-arcade/dustforce] Bumped + rewritten

Signed-off-by: Vadim A. Misbakh-Soloviov <mva <AT> mva.name>

---
 ...120917.ebuild => dustforce-1.0.20141222.ebuild} | 42 ++++++++++------------
 1 file changed, 19 insertions(+), 23 deletions(-)

diff --git a/games-arcade/dustforce/dustforce-1.0.20120917.ebuild b/games-arcade/dustforce/dustforce-1.0.20141222.ebuild
similarity index 62%
rename from games-arcade/dustforce/dustforce-1.0.20120917.ebuild
rename to games-arcade/dustforce/dustforce-1.0.20141222.ebuild
index dfcf65b..b113588 100644
--- a/games-arcade/dustforce/dustforce-1.0.20120917.ebuild
+++ b/games-arcade/dustforce/dustforce-1.0.20141222.ebuild
@@ -2,15 +2,15 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="4"
+EAPI="5"
 
 inherit games multilib unpacker-nixstaller
 
-TIMESTAMP="1347954459"
+TIMESTAMP="2014-12-22"
 
 DESCRIPTION="An acrobatic janitor 2d platformer"
 HOMEPAGE="http://dustforce.com"
-SRC_URI="dustforce-linux-${TIMESTAMP}.sh"
+SRC_URI="Dustforce-Linux-${TIMESTAMP}.sh"
 
 RESTRICT="fetch"
 
@@ -20,7 +20,8 @@ KEYWORDS="-* ~amd64 ~x86"
 IUSE=""
 
 DEPEND=""
-RDEPEND="virtual/opengl
+RDEPEND="
+	virtual/opengl
 	app-arch/bzip2
 	dev-libs/expat
 	media-libs/fontconfig
@@ -37,7 +38,8 @@ RDEPEND="virtual/opengl
 	x11-libs/libXdmcp
 	x11-libs/libXext
 	x11-libs/libXrender
-	x11-libs/libxcb"
+	x11-libs/libxcb
+"
 
 S="${WORKDIR}"
 MY_PN=Dustforce
@@ -49,37 +51,31 @@ pkg_nofetch() {
 }
 
 src_unpack() {
-	local arch;
-	use x86 && arch="x86";
-	use amd64 && arch="x86_64";
-	nixstaller_unpack \
-		"instarchive_all" \
-		"instarchive_linux_${arch}" \
-		"subarch" \
-		"deps/cURL/cURL_files_linux_${arch}"
-		# FIXME: We need last two lines only due to broken dependency.
-		# May be it will be good to report it to upstream?
+	unzip -q "${DISTDIR}/${A}"
 }
 
 src_install() {
 	local dir="${GAMES_PREFIX_OPT}/${PN}"
+	local exe arch;
+
 	insinto "${dir}"
-	doins -r content
+	doins -r "data/noarch/content"
 	exeinto "${dir}"
 
-	local exe
-	use x86   && exe="${MY_PN}.bin.x86"
-	use amd64 && exe="${MY_PN}.bin.x86_64"
+	use x86   && arch="x86"
+	use amd64 && arch="x86_64"
 
-	doexe "${exe}"
+	exe="${MY_PN}.bin.${arch}"
+	doexe "data/${arch}/${exe}"
 
 	# Broken dep
 	insinto "${dir}/$(get_libdir)"
-	doins "$(get_libdir)/libcurl.so.3"
-	doicon "${MY_PN}.png"
+	doins -r "data/${arch}/$(get_libdir)"/*
+#/libcurl.so.3"
+	doicon "data/noarch/${MY_PN}.png"
 	make_desktop_entry "${PN}" "${MY_PN}" "${MY_PN}"
 	games_make_wrapper "${PN}" "./${exe}" "${dir}" "${dir}/$(get_libdir)"
 
-	dodoc README.linux
+	dodoc data/noarch/README.linux
 	prepgamesdirs
 }


             reply	other threads:[~2015-01-09 21:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-09 21:14 Vadim A. Misbakh-Soloviov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-02-06 21:22 [gentoo-commits] proj/gamerlay:master commit in: games-arcade/dustforce/ Azamat H. Hackimov
2012-10-01  6:32 Misbakh-Soloviev Vadim A.
2012-09-23 19:03 Azamat H. Hackimov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1420838085.0c2f2cb0aaa00291241a63f7b37e0ca7637322dc.mva@gentoo \
    --to=mva@mva.name \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox