diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-30 21:33:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-30 21:33:31 +0100 |
commit | 2f8db31405fac68eea6f7257d58529243815033b (patch) | |
tree | 54259cc8988a98a10586fc0496b1f3501cd1e2a1 /games-fps/alienarena/alienarena-20130827-r1.ebuild | |
parent | a4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (diff) |
gentoo resync : 30.04.2018
Diffstat (limited to 'games-fps/alienarena/alienarena-20130827-r1.ebuild')
-rw-r--r-- | games-fps/alienarena/alienarena-20130827-r1.ebuild | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/games-fps/alienarena/alienarena-20130827-r1.ebuild b/games-fps/alienarena/alienarena-20130827-r1.ebuild new file mode 100644 index 000000000000..fabaaecffeb7 --- /dev/null +++ b/games-fps/alienarena/alienarena-20130827-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop gnome2-utils + +MY_PN="alienarena-7.66" + +DESCRIPTION="Fast-paced multiplayer deathmatch game" +HOMEPAGE="http://red.planetarena.org/" +SRC_URI="http://icculus.org/alienarena/Files/${MY_PN}-linux${PV}.tar.gz + http://red.planetarena.org/files/${MY_PN}-linux${PV}.tar.gz" + +LICENSE="GPL-2 free-noncomm" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="dedicated +dga +vidmode +zlib" + +UIRDEPEND=" + virtual/jpeg:0 + media-libs/openal + media-libs/libvorbis + media-libs/freetype:2 + virtual/glu + virtual/opengl + dga? ( x11-libs/libXxf86dga ) + vidmode? ( x11-libs/libXxf86vm ) + zlib? ( sys-libs/zlib ) + net-misc/curl +" +UIDEPEND=" + dga? ( x11-proto/xf86dgaproto ) + vidmode? ( x11-proto/xf86vidmodeproto ) +" +RDEPEND="!dedicated? ( ${UIRDEPEND} )" +DEPEND="${RDEPEND} + !dedicated? ( ${UIDEPEND} ) + virtual/pkgconfig +" + +S="${WORKDIR}/${MY_PN/_/.}" + +PATCHES=( "${FILESDIR}"/${P}-format.patch ) + +src_configure() { + econf \ + --with-icondir=/usr/share/icons/hicolor/48x48/apps/ \ + --without-system-libode \ + --disable-documents \ + $(use_enable !dedicated client) \ + $(use_with zlib) \ + $(use_with vidmode xf86vm) \ + $(use_with dga xf86dga) +} + +src_install() { + DOCS="docs/README.txt README" default + if ! use dedicated ; then + make_desktop_entry ${PN} "Alien Arena" + fi +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |