summaryrefslogtreecommitdiff
path: root/games-strategy/crimson
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
commit7c7c2c9727d6b2ff30945b5aea0d575e1c406d8b (patch)
treebac2a67fb24ac0836147fe370d30e1610ae1845d /games-strategy/crimson
parent2f8db31405fac68eea6f7257d58529243815033b (diff)
gentoo resync : 02.05.2018
Diffstat (limited to 'games-strategy/crimson')
-rw-r--r--games-strategy/crimson/Manifest2
-rw-r--r--games-strategy/crimson/crimson-0.5.3-r1.ebuild (renamed from games-strategy/crimson/crimson-0.5.3.ebuild)31
2 files changed, 12 insertions, 21 deletions
diff --git a/games-strategy/crimson/Manifest b/games-strategy/crimson/Manifest
index a586911aaf47..5b018af99190 100644
--- a/games-strategy/crimson/Manifest
+++ b/games-strategy/crimson/Manifest
@@ -1,3 +1,3 @@
DIST crimson-0.5.3.tar.bz2 882366 BLAKE2B 6faece818105d29dd2d141b925b332cfd5214dd918f5c07cacd2f6cdfcd6a58c86e6ab1cc2fce396fbf24839f5dded619e92a786f03663e78068926a8d0e6be3 SHA512 9632317c4b258ed5e501ad1d058706ed654fc621b07099f65d93e29fe92e53fc8f6bbffa13c70fc2129f30695d3f10e85174234dc96cc171631b3465d2b7cffc
-EBUILD crimson-0.5.3.ebuild 1300 BLAKE2B 013141743128418025dba2f3de5d322b8be7eb75a17a2a59fd01f6222b798c0d5d394321000e5aa9ba331a7e4a14319e7239bdd8e8115bc2ca344efe130e7a19 SHA512 d4e4bb3ad9841cc16388b7a0cf91ea523868e2e18c8373ec344aa6d2587d014dbbce2163f799642e5dfdfa8876900e37351e463ef7d140610c5428009ff87b16
+EBUILD crimson-0.5.3-r1.ebuild 939 BLAKE2B edc3f30e9e491dd3fe94acd0ef3bafaa153021dd465ca4b63dd4ec8b0b5ee0c25abde13e47b09326eb10f0c0beaad0f019df2744331f02badadadd78e4e1721a SHA512 fe6a679dc47f6297fec3864f2f2f9f6b4abb0bf7a2a2250a4df6b7994fd99dbf2d3838c6e4844f105732950ea4981cd6743675036be7aed675baa047dc0d1e4c
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-strategy/crimson/crimson-0.5.3.ebuild b/games-strategy/crimson/crimson-0.5.3-r1.ebuild
index 0cec24d6a050..ad228438eb35 100644
--- a/games-strategy/crimson/crimson-0.5.3.ebuild
+++ b/games-strategy/crimson/crimson-0.5.3-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils games
+EAPI=6
+inherit desktop
DESCRIPTION="Tactical war game in the tradition of Battle Isle"
HOMEPAGE="http://crimson.seul.org/"
@@ -13,7 +13,8 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test zlib"
-RDEPEND="media-libs/libsdl[sound,video]
+RDEPEND="
+ media-libs/libsdl[sound,video]
media-libs/sdl-mixer
media-libs/sdl-ttf
media-libs/sdl-net
@@ -21,12 +22,13 @@ RDEPEND="media-libs/libsdl[sound,video]
DEPEND="${RDEPEND}
dev-libs/libxslt
test? (
- =app-text/docbook-xml-dtd-4.2*
+ app-text/docbook-xml-dtd:4.2
dev-libs/libxml2
- )"
+ )
+"
src_configure() {
- egamesconf \
+ econf \
--enable-sound \
--enable-network \
$(use_with zlib) \
@@ -41,18 +43,7 @@ src_install() {
DESTDIR="${D}" \
pixmapsdir="/usr/share/pixmaps" \
install
- dodoc NEWS README* THANKS TODO
- rm -rf "${D}/${GAMES_DATADIR}/applications"
+ einstalldocs
+ rm -rf "${ED}/usr/share/applications"
make_desktop_entry crimson "Crimson Fields"
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- echo
- ewarn "Crimson Fields ${PV} is not necessarily save-game compatible with previous versions."
- echo
- elog "If you have older save files and you wish to continue those games,"
- elog "you'll need to remerge the version with which you started"
- elog "those save-games."
}