Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 212651 Details for
Bug 83217
dungeon-crawl-4.0.0_beta26.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
stone-soup-0.5.2.ebuild
stone-soup-0.5.2.ebuild (text/plain), 2.90 KB, created by
Denis Dupeyron (RETIRED)
on 2009-12-10 21:46:31 UTC
(
hide
)
Description:
stone-soup-0.5.2.ebuild
Filename:
MIME Type:
Creator:
Denis Dupeyron (RETIRED)
Created:
2009-12-10 21:46:31 UTC
Size:
2.90 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=2 > >inherit games eutils > >MY_P="${PN/-/_}-${PV}-src" >DESCRIPTION="The quest for the mystifyingly fabulous Orb of Zot" >HOMEPAGE="http://crawl-ref.sourceforge.net/" >SRC_URI="mirror://sourceforge/crawl-ref/${MY_P}.tbz2" > >LICENSE="crawl" >SLOT="0" >KEYWORDS="~x86 ~amd64" >IUSE="sdl unicode" > >CDEPEND="dev-db/sqlite:3 > dev-lang/lua > !sdl? ( sys-libs/ncurses[unicode?] ) > sdl? ( media-libs/libsdl[X,opengl] > media-libs/freetype:2 )" >DEPEND="${CDEPEND} > media-libs/libpng" >RDEPEND="${CDEPEND} > media-fonts/ttf-bitstream-vera" > >S="${WORKDIR}/${MY_P}/source" > >src_prepare() { > # Pick the right makefile > cp makefile$(use sdl && echo "_tiles").unix makefile > > # Lots of fixes and Gentoo-specific configs > sed -i \ > -e "s/GAME = crawl/GAME = ${PN}/" \ > -e "/^INSTALLDIR/c INSTALLDIR := ${GAMES_BINDIR}" \ > -e "/^# DATADIR :=/a DATADIR := ${GAMES_DATADIR}/${PN}/" \ > -e "/^# SAVEDIR :=/a SAVEDIR := ${GAMES_STATEDIR}/${PN}/" \ > -e 's/${INSTALLDIR}/$(INSTALLDIR)/' \ > -e 's/$(INSTALLDIR)/$(DESTDIR)$(INSTALLDIR)/g' \ > -e 's/$(DATADIR)/$(DESTDIR)$(DATADIR)/g' \ > -e 's/$(SAVEDIR)/$(DESTDIR)$(SAVEDIR)/g' \ > -e '/^LDFLAGS = /d' \ > -e 's/ $(CFWARN) / /' \ > -e 's/ $(CFOTHERS)/ $(CFOTHERS) $(CFLAGS)/' \ > -e 's/ $(YCFLAGS) / $(CFLAGS) $(LDFLAGS) /' \ > -e 's/ $(LUASRC)$(LUALIBA) / /' \ > -e '/EXTRA_DEPENDS += $(FSQLLIBA)/d' \ > makefile || die "sed failed" > sed -i \ > -e 's/$(SDL_CFLAGS)/$(SDL_CFLAGS) $(CFLAGS)/' \ > -e 's/$(SDL_LDFLAGS)/$(SDL_LDFLAGS) $(LDFLAGS)/' \ > -e 's/ -lSDL_image -lpng/\ >LD_ADD = -lSDL_image -lpng/' \ > -e 's/${LDFLAGS}/$(LD_ADD) $(LDFLAGS)/' \ > rltiles/makefile.unix || die "sed failed" > > # Fix icon location > sed -i -e 's/#ifdef DATA_DIR_PATH/#ifdef FALSE/' tilesdl.cc || die "sed failed" > > # Make sure we don't pick-up any stray files from the internal lua and sqlite > sed -i \ > -e 's:util/lua/src/.*\.h::' \ > -e 's:util/sqlite/.*\.h::' \ > makefile.dep || die "sed failed" > rm -rf util/{lua,sqlite} > > if use unicode; then sed -i \ > -e 's/UNICODE_GLYPHS = n/UNICODE_GLYPHS = y/' \ > -e 's/UNICODE_LOCALE =/UNICODE_LOCALE = \./' \ > makefile || die "sed failed" > fi > > # Use system fonts > sed -i -e 's|datafile_path(font_name, false, true)|std::string("/usr/share/fonts/ttf-bitstream-vera/") + std::string(font_name)|' \ > tilefont.cc || die "sed failed" > > # Remove useless files that would get installed > rm -f ../docs/{libpng-LICENSE,lualicense,pcre_license}.txt > rm -f dat/tiles/stone_soup_icon-win32.png > rm -f dat/tiles/*.ttf >} > >src_install() { > emake DESTDIR="${D}" install || die "Install failed" > keepdir "${GAMES_STATEDIR}/${PN}" > use sdl && make_desktop_entry "${PN}" "Dungeon Crawl Stone Soup" \ > "${GAMES_DATADIR}/${PN}/dat/tiles/stone_soup_icon-32x32.png" Game > prepgamesdirs > fperms 2770 "${GAMES_BINDIR}/${PN}" || die "fperms failed" > fperms 770 "${GAMES_STATEDIR}/${PN}" || die "fperms failed" >}
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 83217
:
52059
|
52060
|
52061
|
52062
|
52302
|
52303
|
58900
|
58901
|
58902
|
58903
|
58905
|
58906
|
68460
|
68461
|
68462
|
68463
|
68464
|
68465
|
105979
|
106632
|
106766
|
116369
|
182639
|
192290
|
192331
|
194950
|
195397
|
204397
| 212651 |
269113