* [gentoo-commits] gentoo-x86 commit in games-fps/doomsday: metadata.xml doomsday-1.9.8.ebuild ChangeLog
@ 2012-05-30 10:21 Maxim Koltsov (maksbotan)
0 siblings, 0 replies; only message in thread
From: Maxim Koltsov (maksbotan) @ 2012-05-30 10:21 UTC (permalink / raw
To: gentoo-commits
maksbotan 12/05/30 10:21:55
Modified: metadata.xml ChangeLog
Added: doomsday-1.9.8.ebuild
Log:
Bump to 1.9.8, bug 410043. Remake wrapper generation, bump to eapi4
(Portage version: 2.1.10.63/cvs/Linux x86_64)
Revision Changes Path
1.2 games-fps/doomsday/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/doomsday/metadata.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/doomsday/metadata.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/doomsday/metadata.xml?r1=1.1&r2=1.2
Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-fps/doomsday/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml 21 Jul 2004 04:24:36 -0000 1.1
+++ metadata.xml 30 May 2012 10:21:55 -0000 1.2
@@ -2,4 +2,13 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>games</herd>
+<use>
+ <flag name="snowberry">Install Snowberry doomsday front-end</flag>
+ <flag name="doom">Install launcher for jdoom game</flag>
+ <flag name="demo">Install launcher dor doom1.wad from <pkg>games-fps/doom-data</pkg></flag>
+ <flag name="freedoom">Install launcher for doom1.wad from <pkg>games-fps/freefoom</pkg></flag>
+ <flag name="heretic">Install launcher for jheretic game</flag>
+ <flag name="hexen">Install launcher for jhexen game</flag>
+ <flag name="resources">Enable support for <pkg>games-fps/doomsday-resources</pkg> in jdoom launcher</flag>
+</use>
</pkgmetadata>
1.42 games-fps/doomsday/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/doomsday/ChangeLog?rev=1.42&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/doomsday/ChangeLog?rev=1.42&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/doomsday/ChangeLog?r1=1.41&r2=1.42
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-fps/doomsday/ChangeLog,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- ChangeLog 23 Oct 2011 20:12:14 -0000 1.41
+++ ChangeLog 30 May 2012 10:21:55 -0000 1.42
@@ -1,6 +1,13 @@
# ChangeLog for games-fps/doomsday
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday/ChangeLog,v 1.41 2011/10/23 20:12:14 ssuominen Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday/ChangeLog,v 1.42 2012/05/30 10:21:55 maksbotan Exp $
+
+*doomsday-1.9.8 (30 May 2012)
+
+ 30 May 2012; Maxim Koltsov <maksbotan@gentoo.org> +doomsday-1.9.8.ebuild,
+ +files/doomsday-1.9.8-2to3.patch, +files/doomsday-1.9.8-openal-link.patch,
+ metadata.xml:
+ Bump to 1.9.8, bug 410043. Remake wrapper generation, bump to eapi4
23 Oct 2011; Samuli Suominen <ssuominen@gentoo.org>
-doomsday-1.9.0_beta62.ebuild:
1.1 games-fps/doomsday/doomsday-1.9.8.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/doomsday/doomsday-1.9.8.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/doomsday/doomsday-1.9.8.ebuild?rev=1.1&content-type=text/plain
Index: doomsday-1.9.8.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday/doomsday-1.9.8.ebuild,v 1.1 2012/05/30 10:21:55 maksbotan Exp $
EAPI=4
PYTHON_DEPEND="snowberry? 2"
inherit python confutils eutils games qt4-r2
DESCRIPTION="A modern gaming engine for Doom, Heretic, and Hexen"
HOMEPAGE="http://www.dengine.net/"
SRC_URI="mirror://sourceforge/deng/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="openal snowberry +doom demo freedoom heretic hexen resources"
DEPEND="
virtual/opengl
virtual/glu
media-libs/libsdl[joystick]
media-libs/sdl-mixer
media-libs/libpng
x11-libs/qt-opengl
x11-libs/qt-gui
net-misc/curl
openal? ( media-libs/openal )
"
RDEPEND="${RDEPEND}
snowberry? ( dev-python/wxpython )"
PDEPEND="
demo? ( games-fps/doom-data )
freedoom? ( games-fps/freedoom )
resources? ( games-fps/doomsday-resources )
"
S="${S}"/${PN}
REQUIRED_USE="demo? ( doom ) freedoom? ( doom ) resources? ( doom )"
PATCHES=( "${FILESDIR}"/${P}-2to3.patch )
pkg_setup(){
python_pkg_setup
games_pkg_setup
}
src_prepare() {
sed -i -e "/^DENG_BASE_DIR =/s:\$\$PREFIX/share:${GAMES_DATADIR}:" config_unix.pri
echo "CONFIG += nostrip" > config_user.pri
echo "PREFIX=/usr/games" >> config_user.pri
use snowberry && \
echo "CONFIG += deng_snowberry" >> config_user.pri || \
echo "CONFIG += deng_nosnowberry" >> config_user.pri
if use openal; then
echo "CONFIG += deng_openal" >> config_user.pri
sed -i 's:\# Generic Unix.:LIBS += -lopenal:' doomsday/dep_openal.pri
epatch "${FILESDIR}"/${P}-openal-link.patch
fi
qt4-r2_src_prepare
}
#Usage: doom_make_wrapper <name> <game> <icon> <desktop entry title> [args]
doom_make_wrapper() {
local name=$1 game=$2 icon=$3 de_title=$4
shift 4
games_make_wrapper $name \
"doomsday -game ${game} $@"
make_desktop_entry $name "${de_title}" ${icon}
}
src_install() {
qt4-r2_src_install
mv "${D}/${GAMES_DATADIR}"/{${PN}/data/jdoom,doom-data} || die
dosym "${GAMES_DATADIR}"/doom-data "${GAMES_DATADIR}"/${PN}/data/jdoom || die
if use snowberry; then
doicon ../snowberry/graphics/snowberry.png
python_convert_shebangs 2 "${D}"/"${GAMES_BINDIR}"/launch-doomsday
make_desktop_entry launch-doomsday "Snowberry DoomsDay" snowberry
fi
if use doom; then
local res_arg
if use resources; then
res_arg="-def \"${GAMES_DATADIR}\"/${PN}/defs/jdoom/jDRP.ded"
fi
doicon ../snowberry/graphics/orb-doom.png
doom_make_wrapper jdoom doom1 orb-doom "DoomsDay Engine: Doom 1" "${res_arg}"
einfo "Created jdoom launcher. To play Doom place your doom.wad to"
einfo "\"${GAMES_DATADIR}\"/doom-data"
einfo
if use demo; then
doom_make_wrapper jdoom-demo doom1-share orb-doom "DoomsDay Engine: Doom 1 Demo" \
"-iwad \"${GAMES_DATADIR}\"/doom-data/doom1.wad ${res_arg}"
fi
if use freedoom; then
doom_make_wrapper jdoom-freedoom doom1-share orb-doom "DoomsDay Engine: FreeDoom" \
"-iwad \"${GAMES_DATADIR}\"/doom-data/freedoom/doom1.wad"
fi
fi
if use hexen; then
doicon ../snowberry/graphics/orb-hexen.png
doom_make_wrapper jhexen hexen orb-hexen "DoomsDay Engine: Hexen"
einfo "Created jhexen launcher. To play Hexen place your hexen.wad to"
einfo "\"${GAMES_DATADIR}\"/${PN}/data/jhexen"
einfo
fi
if use heretic; then
doicon ../snowberry/graphics/orb-heretic.png
doom_make_wrapper jheretic heretic orb-heretic "DoomsDay Engine: Heretic"
einfo "Created jheretic launcher. To play Heretic place your heretic.wad to"
einfo "\"${GAMES_DATADIR}\"/${PN}/data/jheretic"
einfo
fi
prepgamesdirs
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-30 10:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-30 10:21 [gentoo-commits] gentoo-x86 commit in games-fps/doomsday: metadata.xml doomsday-1.9.8.ebuild ChangeLog Maxim Koltsov (maksbotan)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox