mr_bones_    15/01/16 09:40:51

  Modified:             ChangeLog
  Added:                xonotic-0.8.0.ebuild
  Log:
  version bump (bug # 536748)
  
  (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.17                 games-fps/xonotic/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-fps/xonotic/ChangeLog,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ChangeLog   15 Nov 2014 07:11:13 -0000      1.16
+++ ChangeLog   16 Jan 2015 09:40:51 -0000      1.17
@@ -1,6 +1,11 @@
 # ChangeLog for games-fps/xonotic
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/xonotic/ChangeLog,v 1.16 
2014/11/15 07:11:13 mr_bones_ Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/xonotic/ChangeLog,v 1.17 
2015/01/16 09:40:51 mr_bones_ Exp $
+
+*xonotic-0.8.0 (16 Jan 2015)
+
+  16 Jan 2015; Michael Sterrett <mr_bon...@gentoo.org> +xonotic-0.8.0.ebuild:
+  version bump (bug # 536748)
 
   15 Nov 2014; Michael Sterrett <mr_bon...@gentoo.org> -xonotic-0.6.0.ebuild:
   old



1.1                  games-fps/xonotic/xonotic-0.8.0.ebuild

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

Index: xonotic-0.8.0.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/xonotic/xonotic-0.8.0.ebuild,v 1.1 
2015/01/16 09:40:51 mr_bones_ Exp $

EAPI=5
inherit eutils check-reqs games

MY_PN="${PN^}"
DESCRIPTION="Fork of Nexuiz, Deathmatch FPS based on DarkPlaces, an advanced 
Quake 1 engine"
HOMEPAGE="http://www.xonotic.org/";
SRC_URI="http://dl.xonotic.org/${P}.zip";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="alsa debug dedicated doc sdl"

UIRDEPEND="
        media-libs/libogg
        media-libs/libtheora
        media-libs/libvorbis
        media-libs/libmodplug
        x11-libs/libX11
        x11-libs/libXau
        x11-libs/libXpm
        x11-libs/libXext
        x11-libs/libXdmcp
        x11-libs/libXxf86dga
        x11-libs/libXxf86vm
        virtual/opengl
        media-libs/freetype:2
        alsa? ( media-libs/alsa-lib )
        sdl? ( media-libs/libsdl[X,sound,joystick,opengl,video,alsa?] )"
UIDEPEND="
        x11-proto/xextproto
        x11-proto/xf86dgaproto
        x11-proto/xf86vidmodeproto
        x11-proto/xproto"
RDEPEND="
        sys-libs/zlib
        virtual/jpeg
        media-libs/libpng
        net-misc/curl
        ~dev-libs/d0_blind_id-0.5
        !dedicated? ( ${UIRDEPEND} )"
DEPEND="${RDEPEND}
        !dedicated? ( ${UIDEPEND} )"

CHECKREQS_DISK_BUILD="1200M"
CHECKREQS_DISK_USR="950M"

S=${WORKDIR}/${MY_PN}

pkg_pretend() {
        check-reqs_pkg_pretend
}

pkg_setup() {
        check-reqs_pkg_setup
        games_pkg_setup
}

src_prepare() {
        sed -i \
                -e "/^EXE_/s:darkplaces:${PN}:" \
                -e "s:-O3:${CFLAGS}:" \
                -e "/-lm/s:$: ${LDFLAGS}:" \
                -e '/^STRIP/s/strip/true/' \
                source/darkplaces/makefile.inc || die

        if ! use alsa; then
                sed -i \
                        -e "/DEFAULT_SNDAPI/s:ALSA:OSS:" \
                        source/darkplaces/makefile || die
        fi
}

src_compile() {
        local t="$(use debug && echo debug || echo release)"
        local i

        # use a for-loop wrt bug 473352
        for i in sv-${t} $(use !dedicated && echo "cl-${t} $(use sdl && echo 
sdl-${t})") ; do
                emake \
                        -C source/darkplaces \
                        DP_LINK_TO_LIBJPEG=1 \
                        DP_FS_BASEDIR="${GAMES_DATADIR}/${PN}" \
                        ${i}
        done
}

src_install() {
        if ! use dedicated; then
                dogamesbin source/darkplaces/${PN}-glx
                newicon misc/logos/${PN}_icon.svg ${PN}.svg
                make_desktop_entry ${PN}-glx "${MY_PN} (GLX)"

                if use sdl; then
                        dogamesbin source/darkplaces/${PN}-sdl
                        make_desktop_entry ${PN}-sdl "${MY_PN} (SDL)"
                fi
        fi
        dogamesbin source/darkplaces/${PN}-dedicated

        dodoc Docs/*.txt
        use doc && dohtml -r Docs

        insinto "${GAMES_DATADIR}/${PN}"
        doins -r key_0.d0pk server data
        prepgamesdirs

        elog "If you are using opensource drivers you should consider 
installing: "
        elog "    media-libs/libtxc_dxtn"
}




Reply via email to