summaryrefslogtreecommitdiff
path: root/games-arcade/savagewheels
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
commitd99093fb4bb5652015c06274d64083daa2439e4f (patch)
treecf61513204d97974179580065e85df5c8009087c /games-arcade/savagewheels
parent463397cf1e064185110fe57c568d73f99a06f5d1 (diff)
gentoo resync : 03.03.2021
Diffstat (limited to 'games-arcade/savagewheels')
-rw-r--r--games-arcade/savagewheels/Manifest4
-rw-r--r--games-arcade/savagewheels/metadata.xml3
-rw-r--r--games-arcade/savagewheels/savagewheels-1.6.1-r2.ebuild (renamed from games-arcade/savagewheels/savagewheels-1.6.1-r1.ebuild)32
3 files changed, 15 insertions, 24 deletions
diff --git a/games-arcade/savagewheels/Manifest b/games-arcade/savagewheels/Manifest
index 3ebd9eefc35c..76be9a7c2466 100644
--- a/games-arcade/savagewheels/Manifest
+++ b/games-arcade/savagewheels/Manifest
@@ -1,5 +1,5 @@
AUX savagewheels.in 1488 BLAKE2B 5676996a1785b8653eaed1d2a606ac0a56fd55361e280517564d93c0aba1984bfbc603232a1225504c99a73bcb422659bf75121af8b7e2421a9b339550344024 SHA512 b13ff4b2739e3f5cb797c9364687c9077852863f9a3a1176fc03e3f9f030293366b177b1a494a8b12ee69ba6ee7aac8589475a5b2246135038ad3138990f2088
DIST savagewheels-1.6.1.tar.gz 596480 BLAKE2B a1e236418e3e2af1634360c0a6c3e5debf0b429960f4dde0c3ed31a0450c9de73b0b67a833d66523004115ddd61dc32e156fcd64bd783c5cca8c3281e1684639 SHA512 0e535f5f86b1656fa20a2de3dbc9c107f9daacfd37308ca4e2e15df43b177161767a2834c0ed1b9cb93eed0b642092e4f840abf451d2de5082d3c4c721bedc0e
DIST savagewheels-gamedata-1.4.0.tar.gz 13183072 BLAKE2B 1fdd20cd3bdd5589d17d131d13d1dbe56889f05972c162583a4b9b7cdb3eadea32b7d7a1130f2eb239ec87e1cb3dc6f02d6d15504463b399e12271348106702f SHA512 102214e18edb911b168e41999d239e3070255720f250e8ea640d365b3f7fc4c772cbf322f4558ba6c05fd56d904613c758918e25712e89eb2aca3e948c26fc65
-EBUILD savagewheels-1.6.1-r1.ebuild 1400 BLAKE2B ee2ddd5e6974a2b2389acaa5e1dcc104ba36062f44d085de51ac780909cca2217c558d7fc78f374237c667043c2a25fee2bc32366dfdd73b1335128913a3ca04 SHA512 2d7fbac6c6db683dee92c09087cabfd1603128095c55b985d47773b259c40317eb79bdbe9060a130e6379c007c327987e8b45dfdff0baefaeae3b7fa747e0e7e
-MISC metadata.xml 342 BLAKE2B 6f4cbacd74ec408ccba1de7cfbe4eb899ffaa4c30bb3ecc2a1500398c29f15795bde02fe21043ee3e671eeb50503931b23ac7ee95dbdf13770d0a365bfbada97 SHA512 5f3c0b7396ba31bef6d4dd9b936a2554b12aecf87cf95968c9b976709de808999598e3caa2be38c96d8a37be80850f95c67d0e71c0387a1b2bfe4982e3345d07
+EBUILD savagewheels-1.6.1-r2.ebuild 1306 BLAKE2B ad0c2c0ffb0e4020562a1a93a99bec154a7f1752e9a823115794185aff02815d569937c775b6c36606fe9e11ce543d61743aa4b200ad942b2efa5c03e52a1b56 SHA512 4acd276d60082eff5bc9cc3db011286bfb4886716fc88fdf70bca524de94e594621e9876d72baa5ee84034a5bd193226936edd6539ad71827a8981e3b6bab84f
+MISC metadata.xml 252 BLAKE2B 223ff4601d0d09afcd307faac70f114c680cf865903f5f20ab702e509fa35a142be0c48f05f7bf6cd5ca1465062a8c113b66ffc89c24eb027add8be8091e8d63 SHA512 a65e5e1581a3605a899d155fa4e6201c892a5b2f2502f08aa08a7db418e372b66be4cb2799440c8d69527ba6d4cff000c0c075af9e66650d80da24da48b240a3
diff --git a/games-arcade/savagewheels/metadata.xml b/games-arcade/savagewheels/metadata.xml
index 00392a14830e..9d75d2abfae2 100644
--- a/games-arcade/savagewheels/metadata.xml
+++ b/games-arcade/savagewheels/metadata.xml
@@ -2,9 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
- <use>
- <flag name="fmod">Enable the fmod music and sound effects library</flag>
- </use>
<upstream>
<remote-id type="github">petarov/savagewheels</remote-id>
</upstream>
diff --git a/games-arcade/savagewheels/savagewheels-1.6.1-r1.ebuild b/games-arcade/savagewheels/savagewheels-1.6.1-r2.ebuild
index 7d06e4db88b4..d87adf05402a 100644
--- a/games-arcade/savagewheels/savagewheels-1.6.1-r1.ebuild
+++ b/games-arcade/savagewheels/savagewheels-1.6.1-r2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit cmake-utils
+inherit cmake
-DESCRIPTION="2D car crashing game similar to the old classic Destruction Derby."
+DESCRIPTION="2D car crashing game similar to the old classic Destruction Derby"
HOMEPAGE="https://github.com/petarov/savagewheels"
GAMEDATA="${PN}-gamedata-1.4.0"
@@ -18,20 +18,14 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
-
-IUSE="fmod sound"
+IUSE="sound"
RDEPEND="
- media-libs/libsdl
- sound? (
- !fmod? ( media-libs/sdl-mixer[mod,modplug] )
- fmod? ( >=media-libs/fmod-4.38.00 )
- )"
-
+ media-libs/libsdl[joystick]
+ sound? ( media-libs/sdl-mixer[mod,modplug] )
+"
DEPEND="${RDEPEND}"
-REQUIRED_USE="fmod? ( sound )"
-
src_unpack() {
unpack ${P}.tar.gz
@@ -45,15 +39,15 @@ src_unpack() {
src_configure() {
local mycmakeargs=(
- -DCMAKE_INSTALL_DATADIR=share/${PN}
- -DCMAKE_INSTALL_LIBEXECDIR=libexec/${PN}
- $(usex sound $(usex fmod '-DSOUND=FMOD -DFMOD_PATH=/opt/fmodex/api' '-DSOUND=YES') '-DSOUND=NO')
+ -DCMAKE_INSTALL_DATADIR="${EPREFIX}"/usr/share/${PN}
+ -DCMAKE_INSTALL_LIBEXECDIR="${EPREFIX}"/usr/libexec/${PN}
+ -DSOUND=$(usex sound YES NO) # yes, 'NO' is important here. bug 773439
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
insinto /usr/share/${PN}
doins -r "${WORKDIR}/${GAMEDATA}/."