mgorny      14/06/25 13:14:21

  Modified:             ChangeLog
  Added:                shadowgrounds-bin-0_beta12-r1.ebuild
  Log:
  Support multilib dependencies aside to emul-linux-x86.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.4                  games-action/shadowgrounds-bin/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/shadowgrounds-bin/ChangeLog?rev=1.4&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/shadowgrounds-bin/ChangeLog?rev=1.4&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/shadowgrounds-bin/ChangeLog?r1=1.3&r2=1.4

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-action/shadowgrounds-bin/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ChangeLog   29 Mar 2013 15:35:58 -0000      1.3
+++ ChangeLog   25 Jun 2014 13:14:20 -0000      1.4
@@ -1,6 +1,12 @@
 # ChangeLog for games-action/shadowgrounds-bin
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/shadowgrounds-bin/ChangeLog,v 
1.3 2013/03/29 15:35:58 hasufell Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/shadowgrounds-bin/ChangeLog,v 
1.4 2014/06/25 13:14:20 mgorny Exp $
+
+*shadowgrounds-bin-0_beta12-r1 (25 Jun 2014)
+
+  25 Jun 2014; Michał Górny <mgo...@gentoo.org>
+  +shadowgrounds-bin-0_beta12-r1.ebuild:
+  Support multilib dependencies aside to emul-linux-x86.
 
   29 Mar 2013; Julian Ospald <hasuf...@gentoo.org>
   shadowgrounds-bin-0_beta12.ebuild:
@@ -15,4 +21,3 @@
   16 Apr 2011; Mike Frysinger <vap...@gentoo.org>
   +shadowgrounds-bin-0_beta12.ebuild, +metadata.xml:
   New package.
-



1.1                  
games-action/shadowgrounds-bin/shadowgrounds-bin-0_beta12-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/shadowgrounds-bin/shadowgrounds-bin-0_beta12-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/shadowgrounds-bin/shadowgrounds-bin-0_beta12-r1.ebuild?rev=1.1&content-type=text/plain

Index: shadowgrounds-bin-0_beta12-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/games-action/shadowgrounds-bin/shadowgrounds-bin-0_beta12-r1.ebuild,v
 1.1 2014/06/25 13:14:20 mgorny Exp $

EAPI=5

inherit unpacker games eutils

DESCRIPTION="an epic action experience combining modern technology with 
addictive playability"
HOMEPAGE="http://shadowgroundsgame.com/";
SRC_URI="Shadowgrounds${PV/*_b/B}.run"

LICENSE="frozenbyte-eula"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
RESTRICT="fetch strip"

DEPEND="app-arch/unzip"
RDEPEND=">=sys-libs/glibc-2.4
        >=sys-devel/gcc-4.3.0
        !amd64? (
                gnome-base/libglade
        )
        amd64? (
                || (
                        app-emulation/emul-linux-x86-gtklibs[-abi_x86_32(-)]
                        gnome-base/libglade[abi_x86_32(-)]
                )
        )"

S=${WORKDIR}

d="${GAMES_PREFIX_OPT}/${PN}"
QA_TEXTRELS_x86="`echo 
${d#/}/lib32/lib{avcodec.so.51,avformat.so.52,avutil.so.49,FLAC.so.8}`"
QA_TEXTRELS_amd64=${QA_TEXTRELS_x86}

pkg_nofetch() {
        einfo "Fetch ${SRC_URI} and put it into ${DISTDIR}"
        einfo "See http://www.humblebundle.com/ for more info."
}

src_unpack() {
        # manually run unzip as the initial seek causes it to exit(1)
        unpack_zip ${A}
        rm lib*/lib{gcc_s,m,rt,selinux}.so.?
}

src_install() {
        local b bb

        doicon Shadowgrounds.xpm
        for b in bin launcher ; do
                bb="shadowgrounds-${b}"
                exeinto ${d}
                newexe ${bb} ${bb} || die
                games_make_wrapper ${bb} "./${bb}" "${d}"
                make_desktop_entry ${bb} "Shadowgrounds ${b}" Shadowgrounds
        done

        exeinto ${d}/lib32
        doexe lib32/*

        insinto ${d}
        doins -r Config data Profiles *.fbz *.glade *-logo.png

        prepgamesdirs
}




Reply via email to