Files
@ 973eab045010
Branch filter:
Location: ohnobinki_overlay/games-action/supertuxkart/supertuxkart-0.6.2.ebuild - annotation
973eab045010
1.8 KiB
application/vnd.gentoo.ebuild
dev-util/cmake: Add a patch to cmake which enables kde-base/kdelibs to compile on systems where /usr/lib is neither a symlink to /usr/lib64 or /usr/lib32. This adds a FIND_LIBRARY_USE_LIB32_PATHS global property which is an analog to the FIND_LIBRARY_USE_LIB64_PATHS property.
(Portage version: 2.2_rc69-r1/hg/Linux x86_64, signed Manifest commit)
(Portage version: 2.2_rc69-r1/hg/Linux x86_64, signed Manifest commit)
d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 6424c64f7f8c d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 6424c64f7f8c 6424c64f7f8c 6424c64f7f8c d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 d1a1af703944 | # Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/supertuxkart-0.6.2.ebuild,v 1.5 2010/01/03 21:57:03 mr_bones_ Exp $
EAPI=2
inherit autotools eutils games
DESCRIPTION="A kart racing game starring Tux, the linux penguin (TuxKart fork)"
HOMEPAGE="http://supertuxkart.sourceforge.net/"
SRC_URI="mirror://sourceforge/supertuxkart/files/SuperTuxKart/${PV}/${P}-src.tar.bz2
mirror://gentoo/${PN}.png"
LICENSE="GPL-3 CCPL-Attribution-ShareAlike-3.0 CCPL-Attribution-2.0 CCPL-Sampling-Plus-1.0 public-domain as-is"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="nls"
RDEPEND=">=media-libs/plib-1.8.4
virtual/opengl
virtual/glut
virtual/glu
net-libs/enet
media-libs/libmikmod
media-libs/libvorbis
media-libs/openal
media-libs/libsdl[X,video,audio,joystick]
virtual/libintl"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
src_prepare() {
esvn_clean
sed -i \
-e '/ENETTREE/d' \
-e '/src\/enet\/Makefile/d' \
-e '110 i\ AC_SEARCH_LIBS(gluLookAt, GLU)' \
configure.ac \
|| die "sed failed"
sed -i \
-e '/SUBDIRS/s/doc//' \
-e '/pkgdata/d' \
Makefile.am \
|| die "sed failed"
sed -i \
-e '/pkgdatadir/s:/games::' \
-e '/desktop/d' \
-e '/icon/d' \
$(find data -name Makefile.am) \
|| die "sed failed"
sed -i \
-e '/bindir/d' \
-e '/AM_CPPFLAGS/s:/games::' \
src/Makefile.am \
|| die "sed failed"
epatch "${FILESDIR}"/${P}-SDL.h-portage-multilib.patch
rm -rf src/enet
eautoreconf
}
src_configure() {
egamesconf \
--disable-dependency-tracking \
$(use_enable nls)
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
doicon "${DISTDIR}"/${PN}.png
make_desktop_entry ${PN} SuperTuxKart
dodoc AUTHORS ChangeLog README TODO
prepgamesdirs
}
|