diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2008-07-23 17:35:42 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2008-07-23 17:35:42 +0000 |
commit | 4b74573f257245dc0592efcc799382c010210218 (patch) | |
tree | f54fb9c70e0aa526556b15c314fb781b69e7a12e /games-strategy/wesnoth | |
parent | Added dev-db/unixODBC as a possible odbc implementation and changed use flag ... (diff) | |
download | historical-4b74573f257245dc0592efcc799382c010210218.tar.gz historical-4b74573f257245dc0592efcc799382c010210218.tar.bz2 historical-4b74573f257245dc0592efcc799382c010210218.zip |
version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-strategy/wesnoth')
-rw-r--r-- | games-strategy/wesnoth/ChangeLog | 8 | ||||
-rw-r--r-- | games-strategy/wesnoth/Manifest | 4 | ||||
-rw-r--r-- | games-strategy/wesnoth/wesnoth-1.4.4.ebuild | 116 |
3 files changed, 126 insertions, 2 deletions
diff --git a/games-strategy/wesnoth/ChangeLog b/games-strategy/wesnoth/ChangeLog index 2c2da60e02c1..775c0db0a128 100644 --- a/games-strategy/wesnoth/ChangeLog +++ b/games-strategy/wesnoth/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-strategy/wesnoth # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.126 2008/06/08 19:06:46 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.127 2008/07/23 17:35:42 mr_bones_ Exp $ + +*wesnoth-1.4.4 (23 Jul 2008) + + 23 Jul 2008; Michael Sterrett <mr_bones_@gentoo.org> + +wesnoth-1.4.4.ebuild: + version bump *wesnoth-1.4.3 (08 Jun 2008) diff --git a/games-strategy/wesnoth/Manifest b/games-strategy/wesnoth/Manifest index b44c55140407..77fc16bc6ec7 100644 --- a/games-strategy/wesnoth/Manifest +++ b/games-strategy/wesnoth/Manifest @@ -2,8 +2,10 @@ AUX wesnothd.rc 619 RMD160 b3d7a303f27ce3cc1886fd7791ab58f58356ac39 SHA1 8ba6dad DIST wesnoth-1.2.8.tar.bz2 73123148 RMD160 f085684005dc02d4fbe7802bdb0844a5a531a5c4 SHA1 da02b2bf952d4e309e47ce332930c1509e9a4d2e SHA256 6abc75fbb28a2d506a4d152cf79703f3920a8d1021bab32b1583b004c2ab298c DIST wesnoth-1.4.2.tar.bz2 150078162 RMD160 3769d0ebd6d4cabfbe5429515e12263a2100b6eb SHA1 8dca4b1cb06ccc87a2bfbe6deeb632e2bcfe5740 SHA256 b9ad502eee93c3f9b9be68f215a267caf27a07f4b9b51e6dda67cc5dbb317079 DIST wesnoth-1.4.3.tar.bz2 151650007 RMD160 24d1c50b9d40453fc0c80e2250cc88afcbe98ae5 SHA1 e26fb7e569a536b5c3bafe5cf7846a4955297d91 SHA256 aeb18f635b5e9f64df0537351fde1a96040f9e52319413c5abf16c48be3df013 +DIST wesnoth-1.4.4.tar.bz2 152425432 RMD160 d32161d67002dc12197a6a8667dfb734bb208157 SHA1 c903160cdf1ecbfef6e668772ad5fe15f599ac7d SHA256 77cff07ed8e5cef314c347381e8a2b4bfd7e8b1c22a609d0b1035e48583a9eb4 EBUILD wesnoth-1.2.8.ebuild 2813 RMD160 41c7564c0a48778ec694af56bd4921006beb6d08 SHA1 84b569f9c08a74433dd2c3e2b2712f3ce985ca73 SHA256 1e60e367ba5c92f5f08e7d07067ffbfe4f6fddff2b0cec76c7e3dc760fb6e337 EBUILD wesnoth-1.4.2.ebuild 3235 RMD160 9014e822200448e935b401fef25387e7fdc0c9ed SHA1 e0bbd928addd5090e0ffe69a5286b42352157186 SHA256 f2b256cf2d1b729e0cdd6f4b5bcf09da58a4dbb1f2fb61fec8b75316d5509d60 EBUILD wesnoth-1.4.3.ebuild 3242 RMD160 2b59c09e9dfb98b58f198f33b97c32608d75dcf7 SHA1 d50d643ad11a7690243c0f247ae2a7eba9d4aa80 SHA256 d9844e9db888ef7fd53b750ee318e9b52126d06d3401b58b5474ed4e097af9a0 -MISC ChangeLog 16543 RMD160 52c0c60c816d7bc962779d4513868df915893af9 SHA1 71d37202f015d9bc3ef2a0a554833e8b3c4b3ab7 SHA256 7e5e35ca6fcbf793d67f46049e5d1a09a5340fedaf1c3c39d457a65ecfb80867 +EBUILD wesnoth-1.4.4.ebuild 3242 RMD160 d602a8a0c2a2925cccb6caafc8fc4c9963121200 SHA1 f723a6e3f9c9c0c6dba67602289abcd94b372638 SHA256 a30382c67abaf09b1bfa640a1b7602e448a88b5e318a85eaff1203573dd90a9d +MISC ChangeLog 16669 RMD160 df8e5fffda724907804513a9a0fedc664eec8fa1 SHA1 bf5c7e6fc19a582890688b907db4504253b030ac SHA256 34951c1f19ad9647c797259f365273af94876d1118c0329e96ba11fac437d8e3 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-strategy/wesnoth/wesnoth-1.4.4.ebuild b/games-strategy/wesnoth/wesnoth-1.4.4.ebuild new file mode 100644 index 000000000000..3dd733df030f --- /dev/null +++ b/games-strategy/wesnoth/wesnoth-1.4.4.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.4.4.ebuild,v 1.1 2008/07/23 17:35:42 mr_bones_ Exp $ + +inherit eutils toolchain-funcs flag-o-matic games + +MY_PV=${PV/_/} +DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game" +HOMEPAGE="http://www.wesnoth.org/" +SRC_URI="mirror://sourceforge/wesnoth/${PN}-${MY_PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="dedicated editor lite nls server static tools" + +RDEPEND=">=media-libs/libsdl-1.2.7 + media-libs/sdl-net + dev-libs/boost + !dedicated? ( + x11-libs/libX11 + >=media-libs/sdl-mixer-1.2 + >=media-libs/sdl-image-1.2 + dev-lang/python + >=media-libs/freetype-2 ) + nls? ( virtual/libintl )" +# the configure script is broken and checks for freetype even if +# it won't be used. until it's either patched out or upstream fixes +# it, just make it a DEPEND. +# reported by Miika Linnapuomi +DEPEND="${RDEPEND} + dedicated? ( + >=media-libs/sdl-mixer-1.2 + >=media-libs/sdl-image-1.2 + >=media-libs/freetype-2 ) + nls? ( sys-devel/gettext )" + +S=${WORKDIR}/${PN}-${MY_PV} + +pkg_setup() { + if ! built_with_use media-libs/sdl-mixer vorbis ; then + die "Please emerge media-libs/sdl-mixer with USE=vorbis" + fi + if ! built_with_use media-libs/sdl-image png ; then + die "Please emerge media-libs/sdl-image with USE=png" + fi + # dedicated also needs USE=X for libsdl: bug #222033 + if ! built_with_use media-libs/libsdl X ; then + die "Please emerge media-libs/libsdl with USE=X" + fi + games_pkg_setup +} + +src_unpack() { + unpack ${A} + if use dedicated || use server ; then + sed \ + -e "s:GAMES_BINDIR:${GAMES_BINDIR}:" \ + -e "s:GAMES_STATEDIR:${GAMES_STATEDIR}:" \ + -e "s/GAMES_USER_DED/${GAMES_USER_DED}/" \ + -e "s/GAMES_GROUP/${GAMES_GROUP}/" "${FILESDIR}"/wesnothd.rc \ + > "${T}"/wesnothd \ + || die "sed failed" + fi + if ! use nls ; then + cd "${S}" + sed -i \ + -e '/^MAN_LANG/d' \ + doc/man/Makefile.in \ + || die "sed failed" + fi +} + +src_compile() { + local myconf + + filter-flags -ftracer -fomit-frame-pointer + if [[ $(gcc-major-version) -eq 3 ]] ; then + filter-flags -fstack-protector + append-flags -fno-stack-protector + fi + if use dedicated || use server ; then + myconf="${myconf} --enable-server" + myconf="${myconf} --enable-campaign-server" + myconf="${myconf} --with-server-uid=${GAMES_USER_DED}" + myconf="${myconf} --with-server-gid=${GAMES_GROUP}" + fi + egamesconf \ + --disable-dependency-tracking \ + --without-fribidi \ + --with-localedir=/usr/share/locale \ + --with-icondir=/usr/share/icons \ + --with-desktopdir=/usr/share/applications \ + --docdir=/usr/share/doc/${PF} \ + --enable-python-install \ + $(use_enable lite) \ + $(use_enable static) \ + $(use_enable editor) \ + $(use_enable tools) \ + $(use_enable nls) \ + $(use_enable nls dummy-locales) \ + $(use_enable !dedicated game) \ + ${myconf} \ + || die + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc changelog + if use dedicated || use server; then + keepdir "${GAMES_STATEDIR}/run/wesnothd" + doinitd "${T}"/wesnothd || die "doinitd failed" + fi + prepgamesdirs +} |