Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 200359 Details for
Bug 279781
games-strategy/fheroes2: new package request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Unfinished ebuild
fheroes2-0_p1140.ebuild (text/plain), 2.25 KB, created by
Michał Górny
on 2009-08-06 10:05:24 UTC
(
hide
)
Description:
Unfinished ebuild
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2009-08-06 10:05:24 UTC
Size:
2.25 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > ># *BIG FAT WARNING* ># This ebuild is unfinished. It still needs a lot of hard work and polishing ># to get this thing installed and working. If you want to work on it, you may ># use it as a good base. If you want just to play the game, you'd better ># download and compile it yourself. > ># I've left few XXX-es below to note what still needs to be done. But I didn't ># even try running this thing and upstream doesn't provide any instructions, ># so that's mostly assumptions. Real ebuild may require much more work. You'd ># need to develop fheroes2-data ebuild installing data from original CD. > >EAPI="2" > >inherit games versionator > >MY_REV=$(get_version_component_range $(get_version_component_count)) >MY_P=${PN}-src-r${MY_REV#p} > >DESCRIPTION="SDL-based implementation of Heroes of Might and Magic 2 engine" >HOMEPAGE="http://sourceforge.net/projects/fheroes2/" >SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="" >IUSE="mixer network png unicode" > >DEPEND="media-libs/libsdl > mixer? ( media-libs/sdl-mixer[vorbis] ) > network? ( media-libs/sdl-net ) > png? ( media-libs/sdl-image[png] ) > unicode? ( media-libs/sdl-ttf ) > virtual/libintl" >RDEPEND="${DEPEND} > games-strategy/fheroes2-data" > >S=${WORKDIR}/fheroes-src > >src_prepare() { > # XXX: patch the sources to get them FHS-friendly > # XXX: prepare correct .cfg file > : >} > >usew() { > use $1 || echo -n WITHOUT_$(echo ${2:-1} | tr a-z A-Z)=1 >} > >src_compile() { > local dir > > emake $(usew mixer) $(usew network) $(usew png image) $(usew unicode) \ > RELEASE=1 || die "emake failed." > > # compile l10n, XXX: support LINGUAs > for dir in files/lang/*/LC_MESSAGES; do > emake -C ${dir} > done >} > >src_install() { > dogamesbin fheroes2 || die "dogamesbin failed." > > # install l10n > # XXX: it doesn't work, reimplement > # XXX: support LINGUAs > gameswrapper domo files/lang/*/LC_MESSAGES/fheroes2.mo \ > || die "domo failed." > > # XXX: determine what files should be installed too and install them > # XXX: install prepared .cfg file > > dodoc AUTHORS changelog.txt README || die "dodoc failed." > newdoc files/music/README music-README || die "newdoc failed." > newdoc files/cache/README cache-README || die "newdoc 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 279781
: 200359 |
385744
|
385746
|
385748