mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
games-action/gltron: Remove old
Package-Manager: Portage-2.3.16, Repoman-2.3.6
This commit is contained in:
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils games
|
||||
|
||||
DESCRIPTION="3d tron, just like the movie"
|
||||
HOMEPAGE="http://gltron.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.gz
|
||||
mirror://gentoo/${PN}.png"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="virtual/opengl
|
||||
media-libs/libpng:0
|
||||
media-libs/libsdl[sound,video]
|
||||
media-libs/sdl-mixer[vorbis]
|
||||
media-libs/sdl-sound[vorbis,mikmod]
|
||||
media-libs/smpeg
|
||||
media-libs/libmikmod"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-configure.patch \
|
||||
"${FILESDIR}"/${P}-prototypes.patch \
|
||||
"${FILESDIR}"/${P}-debian.patch \
|
||||
"${FILESDIR}"/${P}-gcc49.patch
|
||||
sed -i \
|
||||
-e '/^gltron_LINK/s/$/ $(LDFLAGS)/' \
|
||||
Makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# warn/debug/profile just modify CFLAGS, they aren't
|
||||
# real options, so don't utilize USE flags here
|
||||
egamesconf \
|
||||
--disable-warn \
|
||||
--disable-debug \
|
||||
--disable-profile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
doicon "${DISTDIR}"/${PN}.png
|
||||
make_desktop_entry ${PN} GLtron
|
||||
prepgamesdirs
|
||||
}
|
||||
Reference in New Issue
Block a user