From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 88C521381F3 for ; Thu, 29 Nov 2012 16:28:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F16421C06D; Thu, 29 Nov 2012 16:28:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A393421C06D for ; Thu, 29 Nov 2012 16:28:18 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2A51733DB02 for ; Thu, 29 Nov 2012 16:28:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 832FFE5436 for ; Thu, 29 Nov 2012 16:28:15 +0000 (UTC) From: "Azamat H. Hackimov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Azamat H. Hackimov" Message-ID: <1354206451.6251e91df742aa154cb5e57c3107efc54d92a7b1.winterheart@gentoo> Subject: [gentoo-commits] proj/gamerlay:master commit in: games-fps/zdoom/ X-VCS-Repository: proj/gamerlay X-VCS-Files: games-fps/zdoom/ChangeLog games-fps/zdoom/zdoom-2.6.1.ebuild X-VCS-Directories: games-fps/zdoom/ X-VCS-Committer: winterheart X-VCS-Committer-Name: Azamat H. Hackimov X-VCS-Revision: 6251e91df742aa154cb5e57c3107efc54d92a7b1 X-VCS-Branch: master Date: Thu, 29 Nov 2012 16:28:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c991fe0f-aeb3-4db3-8bc5-43ffd7985987 X-Archives-Hash: fe6a00307c87b69e7b6aa67950014d7d commit: 6251e91df742aa154cb5e57c3107efc54d92a7b1 Author: Azamat H. Hackimov gmail com> AuthorDate: Thu Nov 29 16:27:31 2012 +0000 Commit: Azamat H. Hackimov gentoo ru> CommitDate: Thu Nov 29 16:27:31 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=6251e91d [games-fps/zdoom] Version 2.6.1 Package-Manager: portage-2.1.11.31 Manifest-Sign-Key: A018DE8C --- games-fps/zdoom/ChangeLog | 6 +++ games-fps/zdoom/zdoom-2.6.1.ebuild | 75 ++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+), 0 deletions(-) diff --git a/games-fps/zdoom/ChangeLog b/games-fps/zdoom/ChangeLog index 977f83e..45cdd36 100644 --- a/games-fps/zdoom/ChangeLog +++ b/games-fps/zdoom/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*zdoom-2.6.1 (29 Nov 2012) + + 29 Nov 2012; Azamat H. Hackimov + +zdoom-2.6.1.ebuild: + [games-fps/zdoom] Version 2.6.1 + *zdoom-9999 (23 Apr 2012) 23 Apr 2012; Azamat H. Hackimov +metadata.xml, diff --git a/games-fps/zdoom/zdoom-2.6.1.ebuild b/games-fps/zdoom/zdoom-2.6.1.ebuild new file mode 100644 index 0000000..5e05079 --- /dev/null +++ b/games-fps/zdoom/zdoom-2.6.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +inherit cmake-utils eutils games unpacker + +DESCRIPTION="ZDoom is an enhanced port of the official DOOM source code" +HOMEPAGE="http://www.zdoom.org" +#ESVN_REPO_URI="http://mancubus.net/svn/hosted/zdoom/zdoom/trunk" +SRC_URI="http://www.zdoom.org/files/${PN}/2.6/${P}-src.7z" + +LICENSE="BSD BUILD DOOM" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk mmx" + +RDEPEND="app-arch/bzip2 + media-libs/fmod + media-sound/fluidsynth + sys-libs/zlib + virtual/jpeg + x11-libs/libXcursor + gtk? ( x11-libs/gtk+:2 )" +DEPEND="${RDEPEND} + mmx? ( || ( dev-lang/nasm dev-lang/yasm ) )" + +S="${WORKDIR}" + +src_prepare() { + # Add new versions of FMOD + sed -i \ + -e "s:\(set( MAJOR_VERSIONS\):\1 \"40\" \"38\":" \ + src/CMakeLists.txt || die + # Use default game data path + sed -i \ + -e "s:/usr/local/share/:${GAMES_DATADIR}/doom-data/:" \ + src/sdl/i_system.h || die "sed i_system.h failed" +} + +src_configure() { + mycmakeargs=( + "-DFMOD_LOCAL_LIB_DIRS=/opt/fmodex/api/lib" + "-DFMOD_INCLUDE_DIR=/opt/fmodex/api/inc" +# "-DSHARE_DIR=\"${GAMES_DATADIR}/doom-data\"" + $(cmake-utils_use_no gtk GTK) + $(cmake-utils_use_no mmx ASM) + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + dogamesbin "${CMAKE_BUILD_DIR}/${PN}" || die "dogamesbin failed" + insinto "${GAMES_DATADIR}/doom-data" + doins "${CMAKE_BUILD_DIR}/${PN}.pk3" || die "doins failed" + dodoc docs/commands.txt + dohtml docs/console.{css,html} + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + echo + elog "Copy or link wad files into ${GAMES_DATADIR}/doom-data/" + elog "(the files must be readable by the 'games' group)." + elog + elog "To play, simply run:" + elog + elog " zdoom" + echo +}