axs         14/07/07 20:19:50

  Modified:             ChangeLog
  Added:                postal2-1409.2-r2.ebuild
  Log:
  Bumped EAPI to 5, adjusted deps for gx86-multilib; could not test due to not 
having the CD, so assumed that deps were previously accurate
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
2B6559ED)

Revision  Changes    Path
1.13                 games-fps/postal2/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/postal2/ChangeLog?rev=1.13&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/postal2/ChangeLog?rev=1.13&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/postal2/ChangeLog?r1=1.12&r2=1.13

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-fps/postal2/ChangeLog,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ChangeLog   5 Feb 2012 06:04:07 -0000       1.12
+++ ChangeLog   7 Jul 2014 20:19:50 -0000       1.13
@@ -1,6 +1,13 @@
 # ChangeLog for games-fps/postal2
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/postal2/ChangeLog,v 1.12 
2012/02/05 06:04:07 vapier Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/postal2/ChangeLog,v 1.13 
2014/07/07 20:19:50 axs Exp $
+
+*postal2-1409.2-r2 (07 Jul 2014)
+
+  07 Jul 2014; Ian Stakenvicius (_AxS_) <[email protected]>
+  +postal2-1409.2-r2.ebuild:
+  Bumped EAPI to 5, adjusted deps for gx86-multilib; could not test due to not
+  having the CD, so assumed that deps were previously accurate
 
   05 Feb 2012; Mike Frysinger <[email protected]> postal2-1409.2-r1.ebuild:
   Move to new unpacker eclass for unpack_makeself.
@@ -45,4 +52,3 @@
   +postal2-1409.2.ebuild:
   Initial commit. Modified ebuild from bug #97533 by Kjartan Kvamme, Alexander
   Nicolaysen Sørnes and Paul Bredbury.
-



1.1                  games-fps/postal2/postal2-1409.2-r2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/postal2/postal2-1409.2-r2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/postal2/postal2-1409.2-r2.ebuild?rev=1.1&content-type=text/plain

Index: postal2-1409.2-r2.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/postal2/postal2-1409.2-r2.ebuild,v 
1.1 2014/07/07 20:19:50 axs Exp $

EAPI=5
inherit eutils unpacker cdrom multilib games

DESCRIPTION="Postal 2: Share the Pain"
HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=postal2";
SRC_URI="http://updatefiles.linuxgamepublishing.com/${PN}/${P/%?/1}.run
        http://updatefiles.linuxgamepublishing.com/${PN}/${P}.run";

LICENSE="postal2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="strip"

DEPEND="games-util/loki_patch"
RDEPEND="sys-libs/glibc
        sys-libs/libstdc++-v3:5
        amd64? ( sys-libs/glibc[multilib] sys-libs/libstdc++-v3:5[multilib] )
        || (
                (
                        virtual/opengl[abi_x86_32(-)]
                        media-libs/libsdl[X,opengl,abi_x86_32(-)]
                        media-libs/openal[abi_x86_32(-)]
                )
                (
                        app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)]
                        app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)]
                )
        )"

S=${WORKDIR}

src_unpack() {
        cdrom_get_cds .installation_data/linux-specific.tar.bz2
        mkdir ${A}

        local f
        for f in * ; do
                cd "${S}"/${f}
                unpack_makeself ${f}
        done
}

src_install() {
        has_multilib_profile && ABI=x86

        local dir=${GAMES_PREFIX_OPT}/${PN}

        dodir "${dir}"
        cd "${D}/${dir}"

        ln -s "${CDROM_ROOT}"/.installation_data/*.bz2 .
        unpack ./*.bz2
        rm -f ./*.bz2

        local d
        for d in "${S}"/* ; do
                pushd "${d}" > /dev/null
                loki_patch patch.dat "${D}/${dir}" || die "loki_patch ${d} 
failed"
                popd > /dev/null
        done

        rm -f System/{libstdc++.so.5,libgcc_s.so.1}

        dosym /usr/$(get_libdir)/libopenal.so "${dir}"/System/openal.so
        dosym /usr/$(get_libdir)/libSDL-1.2.so.0 "${dir}"/System/libSDL-1.2.so.0

        games_make_wrapper ${PN} ./${PN}-bin "${dir}"/System .
        doicon "${CDROM_ROOT}"/.installation_data/${PN}.xpm
        make_desktop_entry ${PN} "Postal 2: Share the Pain"

        prepgamesdirs
}




Reply via email to