summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2021-02-05 22:13:34 +0300
committerAzamat H. Hackimov <azamat.hackimov@gmail.com>2021-02-05 22:26:09 +0300
commit81b9a02d3ccc4e89e0fa08ce79a053ac409f2473 (patch)
tree291d6343d1ee86bca40bd5963c41b0fe3f77fa23
parentgames-engines/wyrmgus: update package (diff)
downloadgamerlay-81b9a02d3ccc4e89e0fa08ce79a053ac409f2473.tar.gz
gamerlay-81b9a02d3ccc4e89e0fa08ce79a053ac409f2473.tar.bz2
gamerlay-81b9a02d3ccc4e89e0fa08ce79a053ac409f2473.zip
games-strategy/wyrmsun: update package
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
-rw-r--r--games-strategy/wyrmsun/Manifest2
-rw-r--r--games-strategy/wyrmsun/metadata.xml12
-rw-r--r--games-strategy/wyrmsun/wyrmsun-2.7.1.ebuild41
-rw-r--r--games-strategy/wyrmsun/wyrmsun-4.1.3.ebuild35
4 files changed, 36 insertions, 54 deletions
diff --git a/games-strategy/wyrmsun/Manifest b/games-strategy/wyrmsun/Manifest
index b862060..d5561c6 100644
--- a/games-strategy/wyrmsun/Manifest
+++ b/games-strategy/wyrmsun/Manifest
@@ -1 +1 @@
-DIST wyrmsun-2.7.1.tar.gz 267408016 SHA256 fc94c73b2053834cd093cb8cf1ea6e9f5fed44b043472ce6b5b004fdbe9270e9 SHA512 a13681f315fb2d0f3c284b555fe5042f520300857ef8e6f152f9474e26063e2626f61719e25f1269a456195d1d85acd9bf396a51e73b55136e611320b4118512 WHIRLPOOL 98b1272e7a72abb276a5b57b4bd6701b2e5284b9c098d087b6fa45555df08c34185a3260e678b3a5253e39e5eb28d907623c6267de0a24efd75cadd0b43f5b52
+DIST wyrmsun-4.1.3.tar.gz 381474320 SHA256 e7232753515648c946948b96c4245499a9de2c216bf8d6ff74342dd8d19c941f SHA512 8f3386518a31a3c0d02e7491c8207fa585eae688eb6471f8389d78cd89af9831d835236f4c3fae09081d32184ef4c7663bbb286e2e203a5746f47773e405a7f4 WHIRLPOOL 76acc1dde335022f8ae92d50b3dc4473e6eae3054fcbbbd0e442542200462959d26895354b7ebdd01605cc14bb78f2f3ce39322259221be6298e85e6397cc88e
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>tomboy64@sina.cn</email>
- <name>Tommy Boy</name>
- </maintainer>
- <maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games</name>
- </maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</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
+#}