Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 359072 Details for
Bug 388441
Ebuild request games-strategy/liquidwar6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
liquidwar6-9999.ebuild
liquidwar6-9999.ebuild (text/plain), 3.46 KB, created by
Samuel Bauer
on 2013-09-19 23:54:40 UTC
(
hide
)
Description:
liquidwar6-9999.ebuild
Filename:
MIME Type:
Creator:
Samuel Bauer
Created:
2013-09-19 23:54:40 UTC
Size:
3.46 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=5 > >inherit autotools eutils games git-2 > >DESCRIPTION="unique multiplayer wargame" >HOMEPAGE="http://www.gnu.org/software/liquidwar6/" >EGIT_REPO_URI="git://git.sv.gnu.org/${PN}.git" > >LICENSE="GPL-3" >SLOT="0" >KEYWORDS="amd64" >IUSE="+allinone caca csound cunit doc gles2 gtk +http iconv +intl +maps nls ogg opengl openmp soft linguas_fr linguas_nn linguas_ru readline static-libs" > > ># TODO patch for libpng 1.6 >RDEPEND="dev-db/sqlite:3 > dev-lang/perl > dev-libs/expat > dev-scheme/guile > sys-libs/zlib > caca? ( media-libs/libcaca ) > cunit? ( dev-util/cunit ) > iconv? ( virtual/libiconv ) > intl? ( virtual/libintl ) > ogg? ( media-libs/libvorbis > media-libs/libogg ) > csound? ( media-sound/csound ) > gles2? ( media-libs/mesa[gles2?] ) > gtk? ( x11-libs/gtk+:2 > media-libs/freetype:2 > <media-libs/libpng-1.6 > media-libs/sdl-ttf > media-libs/sdl-image > virtual/jpeg ) > opengl? ( media-libs/mesa ) > readline? ( sys-libs/ncurses > sys-libs/readline ) > net-misc/curl" >DEPEND="${RDEPEND} > openmp? ( sys-devel/gcc[openmp] ) > sys-devel/libtool" > >REQUIRED_USE="gtk? ( || ( opengl gles2 ) )" > >S=${WORKDIR} > >src_prepare() { > cd "${WORKDIR}/${PN}" > eautoreconf > if use maps; then > cd "${WORKDIR}/${PN}-extra-maps" > eautoreconf > fi >} > >src_configure() { > myconf="$(use_enable allinone)" > myconf="${myconf} $(use_enable nls)" > myconf="${myconf} $(use_enable cunit)" > myconf="${myconf} $(use_enable openmp)" > myconf="${myconf} $(use_enable ogg mod-ogg)" > myconf="${myconf} $(use_enable http mod-http)" > myconf="${myconf} $(use_enable readline console)" > myconf="${myconf} $(use_enable csound mod-csound)" > myconf="${myconf} $(use_enable static-libs static)" > myconf="${myconf} $(use_with intl libintl-prefix)" > myconf="${myconf} $(use_with iconv libiconv-prefix)" > > if use allinone; then > myconf="${myconf} --disable-shared" > fi > > if ! use ogg || ! use csound; then > myconf="${myconf} --enable-silent" > fi > > myconf="${myconf} $(use_enable caca mod-caca)" > myconf="${myconf} $(use_enable gles2 mod-gles2)" > myconf="${myconf} $(use_enable opengl mod-gl1)" > myconf="${myconf} $(use_enable soft mod-soft)" > if use opengl || use caca || use soft; then > myconf="${myconf} $(use_enable gtk)" > else > myconf="${myconf} --disable-gtk" > myconf="${myconf} --enable-headless" > fi > myconf="${myconf} --mandir=${GAMES_DATADIR_BASE}/man" > myconf="${myconf} --docdir=${GAMES_DATADIR_BASE}/doc/${P}" > myconf="${myconf} --htmldir=${GAMES_DATADIR_BASE}/doc/${P}/html" > > cd "${WORKDIR}/${PN}" > egamesconf ${myconf} || die "Cannot configure game" > > if use maps; then > cd "${S}/${PN}-extra-maps" || "Cannot access extra maps directory" > egamesconf || die "Cannot configure maps" > cd "${S}" > fi >} > >src_compile() { > cd "${WORKDIR}/${PN}" > games_src_compile > > if use doc; then > emake html > fi > > if use maps; then > cd "${WORKDIR}/${PN}-extra-maps" || "Cannot access extra maps directory" > emake || die "Cannot compile maps" > cd "${S}" > fi >} > >src_install() { > cd "${WORKDIR}/${PN}" > > emake -j1 DESTDIR="${D}" install || die "Cannot install base" > rm ${D}${GAMES_PREFIX}/bin/${PN} || die > mv ${D}${GAMES_PREFIX}/bin/${PN}* ${D}${GAMES_PREFIX}/bin/${PN} || die > use allinone && rm -r ${D}${GAMES_PREFIX}/include || die > > if use maps; then > cd "${WORKDIR}/${PN}-extra-maps" || "Cannot access extra maps directory" > find -name README -exec rm '{}' ';' > emake DESTDIR="${D}" install || die "Cannot install maps" > cd "${S}/${PN}" > fi > > prepgamesdirs >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 388441
:
290791
|
290793
|
306003
|
359070
|
359072
|
359076
|
359650
|
359656
|
359686
|
359688