[gentoo-commits] proj/gamerlay:master commit in: games-fps/dhewm3/

2021-07-12 Thread Azamat H. Hackimov
commit: ffd7ecdff6b97361f0583adff90bd8c03422
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Mon Jul 12 20:14:04 2021 +
Commit: Azamat H. Hackimov  gentoo  ru>
CommitDate: Mon Jul 12 20:45:59 2021 +
URL:https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=ffd7ecdf

games-fps/dhewm3: remove old

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Azamat H. Hackimov  gmail.com>

 games-fps/dhewm3/dhewm3-1.5.1_pre1.ebuild | 66 ---
 1 file changed, 66 deletions(-)

diff --git a/games-fps/dhewm3/dhewm3-1.5.1_pre1.ebuild 
b/games-fps/dhewm3/dhewm3-1.5.1_pre1.ebuild
deleted file mode 100644
index cdb8cdb..000
--- a/games-fps/dhewm3/dhewm3-1.5.1_pre1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils
-
-MY_PV=${PV/_pre/_PRE}
-
-DESCRIPTION="A Doom 3 GPL source modification."
-HOMEPAGE="https://github.com/dhewm/dhewm3;
-SRC_URI="https://github.com/dhewm/dhewm3/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="dedicated"
-
-DEPEND="
-   virtual/jpeg:0
-   media-libs/libogg
-   media-libs/libsdl2
-   media-libs/libvorbis
-   media-libs/openal
-   net-misc/curl
-   sys-libs/zlib:=
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-CMAKE_USE_DIR="${S}/neo"
-
-DATADIR=/usr/share/dhewm3
-DOCS="README.md"
-
-# TODO: patch for common games-dir with roe and doom3-data
-
-src_configure() {
-   mycmakeargs=(
-   -DDEDICATED=ON
-   -DSDL2=ON
-   -DCORE=$(usex dedicated OFF ON)
-   -DBASE=$(usex dedicated OFF ON)
-   -DD3XP=$(usex dedicated OFF ON)
-   )
-   cmake-utils_src_configure
-}
-
-src_compile() {
-   cmake-utils_src_compile
-}
-
-src_install() {
-   keepdir "${DATADIR}"
-   cmake-utils_src_install
-
-   newicon "${CMAKE_USE_DIR}"/sys/linux/setup/image/doom3.png "${PN}".png
-   make_desktop_entry "${PN}" "Doom 3 - dhewm"
-}
-
-pkg_postinst() {
-   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
-}



[gentoo-commits] proj/gamerlay:master commit in: games-fps/dhewm3/

2021-07-12 Thread Azamat H. Hackimov
commit: bb14430918c8efadda0508faef1a10423e5150c1
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Mon Jul 12 20:13:46 2021 +
Commit: Azamat H. Hackimov  gentoo  ru>
CommitDate: Mon Jul 12 20:45:59 2021 +
URL:https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=bb144309

games-fps/dhewm3: update to 1.5.1

Migrage to cmake.eclass

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Azamat H. Hackimov  gmail.com>

 games-fps/dhewm3/dhewm3-1.5.1.ebuild | 51 
 1 file changed, 51 insertions(+)

diff --git a/games-fps/dhewm3/dhewm3-1.5.1.ebuild 
b/games-fps/dhewm3/dhewm3-1.5.1.ebuild
new file mode 100644
index 000..91f55cb
--- /dev/null
+++ b/games-fps/dhewm3/dhewm3-1.5.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A Doom 3 GPL source modification."
+HOMEPAGE="https://github.com/dhewm/dhewm3;
+SRC_URI="https://github.com/dhewm/dhewm3/releases/download/${PV}/${P}-src.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="dedicated"
+
+DEPEND="
+   virtual/jpeg:0
+   media-libs/libogg
+   media-libs/libsdl2
+   media-libs/libvorbis
+   media-libs/openal
+   net-misc/curl
+   sys-libs/zlib:=
+"
+RDEPEND="${DEPEND}"
+
+CMAKE_USE_DIR="${S}/neo"
+
+DATADIR=/usr/share/dhewm3
+DOCS="README.md"
+
+# TODO: patch for common games-dir with roe and doom3-data
+
+src_configure() {
+   mycmakeargs=(
+   -DDEDICATED=ON
+   -DSDL2=ON
+   -DCORE=$(usex dedicated OFF ON)
+   -DBASE=$(usex dedicated OFF ON)
+   -DD3XP=$(usex dedicated OFF ON)
+   )
+   cmake_src_configure
+}
+
+pkg_postinst() {
+   elog "You need to copy *.pk4 from either your installation media or 
your hard drive to"
+   elog "/usr/share/dhewm3/base before running the game,"
+   elog "or 'emerge games-fps/doom3-data' to install from CD."
+   echo
+}



[gentoo-commits] proj/gamerlay:master commit in: games-fps/dhewm3/

2019-08-08 Thread Azamat H. Hackimov
commit: d29b451b13e02f13b3078331db46e3314a226034
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Thu Aug  8 21:31:23 2019 +
Commit: Azamat H. Hackimov  gentoo  ru>
CommitDate: Thu Aug  8 21:31:23 2019 +
URL:https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=d29b451b

games-fps/dhewm3: update to 1.5.1_pre1

Package-Manager: Portage-2.3.66, Repoman-2.3.16

 .../dhewm3/{dhewm3-1.5.0_rc1.ebuild => dhewm3-1.5.1_pre1.ebuild}| 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/games-fps/dhewm3/dhewm3-1.5.0_rc1.ebuild 
b/games-fps/dhewm3/dhewm3-1.5.1_pre1.ebuild
similarity index 95%
rename from games-fps/dhewm3/dhewm3-1.5.0_rc1.ebuild
rename to games-fps/dhewm3/dhewm3-1.5.1_pre1.ebuild
index d07d8f9..cdb8cdb 100644
--- a/games-fps/dhewm3/dhewm3-1.5.0_rc1.ebuild
+++ b/games-fps/dhewm3/dhewm3-1.5.1_pre1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit cmake-utils
 
-MY_PV=${PV/_rc/_RC}
+MY_PV=${PV/_pre/_PRE}
 
 DESCRIPTION="A Doom 3 GPL source modification."
 HOMEPAGE="https://github.com/dhewm/dhewm3;



[gentoo-commits] proj/gamerlay:master commit in: games-fps/dhewm3/

2018-11-15 Thread Azamat H. Hackimov
commit: 608f5ce6b879a32526697c3270f7b4b8b30bbb8f
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Thu Nov 15 20:41:01 2018 +
Commit: Azamat H. Hackimov  gentoo  ru>
CommitDate: Thu Nov 15 20:41:01 2018 +
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  gmail.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 ...{dhewm3-.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-.ebuild 
b/games-fps/dhewm3/dhewm3-1.5.0_rc1.ebuild
similarity index 52%
rename from games-fps/dhewm3/dhewm3-.ebuild
rename to games-fps/dhewm3/dhewm3-1.5.0_rc1.ebuild
index cda76dc..d07d8f9 100644
--- a/games-fps/dhewm3/dhewm3-.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 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
+
 azamat.hacki...@gmail.com
 Azamat H. Hackimov
 
@@ -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
 
-
-Adds support for the Resurrection of Evil expansion
-