games-action/supermariowar: [QA] Fix minor issues
authorDavid Seifert <soap@gentoo.org>
Sat, 23 Sep 2017 09:03:35 +0000 (11:03 +0200)
committerDavid Seifert <soap@gentoo.org>
Sat, 23 Sep 2017 09:03:54 +0000 (11:03 +0200)
* Never use 'default' with cmake-utils.eclass
* Fix canonical LICENSE/SLOT/KEYWORDS/IUSE order

Package-Manager: Portage-2.3.10, Repoman-2.3.3

games-action/supermariowar/supermariowar-2.0_beta1-r1.ebuild

index b015d2b57fc3c4f64d7cacf7bf5a0c486d899b07..3df6782843cc4cb5ce975f6826d1b4fc389b5849 100644 (file)
@@ -13,14 +13,13 @@ DESCRIPTION="Fan-made multiplayer Super Mario Bros. style deathmatch game"
 HOMEPAGE="https://github.com/mmatyas/supermariowar"
 SRC_URI="https://github.com/mmatyas/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 
-KEYWORDS="~amd64 ~x86"
 LICENSE="GPL-2"
 SLOT="0"
-
+KEYWORDS="~amd64 ~x86"
 IUSE="server"
 
 RDEPEND="
-       sys-libs/zlib
+       sys-libs/zlib:=
        dev-cpp/yaml-cpp
        net-libs/enet:1.3=
        media-libs/sdl-mixer[vorbis]
@@ -40,7 +39,8 @@ src_unpack() {
 }
 
 src_prepare() {
-       default
+       cmake-utils_src_prepare
+
        einfo "Copying Findyaml-cpp.cmake"
        cp "${FILESDIR}/${P}-yaml-cpp-config.cmake" cmake/Findyaml-cpp.cmake || die
        eend $?