From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SMOoI-0000u0-6Y for garchives@archives.gentoo.org; Mon, 23 Apr 2012 19:20:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 578B6E0D4A; Mon, 23 Apr 2012 19:19:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 18F3DE0D4A for ; Mon, 23 Apr 2012 19:19:43 +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 545681B4001 for ; Mon, 23 Apr 2012 19:19:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 02FACE542C for ; Mon, 23 Apr 2012 19:19:40 +0000 (UTC) From: "Azamat H. Hackimov" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Azamat H. Hackimov" Message-ID: <1335208210.cc5d2547f82ff2ac5deef88aafe936fd2cbec28c.winterheart@gentoo> Subject: [gentoo-commits] proj/gamerlay:master commit in: games-fps/zdoom/ X-VCS-Repository: proj/gamerlay X-VCS-Files: games-fps/zdoom/metadata.xml games-fps/zdoom/zdoom-9999.ebuild X-VCS-Directories: games-fps/zdoom/ X-VCS-Committer: winterheart X-VCS-Committer-Name: Azamat H. Hackimov X-VCS-Revision: cc5d2547f82ff2ac5deef88aafe936fd2cbec28c X-VCS-Branch: master Date: Mon, 23 Apr 2012 19:19:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: f5452587-dbf3-403f-aaf0-29555deb1e2e X-Archives-Hash: 49b080c71f22f2dfb8e2a180d01712fa commit: cc5d2547f82ff2ac5deef88aafe936fd2cbec28c Author: Azamat H. Hackimov gmail com> AuthorDate: Mon Apr 23 19:10:10 2012 +0000 Commit: Azamat H. Hackimov gentoo ru> CommitDate: Mon Apr 23 19:10:10 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gamerlay.git;= a=3Dcommit;h=3Dcc5d2547 [games-fps/zdoom] Enchanced port of DOOM engine. (Portage version: 2.1.10.49/git/Linux x86_64, unsigned Manifest commit) --- games-fps/zdoom/metadata.xml | 15 +++++++ games-fps/zdoom/zdoom-9999.ebuild | 75 +++++++++++++++++++++++++++++++= ++++++ 2 files changed, 90 insertions(+), 0 deletions(-) diff --git a/games-fps/zdoom/metadata.xml b/games-fps/zdoom/metadata.xml new file mode 100644 index 0000000..202e559 --- /dev/null +++ b/games-fps/zdoom/metadata.xml @@ -0,0 +1,15 @@ + + + + +azamat.hackimov@gmail.com +Azamat H. Hackimov + + +ZDoom is an enhanced port of the official DOOM source code + + +ZDoom - =D1=83=D0=BB=D1=83=D1=87=D1=88=D0=B5=D0=BD=D0=BD=D1=8B=D0=B9 =D0= =BF=D0=BE=D1=80=D1=82 =D0=B4=D0=B2=D0=B8=D0=B6=D0=BA=D0=B0 DOOM + + + diff --git a/games-fps/zdoom/zdoom-9999.ebuild b/games-fps/zdoom/zdoom-99= 99.ebuild new file mode 100644 index 0000000..fe53db0 --- /dev/null +++ b/games-fps/zdoom/zdoom-9999.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D3 +inherit cmake-utils eutils games subversion + +DESCRIPTION=3D"ZDoom is an enhanced port of the official DOOM source cod= e" +HOMEPAGE=3D"http://www.zdoom.org" +ESVN_REPO_URI=3D"http://mancubus.net/svn/hosted/zdoom/zdoom/trunk" +#SRC_URI=3D"http://www.zdoom.org/files/${PN}/2.5/${P}-src.7z" + +LICENSE=3D"BSD BUILD DOOM" +SLOT=3D"0" +KEYWORDS=3D"" +IUSE=3D"gtk mmx" + +RDEPEND=3D"app-arch/bzip2 + media-libs/fmod + media-sound/fluidsynth + sys-libs/zlib + virtual/jpeg + x11-libs/libXcursor + gtk? ( x11-libs/gtk+:2 )" +DEPEND=3D"${RDEPEND} + mmx? ( || ( dev-lang/nasm dev-lang/yasm ) )" + +S=3D"${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=3D( + "-DFMOD_LOCAL_LIB_DIRS=3D/opt/fmodex/api/lib" + "-DFMOD_INCLUDE_DIR=3D/opt/fmodex/api/inc" +# "-DSHARE_DIR=3D\"${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 +}