commit:     81b9a02d3ccc4e89e0fa08ce79a053ac409f2473
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Fri Feb  5 19:13:34 2021 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Fri Feb  5 19:26:09 2021 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=81b9a02d

games-strategy/wyrmsun: update package

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

 games-strategy/wyrmsun/metadata.xml         | 12 ---------
 games-strategy/wyrmsun/wyrmsun-2.7.1.ebuild | 41 -----------------------------
 games-strategy/wyrmsun/wyrmsun-4.1.3.ebuild | 35 ++++++++++++++++++++++++
 3 files changed, 35 insertions(+), 53 deletions(-)

diff --git a/games-strategy/wyrmsun/metadata.xml 
b/games-strategy/wyrmsun/metadata.xml
index acd328d..e0cd104 100644
--- a/games-strategy/wyrmsun/metadata.xml
+++ b/games-strategy/wyrmsun/metadata.xml
@@ -1,18 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-       <maintainer type="person">
-               <email>[email protected]</email>
-               <name>Tommy Boy</name>
-       </maintainer>
-       <maintainer type="project">
-               <email>[email protected]</email>
-               <name>Gentoo Games</name>
-       </maintainer>
-       <maintainer type="project">
-               <email>[email protected]</email>
-               <name>Proxy Maintainers</name>
-       </maintainer>
        <longdescription lang="en">
                In the Wyrmsun universe a myriad of inhabited planets exist. 
Humans dwell on Earth, while dwarves inhabit Nidavellir and elves nourish the 
world of Alfheim. These peoples struggle to carve a place for themselves with 
their tools of stone, bronze and iron. And perhaps one day they will meet one 
another, beyond the stars...
        </longdescription>

diff --git a/games-strategy/wyrmsun/wyrmsun-2.7.1.ebuild 
b/games-strategy/wyrmsun/wyrmsun-2.7.1.ebuild
deleted file mode 100644
index 80505ba..0000000
--- a/games-strategy/wyrmsun/wyrmsun-2.7.1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils gnome2-utils
-
-DESCRIPTION="Strategy game based on history, mythology and fiction"
-HOMEPAGE="https://andrettin.github.io/";
-SRC_URI="https://github.com/Andrettin/Wyrmsun/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="games-engines/wyrmgus"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN/w/W}-${PV}"
-
-src_install() {
-       domenu "linux/${PN}.desktop"
-       newicon -s 128 graphics/ui/icons/wyrmsun_icon_128_background.png 
wyrmsun.png
-
-       insinto "/usr/share/${PN}/"
-       doins -r graphics maps music scripts sounds translations oaml.defs
-       dodoc license.txt readme.txt
-}
-
-pkg_preinst() {
-       gnome2_icon_savelist
-}
-
-pkg_postinst() {
-       gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-       gnome2_icon_cache_update
-}

diff --git a/games-strategy/wyrmsun/wyrmsun-4.1.3.ebuild 
b/games-strategy/wyrmsun/wyrmsun-4.1.3.ebuild
new file mode 100644
index 0000000..953a348
--- /dev/null
+++ b/games-strategy/wyrmsun/wyrmsun-4.1.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Strategy game based on history, mythology and fiction"
+HOMEPAGE="https://andrettin.github.io/";
+SRC_URI="https://github.com/Andrettin/Wyrmsun/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="games-engines/wyrmgus"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/Wyrmsun-${PV}"
+
+src_prepare() {
+       cmake_src_prepare
+       sed -i -e 's:share/appdata:share/metainfo:g' CMakeLists.txt
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DDOCSDIR="share/doc/${PF}"
+       )
+       cmake_src_configure
+}
+
+#src_install() {
+#      cmake_src_install
+#}

Reply via email to