axs         14/07/08 21:20:41

  Modified:             ChangeLog
  Added:                quake3-bin-1.32c-r2.ebuild
  Log:
  bumped EAPI to 5, adjustd deps for gx86-multilib, dropped useless use flags, 
made USE=dedicated install only the dedicated server, as it should
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
2B6559ED)

Revision  Changes    Path
1.37                 games-fps/quake3-bin/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-fps/quake3-bin/ChangeLog,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- ChangeLog   1 Feb 2013 00:14:12 -0000       1.36
+++ ChangeLog   8 Jul 2014 21:20:41 -0000       1.37
@@ -1,6 +1,13 @@
 # ChangeLog for games-fps/quake3-bin
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-bin/ChangeLog,v 1.36 
2013/02/01 00:14:12 mr_bones_ Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-bin/ChangeLog,v 1.37 
2014/07/08 21:20:41 axs Exp $
+
+*quake3-bin-1.32c-r2 (08 Jul 2014)
+
+  08 Jul 2014; Ian Stakenvicius (_AxS_) <[email protected]>
+  +quake3-bin-1.32c-r2.ebuild:
+  bumped EAPI to 5, adjustd deps for gx86-multilib, dropped useless use flags,
+  made USE=dedicated install only the dedicated server, as it should
 
   01 Feb 2013; Michael Sterrett <[email protected]> 
-quake3-bin-1.32c.ebuild:
   old



1.1                  games-fps/quake3-bin/quake3-bin-1.32c-r2.ebuild

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

Index: quake3-bin-1.32c-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/quake3-bin/quake3-bin-1.32c-r2.ebuild,v 1.1 
2014/07/08 21:20:41 axs Exp $

EAPI=5
inherit eutils unpacker games

DESCRIPTION="3rd installment of the classic id 3D first-person shooter"
HOMEPAGE="http://www.idsoftware.com/";
SRC_URI="mirror://idsoftware/quake3/linux/linuxq3apoint-1.32b-3.x86.run
        mirror://idsoftware/quake3/quake3-1.32c.zip"

LICENSE="Q3AEULA GPL-2" #gpl for init script bug #425942
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="cdinstall dedicated teamarena"
RESTRICT="strip"

DEPEND="app-arch/unzip"
RDEPEND="sys-libs/glibc
        amd64? ( sys-libs/glibc[multilib] )
        cdinstall? (
                games-fps/quake3-data[cdinstall]
                teamarena? ( games-fps/quake3-teamarena )
        )
        dedicated? ( app-misc/screen )
        !dedicated? ( || (
                (
                        >=virtual/opengl-7.0-r1[abi_x86_32(-)]
                        >=x11-libs/libXext-1.3.2[abi_x86_32(-)]
                        >=x11-libs/libX11-1.6.2[abi_x86_32(-)]
                )
                (
                        app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
                        app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)]
                )
        ) )"

S=${WORKDIR}

dir=${GAMES_PREFIX_OPT}/quake3
Ddir=${D}/${dir}

QA_TEXTRELS="${dir:1}/pb/pbag.so
        ${dir:1}/pb/pbcl.so
        ${dir:1}/pb/pbsv.so"

src_unpack() {
        unpack_makeself linuxq3apoint-1.32b-3.x86.run
        unpack quake3-1.32c.zip
}

src_install() {
        dodir "${dir}"/{baseq3,missionpack}
        if use cdinstall ; then
                dosym "${GAMES_DATADIR}"/quake3/baseq3/pak0.pk3 
"${dir}"/baseq3/pak0.pk3
                use teamarena && dosym 
"${GAMES_DATADIR}"/quake3/missionpack/pak0.pk3 \
                        "${dir}"/missionpack/pak0.pk3
        fi
        for pk3 in baseq3/*.pk3 missionpack/*.pk3 ; do
                dosym "${GAMES_DATADIR}"/quake3/${pk3} "${dir}"/${pk3}
        done

        insinto "${dir}"
        doins -r Docs pb || die "ins docs/pb"

        exeinto "${dir}"
        doins quake3.xpm README* Q3A_EULA.txt
        if ! use dedicated ; then
                doexe "Quake III Arena 1.32c"/linux/quake3*.x86 || die "doexe"
                games_make_wrapper ${PN} ./quake3.x86 "${dir}" "${dir}"
                newicon quake3.xpm ${PN}.xpm
                make_desktop_entry ${PN} "Quake III Arena (binary)"
                if use teamarena ; then
                        games_make_wrapper ${PN}-teamarena \
                                "./quake3.x86 +set fs_game missionpack" 
"${dir}" "${dir}"
                        make_desktop_entry ${PN}-teamarena \
                                "Quake III Team Arena (binary)" quake3-bin
                fi
        fi
        doexe "Quake III Arena 1.32c"/linux/q3ded || die "doexe q3ded"
        games_make_wrapper quake3-ded ./q3ded "${dir}" "${dir}"
        newinitd "${FILESDIR}"/q3ded.rc quake3-ded
        newconfd "${FILESDIR}"/q3ded.conf.d quake3-ded

        prepgamesdirs
}

pkg_postinst() {
        games_pkg_postinst
        ewarn "There are two possible security bugs in this package, both 
causing a"
        ewarn "denial of service. One affects the game when running a server, 
the"
        ewarn "other when running as a client."
        ewarn "For more information, please see bug #82149."

        if ! use dedicated; then
                echo
                elog "To start the game, run:"
                elog " quake3-bin"
        fi
        echo
        elog "To start a dedicated server, run"
        elog "  /etc/init.d/quake3-ded start"
        elog
        elog "The dedicated server is started under the ${GAMES_USER_DED} user 
account."

        # IA32 Emulation required for amd64
        if use amd64 ; then
                echo
                ewarn "NOTE: IA32 Emulation must be compiled into your kernel 
for Quake3 to run."
        fi
}




Reply via email to