Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 359656 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.54 KB, created by
Samuel Bauer
on 2013-09-28 01:55:21 UTC
(
hide
)
Description:
liquidwar6-9999.ebuild
Filename:
MIME Type:
Creator:
Samuel Bauer
Created:
2013-09-28 01:55:21 UTC
Size:
3.54 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 toolchain-funcs 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 +maps nls ogg opengl openmp soft linguas_fr linguas_nn linguas_ru readline static-libs" >REQUIRED_USE="gtk? ( || ( opengl gles2 ) ) || ( allinone cunit )" > ># TODO patch for libpng 1.6 >RDEPEND="dev-db/sqlite:3 > dev-lang/perl > dev-libs/expat > dev-scheme/guile > net-misc/curl > virtual/libintl > virtual/libiconv > sys-libs/zlib > caca? ( media-libs/libcaca ) > cunit? ( dev-util/cunit ) > csound? ( media-sound/csound ) > gles2? ( media-libs/mesa[gles2?] ) > gtk? ( media-libs/freetype:2 > media-libs/libpng:0 > media-libs/sdl-ttf > media-libs/sdl-image > virtual/jpeg > x11-libs/gtk+:2 ) > ogg? ( media-libs/libogg > media-libs/libvorbis ) > opengl? ( virtual/opengl ) > readline? ( sys-libs/ncurses > sys-libs/readline )" >DEPEND="${RDEPEND} > nls? ( sys-devel/gettext )" > >S=${WORKDIR} > >pkg_setup() { > if use openmp; then > if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp ; then > ewarn "OpenMP is not available in your current selected gcc" > die "need openmp capable gcc" > fi > fi > games_pkg_setup >} > >src_prepare() { > cd "${WORKDIR}/${PN}" || die > sed -i -e '/ldconfig/d' src/Makefile.am || die > sed -i -e '/AC_CHECK_HEADERS/s:libpng15/png.h:& libpng16/png.h:' configure.ac || die > sed -i -e 's/test x${HAVE_LIBPNG15_PNG_H} = x1/& || test x${HAVE_LIBPNG16_PNG_H} = x1/' configure.ac || die > sed -i -e 'N;N;s:LIBPNG_1X_H=libpng15/png.h\n[[:space:]]\+fi:&\nif test x${HAVE_LIBPNG16_PNG_H} = x1; then\nLIBPNG_1X_H=libpng16/png.h\nfi:' configure.ac || die > eautoreconf > if use maps; then > cd "${WORKDIR}/${PN}-extra-maps" > eautoreconf > fi >} > >src_configure() { > if ! use ogg || ! use csound; then > myconf="${myconf} --enable-silent" > fi > > if use opengl || use caca || use soft; then > myconf="${myconf} $(use_enable gtk)" > else > myconf="${myconf} --disable-gtk" > myconf="${myconf} --enable-headless" > fi > cd "${WORKDIR}/${PN}" || die "Cannot access source directory" > > egamesconf $(use_enable nls) \ > $(use_enable allinone) \ > $(usex allinone "--disable-shared" "--enable-shared") \ > $(use_enable cunit) \ > $(use_enable openmp) \ > $(use_enable ogg mod-ogg) \ > $(use_enable http mod-http) \ > $(use_enable readline console) \ > $(use_enable csound mod-csound) \ > $(use_enable static-libs static) \ > $(use_enable caca mod-caca) \ > $(use_enable gles2 mod-gles2) \ > $(use_enable opengl mod-gl1) \ > $(use_enable soft mod-soft) \ > --mandir=/usr/share/man \ > --docdir=/usr/share/doc/${P} \ > --htmldir=/usr/share/doc/${P}/html \ > ${myconf} > > if use maps; then > cd "${S}/${PN}-extra-maps" || die "Cannot access extra maps directory" > egamesconf > fi >} > >src_compile() { > cd "${WORKDIR}/${PN}" || die "Cannot access source directory" > games_src_compile > > if use doc; then > emake html > fi > > if use maps; then > cd "${WORKDIR}/${PN}-extra-maps" || die "Cannot access extra maps directory" > emake > fi >} > >src_install() { > cd "${WORKDIR}/${PN}" || die "Cannot access source directory" > > emake DESTDIR="${D}" install || die "Cannot install base" > use allinone && rm -rf "${D}${GAMES_PREFIX}"/include > > if use maps; then > cd "${WORKDIR}/${PN}-extra-maps" || die "Cannot access extra maps directory" > find . -name README -delete > emake DESTDIR="${D}" install || die "Cannot install maps" > 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