summaryrefslogtreecommitdiff
path: root/games-puzzle/enigma
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-puzzle/enigma
parent2f8db31405fac68eea6f7257d58529243815033b (diff)
gentoo resync : 02.05.2018
Diffstat (limited to 'games-puzzle/enigma')
-rw-r--r--games-puzzle/enigma/Manifest2
-rw-r--r--games-puzzle/enigma/enigma-1.21-r3.ebuild (renamed from games-puzzle/enigma/enigma-1.21-r2.ebuild)35
2 files changed, 19 insertions, 18 deletions
diff --git a/games-puzzle/enigma/Manifest b/games-puzzle/enigma/Manifest
index 6d892b370f13..95e29c1ff023 100644
--- a/games-puzzle/enigma/Manifest
+++ b/games-puzzle/enigma/Manifest
@@ -1,5 +1,5 @@
AUX enigma-1.21-build.patch 3543 BLAKE2B bb4cd5fc8105b15cf913e8a5f6baeb58cba93965a422a7bd514fc4eea848f73f65853595da023e3458a48f861d7a42f1300dfd90418600f4432c327114ab4f17 SHA512 accfb31abaadbee476961f38cc2f76a1fceac4befbf4721d4e08061a3509d05f2e534b4f8f69f1765e082a4ed4f70ccbba0c73c4479a49ee1cfde4c1ae1cdcc4
AUX enigma-1.21-gcc6.patch 927 BLAKE2B 279415c5cf96e9f4db37b29b4555fe2d66ce82c3c04199281c175176bab812351a342633888c524558d4f9362ccd1b1602fd7fc100e062e45bbac85fe966e06f SHA512 d0eb1f356370431e3b3b96c7fa3a56ca52ed15fa94286d1b5075ba8a4b4b349deb676479bd8e045a7463f65a3885c44aab90166549850e19c510d606aed2e746
DIST enigma-1.21.tar.gz 56409951 BLAKE2B c03cf3c66cb1df771671c6c92d5a64e66ab78c2abbf25008285dedb5db10fb1c8daf2053c15a09147e00f0a22a7882e47b1c6ed66588b2397deec084456af1b9 SHA512 0cca56a193f0f416e0fde02caf2e30b61eef506b6c62e151ff575f5c130f1e2e778d77149007b114ebaeec3a3e793434328555cb5190954a0ae13ed6cee229f0
-EBUILD enigma-1.21-r2.ebuild 1576 BLAKE2B 1bdc2534233e343d263d5fb413e8edfcaeb4d40471b8b035e803b8e7c66bb2d4e646a6fb5477c0f80ab9b3b3285fa66c0cac474c1bfeb3ec76e99d544dd97ee5 SHA512 94bb0f9654e601b7357fb994fe36f8c066b98fe95ca00bdf8b3fc39e2ba9f49e8143611ea95bbf93fdd650c7909c3845cc219162997b791e8eef0cbdf2792679
+EBUILD enigma-1.21-r3.ebuild 1503 BLAKE2B 3e1a2bc825ed265e7cb362c9d42b73e01157123c48552406ed6ce52844759189292da998da668c6791f96eb18900d40f26aad125ec482a0a100e79e44ab352ed SHA512 052f053424ddafe241002e78a8107eafe412048113bd0d97f8ca0351d7fb3fd0fb30d021ec2b76ebc57ec9ed1a176559128afdfd517d59c95f25c3ebf1010ae2
MISC metadata.xml 334 BLAKE2B 8e61a1119a930895b0773b8865550fde4bf532532ea4e904d537a6f4f93a27580841d121ff246bc4f9f60849a2224bedaf91bcb2e8ce3aa0b2a6ebee51dff1a8 SHA512 885fc4263252767f8861f2d45dc11a319cb5b0a7a9eccdf073a0433ba4908d97f7a590a96ae542372e53f16780a41cee4ee80556c0cedffbf34f6e4bcadeacc6
diff --git a/games-puzzle/enigma/enigma-1.21-r2.ebuild b/games-puzzle/enigma/enigma-1.21-r3.ebuild
index c9b2e6c38ed0..bdecef930251 100644
--- a/games-puzzle/enigma/enigma-1.21-r2.ebuild
+++ b/games-puzzle/enigma/enigma-1.21-r3.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit autotools eutils gnome2-utils games
+EAPI=6
+inherit autotools gnome2-utils
-DESCRIPTION="puzzle game similar to Oxyd"
+DESCRIPTION="Puzzle game similar to Oxyd"
HOMEPAGE="http://www.nongnu.org/enigma/"
SRC_URI="mirror://sourceforge/enigma-game/${P}.tar.gz"
@@ -13,7 +13,8 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls"
-COMMON_DEPS="media-libs/sdl-ttf
+COMMON_DEPS="
+ media-libs/sdl-ttf
media-libs/libsdl[video]
media-libs/sdl-mixer
media-libs/sdl-image[jpeg,png]
@@ -22,16 +23,20 @@ COMMON_DEPS="media-libs/sdl-ttf
net-misc/curl
|| ( >=dev-libs/xerces-c-3[icu] >=dev-libs/xerces-c-3[-icu,-iconv] )
net-libs/enet:=
- nls? ( virtual/libintl )"
+ nls? ( virtual/libintl )
+"
DEPEND="${COMMON_DEPS}
- sys-devel/gettext"
+ sys-devel/gettext
+"
RDEPEND="${COMMON_DEPS}
media-fonts/dejavu
- x11-misc/xdg-utils"
+ x11-misc/xdg-utils
+"
src_prepare() {
+ default
cp /usr/share/gettext/config.rpath .
- epatch "${FILESDIR}"/${P}-build.patch \
+ eapply "${FILESDIR}"/${P}-build.patch \
"${FILESDIR}"/${P}-gcc6.patch
sed -i \
-e "s:DOCDIR:\"/usr/share/doc/${P}/html\":" \
@@ -40,32 +45,28 @@ src_prepare() {
}
src_configure() {
- egamesconf \
+ econf \
--with-system-enet \
$(use_enable nls)
}
src_install() {
- DOCS="ACKNOWLEDGEMENTS AUTHORS CHANGES README doc/HACKING" \
+ HTML_DOCS="doc/*" DOCS="ACKNOWLEDGEMENTS AUTHORS CHANGES README doc/HACKING" \
default
dosym \
/usr/share/fonts/dejavu/DejaVuSansCondensed.ttf \
- "${GAMES_DATADIR}"/${PN}/fonts/DejaVuSansCondensed.ttf
+ /usr/share/${PN}/fonts/DejaVuSansCondensed.ttf
dosym \
/usr/share/fonts/dejavu/DejaVuSans.ttf \
- "${GAMES_DATADIR}"/${PN}/fonts/vera_sans.ttf
- dohtml -r doc/*
+ /usr/share/${PN}/fonts/vera_sans.ttf
doman doc/enigma.6
- prepgamesdirs
}
pkg_preinst() {
- games_pkg_preinst
gnome2_icon_savelist
}
pkg_postinst() {
- games_pkg_postinst
gnome2_icon_cache_update
}