mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-action/abuse: Version bump to 0.9_p20181213 from new SDL2 fork
OpenGL support is now handled solely by SDL. Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST abuse-0.8.tar.gz 6053500 BLAKE2B 4f52256b7bf13e0efa77ef50147a976fdf1fceec4ce20fb4b855a9961a7c816cf08bf51286b424da42072956a137bc3385357cfdb61bf37ff9f907284d99e09c SHA512 5c60dcf6910f9f751da26e919cd289c12349bb82eb925f9a41dc921263ece0d0f5f24c2ab2d1c718c0a5d0315453f92dfcba665fe5082eb4135ed737d2859d18
|
||||
DIST abuse-0.9_p20181213.tar.gz 4668746 BLAKE2B 5834d9a3a3172ec6364adf4ffc4196e76b2f104a77d7c5eb94f72cb00e326a66b56bf66083ab8fd566d1bc97b7f8ac6ac1edb4ad60605526761487a45a4136ac SHA512 4a7bdd67880a86a686f896d42b9a7f0c3a6e8a9e8891e514ebb68634b6b31641f5ade91da0f0bd4e6da7081b67c3bf944246ec3538a547e5ee68b4d8f4cebbeb
|
||||
|
||||
48
games-action/abuse/abuse-0.9_p20181213.ebuild
Normal file
48
games-action/abuse/abuse-0.9_p20181213.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils desktop xdg-utils
|
||||
|
||||
COMMIT="42b6acd19af00689e8f34355e3b13323d8ea3f79"
|
||||
DATA_PV="0.8"
|
||||
|
||||
DESCRIPTION="Port of Abuse by Crack Dot Com"
|
||||
HOMEPAGE="https://github.com/Xenoveritas/abuse"
|
||||
SRC_URI="https://github.com/Xenoveritas/abuse/archive/${COMMIT}.tar.gz -> ${P}.tar.gz
|
||||
http://abuse.zoy.org/raw-attachment/wiki/download/${PN}-${DATA_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 public-domain WTFPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=">=media-libs/libsdl2-2.0.3[sound,video]
|
||||
media-libs/sdl2-mixer"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
src_prepare() {
|
||||
ln -snf ../../${PN}-${DATA_PV}/data/{music,sfx} data/ || die
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# https://github.com/Xenoveritas/abuse/pull/6
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
doicon -s 32 doc/${PN}.png
|
||||
make_desktop_entry abuse Abuse
|
||||
}
|
||||
|
||||
pkg_postinst() { xdg_icon_cache_update; }
|
||||
pkg_postrm() { xdg_icon_cache_update; }
|
||||
Reference in New Issue
Block a user