Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 257194 Details for
Bug 348758
games-strategy/attal-1.0_rc2: version bump request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
diff -u attal-0.10.1.ebuild attal-1.0_rc2.ebuild
attal-1.0_rc2.patch (text/plain), 3.15 KB, created by
Martin Walch
on 2010-12-15 00:15:42 UTC
(
hide
)
Description:
diff -u attal-0.10.1.ebuild attal-1.0_rc2.ebuild
Filename:
MIME Type:
Creator:
Martin Walch
Created:
2010-12-15 00:15:42 UTC
Size:
3.15 KB
patch
obsolete
>--- attal-0.10.1.ebuild 2010-12-15 00:52:48.000000000 +0100 >+++ attal-1.0_rc2.ebuild 2010-12-15 01:03:22.000000000 +0100 >@@ -1,20 +1,22 @@ >-# Copyright 1999-2009 Gentoo Foundation >+# Copyright 1999-2010 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.10.1.ebuild,v 1.8 2009/06/01 16:17:22 nixnut Exp $ > >-EAPI=2 >-inherit eutils qt4 games >+EAPI="2" > >-MY_P="${PN}-src-${PV}" >+inherit eutils games qt4 >+ >+MY_PV="${PV/_rc/-rc}" >+MY_P="${PN}-src-${MY_PV}" > DESCRIPTION="turn-based strategy game project" >-HOMEPAGE="http://www.attal-thegame.org/" >+HOMEPAGE="http://sourceforge.net/projects/attal/" > SRC_URI="mirror://sourceforge/attal/${MY_P}.tar.bz2 >- mirror://sourceforge/attal/themes-${PV}.tar.bz2" >+ mirror://sourceforge/attal/themes-${MY_PV}.tar.bz2" > > LICENSE="GPL-2" > SLOT="0" >-KEYWORDS="~amd64 ppc x86" >-IUSE="" >+KEYWORDS="~amd64 ~ppc ~x86" >+IUSE="nls" > > DEPEND="x11-libs/qt-gui:4 > x11-libs/qt-sql:4 >@@ -24,39 +26,58 @@ > > S=${WORKDIR}/${MY_P} > >+src_unpack() { >+ unpack ${MY_P}.tar.bz2 >+ cd ${S} >+ unpack themes-${MY_PV}.tar.bz2 >+} >+ > src_prepare() { >- mv ../themes . >+ local i > ecvs_clean >- epatch \ >- "${FILESDIR}"/${P}-gcc41.patch \ >- "${FILESDIR}"/${P}-gentoo.patch >- sed -i \ >- -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ >- libCommon/displayHelp.cpp \ >- libCommon/attalCommon.cpp \ >- server/duel.cpp \ >- || die "sed failed" >+ sed -i s/"\(target.path = \).*"/"\1\$\${ATT_TRANSL_PREFIX}"/1 i18n/i18n.pro >+ for i in ai/ai.pro \ >+ campaignEditor/campaignEditor.pro \ >+ client/client.pro \ >+ scenarioEditor/scenarioEditor.pro \ >+ server/server.pro \ >+ themeEditor/themeEditor.pro; do >+ sed -i s/"\(QMAKE_LFLAGS += \)-Wl,-rpath,."/"\1"/1 "${i}" >+ done > } > > src_configure() { >+ local MY_ROOT=${ROOT%/} >+ cat - config.pro >config.pro.new <<EOF >+ ATT_PREFIX="${GAMES_PREFIX}" >+ ATT_LIB_PREFIX="$(games_get_libdir)" >+ ATT_DOCS_PREFIX="${GAMES_DATADIR_BASE}/doc/${P}/html" >+ ATT_THEMES_PREFIX="${GAMES_DATADIR}/${P}/themes" >+ ATT_TRANSL_PREFIX="${GAMES_DATADIR}/${P}/translations" >+EOF >+ >+ mv config.pro.new config.pro > eqmake4 Makefile.pro > } > > src_compile() { >- local d >- >- for d in Common Client Fight Server >- do >- emake sub-lib$d || die "emake failed" >- done >- emake || die "emake failed" >+ emake sub-libCommon sub-themes || die "emake failed (first step)" >+ emake sub-libClient sub-libServer|| die "emake failed (second step)" >+ emake sub-libAi sub-libFight sub-themeEditor sub-campaignEditor \ >+ sub-scenarioEditor || die "emake failed (third step)" >+ emake sub-server sub-ai sub-client || die "emake failed (fourth step)" >+ if (use nls); then >+ cd i18n >+ echo "TRANSLATIONS +=" */*.ts > translations.pro >+ lrelease translations.pro >+ cd .. >+ emake sub-i18n || die "emake nls failed" >+ fi > } > > src_install() { >- dogamesbin attal-* || die "dogamesbin failed" >- dogameslib.so lib*.so* || die "dogameslib.so failed" >- insinto "${GAMES_DATADIR}"/${PN} >- doins -r themes HOWTOPLAY.html || die "doins failed" >- dodoc AUTHORS NEWS README TODO >+ emake INSTALL_ROOT="${D}" install || die "emake install failed" >+ dohtml HOWTOPLAY.html >+ dodoc AUTHORS NEWS README TODO docs/* > 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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 348758
:
257194
|
302529