public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Azamat H. Hackimov" <winterheart@gentoo.ru>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-fps/dhewm3/
Date: Thu, 15 Nov 2018 21:35:37 +0000 (UTC)	[thread overview]
Message-ID: <1542314461.608f5ce6b879a32526697c3270f7b4b8b30bbb8f.winterheart@gentoo> (raw)

commit:     608f5ce6b879a32526697c3270f7b4b8b30bbb8f
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Thu Nov 15 20:41:01 2018 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Thu Nov 15 20:41:01 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=608f5ce6

games-fps/dhewm3: bump to 1.5.0_rc1, removed live

Minor fixes to metadata

Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 ...{dhewm3-9999.ebuild => dhewm3-1.5.0_rc1.ebuild} | 43 +++++++---------------
 games-fps/dhewm3/metadata.xml                      |  5 +--
 2 files changed, 15 insertions(+), 33 deletions(-)

diff --git a/games-fps/dhewm3/dhewm3-9999.ebuild b/games-fps/dhewm3/dhewm3-1.5.0_rc1.ebuild
similarity index 52%
rename from games-fps/dhewm3/dhewm3-9999.ebuild
rename to games-fps/dhewm3/dhewm3-1.5.0_rc1.ebuild
index cda76dc..d07d8f9 100644
--- a/games-fps/dhewm3/dhewm3-9999.ebuild
+++ b/games-fps/dhewm3/dhewm3-1.5.0_rc1.ebuild
@@ -1,34 +1,33 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit cmake-utils git-r3
+inherit cmake-utils
+
+MY_PV=${PV/_rc/_RC}
 
 DESCRIPTION="A Doom 3 GPL source modification."
 HOMEPAGE="https://github.com/dhewm/dhewm3"
-EGIT_REPO_URI="https://github.com/dhewm/dhewm3.git"
+SRC_URI="https://github.com/dhewm/dhewm3/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS=""
-IUSE="cdinstall dedicated roe"
+KEYWORDS="~amd64"
+IUSE="dedicated"
 
 DEPEND="
-	virtual/jpeg
+	virtual/jpeg:0
 	media-libs/libogg
 	media-libs/libsdl2
 	media-libs/libvorbis
 	media-libs/openal
 	net-misc/curl
-	sys-libs/zlib
+	sys-libs/zlib:=
 "
-RDEPEND="${DEPEND}
-	cdinstall? (
-		>=games-fps/doom3-data-1.1.1282-r1
-		roe? ( games-fps/doom3-roe )
-	)"
+RDEPEND="${DEPEND}"
 
+S="${WORKDIR}/${PN}-${MY_PV}"
 CMAKE_USE_DIR="${S}/neo"
 
 DATADIR=/usr/share/dhewm3
@@ -57,25 +56,11 @@ src_install() {
 
 	newicon "${CMAKE_USE_DIR}"/sys/linux/setup/image/doom3.png "${PN}".png
 	make_desktop_entry "${PN}" "Doom 3 - dhewm"
-
-	# TODO: roe desktop file
 }
 
 pkg_postinst() {
-	if ! use cdinstall; then
-		elog "You need to copy *.pk4 from either your installation media or your hard drive to"
-		elog "${DATADIR}/base before running the game,"
-		elog "or 'emerge games-fps/doom3-data' to install from CD."
-		echo
-		if use roe ; then
-			elog "To use the Resurrection of Evil expansion pack, you also need	to copy *.pk4"
-			elog "to ${DATADIR}/d3xp from the RoE CD before running the game,"
-			elog "or 'emerge doom3-roe' to install from CD."
-		fi
-	fi
-
-	echo
-	elog "To play the game, run:"
-	elog " ${PN}"
+	elog "You need to copy *.pk4 from either your installation media or your hard drive to"
+	elog "${DATADIR}/base before running the game,"
+	elog "or 'emerge games-fps/doom3-data' to install from CD."
 	echo
 }

diff --git a/games-fps/dhewm3/metadata.xml b/games-fps/dhewm3/metadata.xml
index c1e1824..b74872d 100644
--- a/games-fps/dhewm3/metadata.xml
+++ b/games-fps/dhewm3/metadata.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer>
+<maintainer type="person">
 <email>azamat.hackimov@gmail.com</email>
 <name>Azamat H. Hackimov</name>
 </maintainer>
@@ -15,7 +15,4 @@ Compared to the original DOOM 3, the changes of dhewm 3 worth mentioning are:
   * A portable build system based on CMake
   * (Cross-)compilation with mingw-w64
 </longdescription>
-<use>
-    <flag name="roe">Adds support for the Resurrection of Evil expansion</flag>
-</use>
 </pkgmetadata>


             reply	other threads:[~2018-11-15 21:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-15 21:35 Azamat H. Hackimov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-07-12 20:47 [gentoo-commits] proj/gamerlay:master commit in: games-fps/dhewm3/ Azamat H. Hackimov
2021-07-12 20:47 Azamat H. Hackimov
2019-08-08 21:46 Azamat H. Hackimov
2012-08-13  7:28 Azamat H. Hackimov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1542314461.608f5ce6b879a32526697c3270f7b4b8b30bbb8f.winterheart@gentoo \
    --to=winterheart@gentoo.ru \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox