mgorny      14/06/25 17:25:46

  Modified:             ChangeLog
  Added:                coldwar-demo-1-r2.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.9                  games-strategy/coldwar-demo/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/coldwar-demo/ChangeLog?rev=1.9&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/coldwar-demo/ChangeLog?rev=1.9&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/coldwar-demo/ChangeLog?r1=1.8&r2=1.9

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-strategy/coldwar-demo/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog   7 May 2014 15:41:03 -0000       1.8
+++ ChangeLog   25 Jun 2014 17:25:46 -0000      1.9
@@ -1,6 +1,11 @@
 # ChangeLog for games-strategy/coldwar-demo
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/coldwar-demo/ChangeLog,v 1.8 
2014/05/07 15:41:03 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/coldwar-demo/ChangeLog,v 1.9 
2014/06/25 17:25:46 mgorny Exp $
+
+*coldwar-demo-1-r2 (25 Jun 2014)
+
+  25 Jun 2014; Michał Górny <[email protected]> +coldwar-demo-1-r2.ebuild:
+  Support multilib dependencies aside to emul-linux-x86.
 
   07 May 2014; Ulrich Müller <[email protected]> coldwar-demo-1-r1.ebuild:
   Fix LICENSE, add mirror and bindist restrictions, bug 505752.
@@ -33,4 +38,3 @@
   +coldwar-demo-1.ebuild:
   Initial import. Ebuild by Paul Bredbury <[email protected]> and modified by me.
   Closing bug #111884.
-



1.1                  games-strategy/coldwar-demo/coldwar-demo-1-r2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/coldwar-demo/coldwar-demo-1-r2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/coldwar-demo/coldwar-demo-1-r2.ebuild?rev=1.1&content-type=text/plain

Index: coldwar-demo-1-r2.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/games-strategy/coldwar-demo/coldwar-demo-1-r2.ebuild,v 
1.1 2014/06/25 17:25:46 mgorny Exp $

EAPI=5

inherit eutils unpacker games

MY_PN=${PN%-demo}

DESCRIPTION="Third-person sneaker like Splinter Cell"
HOMEPAGE="http://linuxgamepublishing.com/info.php?id=coldwar";
SRC_URI="http://demofiles.linuxgamepublishing.com/coldwar/coldwar-demo.run";

LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="mirror bindist strip"

RDEPEND="
        || (
                (
                        dev-libs/glib[abi_x86_32(-)]
                        media-libs/libogg[abi_x86_32(-)]
                        media-libs/libvorbis[abi_x86_32(-)]
                        media-libs/openal[abi_x86_32(-)]
                        media-libs/smpeg[abi_x86_32(-)]
                        virtual/opengl[abi_x86_32(-)]
                        x11-libs/libX11[abi_x86_32(-)]
                        x11-libs/libXext[abi_x86_32(-)]
                )
                amd64? (
                        (
                                
app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
                                
app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)]
                                app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)]
                                
app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
                                
app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
                        )
                )
        )"
DEPEND=""

S=${WORKDIR}
dir=${GAMES_PREFIX_OPT}/${PN}

QA_PREBUILT="${dir:1}/lib/*
        ${dir:1}/bin/meng"

src_unpack() {
        unpack_makeself
        unpack ./data/data.tar.gz

        mv bin/Linux/x86/${MY_PN}_demo .
        mv bin/Linux/x86/bin/meng bin

        rm -r bin/{Linux,*BSD} lgp_* setup.* data/data.tar.gz
}

src_install() {
        insinto "${dir}"
        doins -r *
        rm "${D}/${dir}"/{${MY_PN}_demo,bin/{launcher,meng}}

        exeinto "${dir}"
        doexe ${MY_PN}_demo
        exeinto "${dir}/bin"
        doexe bin/{launcher,meng}

        games_make_wrapper ${PN} ./${MY_PN}_demo "${dir}" "${dir}"
        newicon icon.xpm ${PN}.xpm
        make_desktop_entry ${PN} "Cold War (Demo)" ${PN}

        prepgamesdirs
}

pkg_postinst() {
        games_pkg_postinst
        elog "The instruction manual is available as:"
        elog "   http://demofiles.linuxgamepublishing.com/coldwar/manual.pdf";
        echo
        einfo "To play the game, run: ${PN}"
}




Reply via email to