Files
@ 973eab045010
Branch filter:
Location: ohnobinki_overlay/games-strategy/warzone2100/warzone2100-2.3.1.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)
9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 333e0a612ea0 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 333e0a612ea0 333e0a612ea0 333e0a612ea0 333e0a612ea0 333e0a612ea0 333e0a612ea0 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b 9a5bfcd1e99b | # Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/warzone2100-2.3.1.ebuild,v 1.1 2010/06/14 08:13:58 mr_bones_ Exp $
EAPI=2
inherit autotools eutils versionator games
MY_PV=$(get_version_component_range -2)
VIDEOS_P=${P}-videos.wz
DESCRIPTION="3D real-time strategy game"
HOMEPAGE="http://wz2100.net/"
SRC_URI="mirror://sourceforge/warzone2100/${P}.tar.gz
videos? ( mirror://sourceforge/warzone2100/warzone2100/Videos/2.2/high-quality-en/sequences.wz -> ${VIDEOS_P} )"
LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0 public-domain"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
# upstream requested debug support
IUSE="debug nls videos"
RDEPEND="dev-db/sqlite:3
>=dev-games/physfs-2[zip]
dev-libs/popt
media-libs/libogg
media-libs/libpng
media-libs/libsdl[opengl,video]
media-libs/libtheora
media-libs/libvorbis
media-libs/openal
media-libs/sdl-net
media-libs/quesoglc
virtual/glu
virtual/opengl
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
app-arch/zip
dev-util/pkgconfig
nls? ( sys-devel/gettext )"
RDEPEND="${RDEPEND}
media-fonts/dejavu"
src_prepare() {
epatch "${FILESDIR}"/${P}-include-SDL.patch
eautoreconf
}
src_configure() {
egamesconf \
--disable-dependency-tracking \
--docdir=/usr/share/doc/${PF} \
--localedir=/usr/share/locale \
--with-distributor="Gentoo ${PF}" \
--with-icondir=/usr/share/pixmaps \
--with-applicationdir=/usr/share/applications \
$(use_enable debug debug relaxed) \
$(use_enable nls)
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
rm -f "${D}"/usr/share/doc/${PF}/COPYING*
if use videos ; then
insinto "${GAMES_DATADIR}"/${PN}
newins "${DISTDIR}"/${VIDEOS_P} sequences.wz \
|| die "newins failed"
fi
prepgamesdirs
}
|