diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-09-29 22:07:33 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-09-29 22:07:33 +0000 |
commit | 3e8e605a3156920d54f1e161711abbccf144d010 (patch) | |
tree | 6578f337f40c136ba5d0e4c917592b7b417be744 /games-board/ace | |
parent | Respect LDFLAGS. Bug #338504 (diff) | |
download | gentoo-2-3e8e605a3156920d54f1e161711abbccf144d010.tar.gz gentoo-2-3e8e605a3156920d54f1e161711abbccf144d010.tar.bz2 gentoo-2-3e8e605a3156920d54f1e161711abbccf144d010.zip |
version bump
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-board/ace')
-rw-r--r-- | games-board/ace/ChangeLog | 10 | ||||
-rw-r--r-- | games-board/ace/ace-1.3.ebuild | 46 | ||||
-rw-r--r-- | games-board/ace/files/ace-1.3-no-xpm.patch | 24 |
3 files changed, 78 insertions, 2 deletions
diff --git a/games-board/ace/ChangeLog b/games-board/ace/ChangeLog index 45d0409fca24..5668301acec7 100644 --- a/games-board/ace/ChangeLog +++ b/games-board/ace/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-board/ace -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/ace/ChangeLog,v 1.18 2009/02/03 08:27:18 tupone Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/ace/ChangeLog,v 1.19 2010/09/29 22:07:33 mr_bones_ Exp $ + +*ace-1.3 (29 Sep 2010) + + 29 Sep 2010; Michael Sterrett <mr_bones_@gentoo.org> +ace-1.3.ebuild, + +files/ace-1.3-no-xpm.patch: + version bump 03 Feb 2009; Alfredo Tupone <tupone@gentoo.org> +files/ace-1.2-as-needed.patch, ace-1.2-r2.ebuild: diff --git a/games-board/ace/ace-1.3.ebuild b/games-board/ace/ace-1.3.ebuild new file mode 100644 index 000000000000..d52f861b1f53 --- /dev/null +++ b/games-board/ace/ace-1.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/ace/ace-1.3.ebuild,v 1.1 2010/09/29 22:07:33 mr_bones_ Exp $ + +EAPI=2 +inherit eutils games + +DESCRIPTION="DJ Delorie's Ace of Penguins solitaire games" +HOMEPAGE="http://www.delorie.com/store/ace/" +SRC_URI="http://www.delorie.com/store/ace/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + media-libs/libpng" +DEPEND="${RDEPEND} + x11-proto/xproto" + +src_prepare() { + epatch "${FILESDIR}"/${P}-no-xpm.patch +} + +src_configure() { + egamesconf \ + --disable-dependency-tracking \ + --disable-static \ + --program-prefix=ace- +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README + dohtml docs/* + newicon docs/as.gif ${PN}.gif + cd "${D}${GAMES_BINDIR}" && { + local p + for p in * + do + make_desktop_entry $p "Ace ${p/ace-/}" /usr/share/pixmaps/${PN}.gif + done + } + prepgamesdirs +} diff --git a/games-board/ace/files/ace-1.3-no-xpm.patch b/games-board/ace/files/ace-1.3-no-xpm.patch new file mode 100644 index 000000000000..25b06754be42 --- /dev/null +++ b/games-board/ace/files/ace-1.3-no-xpm.patch @@ -0,0 +1,24 @@ +--- lib/table.c.orig 2008-01-15 15:05:27.000000000 -0500 ++++ lib/table.c 2010-09-29 17:34:40.925310980 -0400 +@@ -23,7 +23,6 @@ + #include <X11/Xutil.h> + #include <X11/keysym.h> + #include <X11/Xatom.h> +-#include <X11/xpm.h> + + #define CD printf("%d: %d %d %d %d\n", __LINE__, ex, ey, ew, eh) + #undef CD +@@ -165,13 +164,6 @@ + xwin_create (width, height); + } + +-typedef struct PicRec { +- Pixmap pixmap; +- Pixmap mask; +- char **xpm_data; +- int image_table_index; +-} PicRec; +- + int get_picture_default_width = CARD_WIDTH; + int get_picture_default_height = CARD_HEIGHT; + |