summaryrefslogtreecommitdiff
path: root/games-arcade/slimevolley
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/slimevolley')
-rw-r--r--games-arcade/slimevolley/Manifest4
-rw-r--r--games-arcade/slimevolley/files/slimevolley-2.4.2-underlink.patch4
-rw-r--r--games-arcade/slimevolley/slimevolley-2.4.2-r1.ebuild (renamed from games-arcade/slimevolley/slimevolley-2.4.2.ebuild)39
3 files changed, 20 insertions, 27 deletions
diff --git a/games-arcade/slimevolley/Manifest b/games-arcade/slimevolley/Manifest
index 7a4d3987e6ad..bc7ec350773a 100644
--- a/games-arcade/slimevolley/Manifest
+++ b/games-arcade/slimevolley/Manifest
@@ -1,5 +1,5 @@
AUX slimevolley-2.4.2-nodatalocal.patch 746 BLAKE2B ff7a336c459395724931e613fab39c212fd06f578342ef7628a934a7b066c085af909bdd35dccac54b6b698f4628b594766caa8c8c814c30837da443a73fcec3 SHA512 e679365056b118e8cf6c5a6828709f8beed67eb2e84a1ce5082abfc0498f82624bbce6584f663cf371eaf81201e6c5bfb1619fedc99ab6395e3b87472e61bd1e
-AUX slimevolley-2.4.2-underlink.patch 228 BLAKE2B bba7de118fc76ca5ab69b430237274c381bf139033030d8fd3eec87355ab9f96449c4a5f31e8217e9f8926a750b2aeb8b92cffbdc18e39c992cfb46a561b3dda SHA512 a981bc321f5b52bef6b12c7bd6b59335956b68100a23578005d4157e3dc6354bc94fbac4dd01e31741975503ec4566e0d02117567d0b01b5623c84436e612962
+AUX slimevolley-2.4.2-underlink.patch 232 BLAKE2B 29e3d0ed66ace5a588d6e0133a2427eebd225ff77100336426db8ad892f52ec552bc562f6edf6c8834e5915094558940254a5ef9c5e6444a7ffa415654bec7f6 SHA512 402baf0b3955d86768ea40a0eaa289cd160f06551392e653255c32f47d4aed22c33f57a67e98fb3fe28500ed6914f9b8e465737b5aa958fd3332721fb2fe419f
DIST slimevolley_2.4.2.tar.bz2 2402839 BLAKE2B 5f3ca09b11721076c115af78117e8185b9c243efc23369f7fac4c5243e942b3b0cddd403f727cad1400a7ffbd77c080bad0d1ee123dfc015be7a98337bfbda36 SHA512 7a72329d9e22396f2e304d40370896b2c1a0ae22d5bf1769a46cad8fb1131b1ae9c16de0e5f847b8a31004df074cdeb710a28bfd1e1d94beceb1c8eb0a750680
-EBUILD slimevolley-2.4.2.ebuild 1018 BLAKE2B 29f35b674623e3e146d5f2921effd037e508c23e7a6dd9b3999548605a6353eda74a5b14e7a1b9c5de845b14d8026260816ed2f66b83f1e5bad47df1dec64738 SHA512 fac771aa8860e508fd9fd36915ea6d13b81da04ed66407875038bb40e540b9e6c32b0c6fcf059e5c675112f3503963823d75c13262cfcd643d9dc607b9a3008e
+EBUILD slimevolley-2.4.2-r1.ebuild 905 BLAKE2B b9961b1b837685914f1854f772876c051137285b1333e9a63639e721bbd22b3ca4705f40ca47af2878f7ddd1c0464aa03fd3a7509e93a66de3a49c5af9e84dc1 SHA512 4d793d5df21368617eb6792d8e5ec98efd8d00b96b04ea84e0016adbc576f88a12c09a15bb0c16f0f65291cfc1cb811568768f1110f1ac7aa4cccd9e0995ec27
MISC metadata.xml 307 BLAKE2B 3bd3dcad0f6b179a7477a9f6c0a30060dff7d0a959c0270083ce111d5f9f8e5ebc0817f44db3e98979eca1f936b4ec7a33914c38ad78a735b97507848ccb431c SHA512 53bd5a746338b99640591dd7fd27b7ed24d44396d2c382a73b7f45b7d0bfa7236bb66229ad2a02135eec39ca524700aa2b0a68b7ad9f19c6f7c750de340b0924
diff --git a/games-arcade/slimevolley/files/slimevolley-2.4.2-underlink.patch b/games-arcade/slimevolley/files/slimevolley-2.4.2-underlink.patch
index 7ca362c7bc63..1aad45f6cf5f 100644
--- a/games-arcade/slimevolley/files/slimevolley-2.4.2-underlink.patch
+++ b/games-arcade/slimevolley/files/slimevolley-2.4.2-underlink.patch
@@ -1,5 +1,5 @@
---- CMakeLists.txt.old 2011-06-20 20:42:26.545500925 +0200
-+++ CMakeLists.txt 2011-06-20 20:42:34.407999223 +0200
+--- a/CMakeLists.txt.old 2011-06-20 20:42:26.545500925 +0200
++++ b/CMakeLists.txt 2011-06-20 20:42:34.407999223 +0200
@@ -42,6 +42,7 @@
${SDL_LIBRARY}
${SDLTTF_LIBRARY}
diff --git a/games-arcade/slimevolley/slimevolley-2.4.2.ebuild b/games-arcade/slimevolley/slimevolley-2.4.2-r1.ebuild
index b1fba98cb040..e4a8fe67dfab 100644
--- a/games-arcade/slimevolley/slimevolley-2.4.2.ebuild
+++ b/games-arcade/slimevolley/slimevolley-2.4.2-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit cmake-utils eutils games
+EAPI=6
+inherit cmake-utils
DESCRIPTION="A simple volleyball game"
HOMEPAGE="http://slime.tuxfamily.org/index.php"
@@ -13,39 +13,32 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="net"
-RDEPEND="media-libs/libsdl[X,sound,video]
+RDEPEND="
+ media-libs/libsdl[X,sound,video]
media-libs/sdl-ttf
media-libs/sdl-image[png]
net? ( media-libs/sdl-net )
- virtual/libintl"
+ virtual/libintl
+"
DEPEND="${RDEPEND}
- sys-devel/gettext"
+ sys-devel/gettext
+"
DOCS="docs/README docs/TODO"
-PATCHES=( "${FILESDIR}"/${P}-nodatalocal.patch
- "${FILESDIR}"/${P}-underlink.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-nodatalocal.patch
+ "${FILESDIR}"/${P}-underlink.patch
+)
-S=${WORKDIR}/${PN}
-
-src_prepare() {
- cmake-utils_src_prepare
-}
+S="${WORKDIR}/${PN}"
src_configure() {
local mycmakeargs=(
"-DCMAKE_VERBOSE_MAKEFILE=TRUE"
- "-DBIN_DIR=${GAMES_BINDIR}"
+ "-DCMAKE_INSTALL_PREFIX=/usr"
+ "-DDATA_DIR=/usr/share/slimevolley"
$(use net && echo "-DNO_NET=0" || echo "-DNO_NET=1")
)
cmake-utils_src_configure
}
-
-src_compile() {
- cmake-utils_src_compile
-}
-
-src_install() {
- cmake-utils_src_install
- prepgamesdirs
-}