diff options
author | Daniel Gryniewicz <dang@gentoo.org> | 2007-04-24 22:10:37 +0000 |
---|---|---|
committer | Daniel Gryniewicz <dang@gentoo.org> | 2007-04-24 22:10:37 +0000 |
commit | 917359faada0914d7de9d8ac35b39e34b46fe51b (patch) | |
tree | 0cdcb8a0fcfc28641268ae24104747b3b04566a0 /gnome-extra/gnome-games | |
parent | Initial ebuild, previously developed in java-experimental overlay and contrib... (diff) | |
download | gentoo-2-917359faada0914d7de9d8ac35b39e34b46fe51b.tar.gz gentoo-2-917359faada0914d7de9d8ac35b39e34b46fe51b.tar.bz2 gentoo-2-917359faada0914d7de9d8ac35b39e34b46fe51b.zip |
Bump to 2.18.1
This is a stable maintenance release of gnome-games. Several critical bugs have
been fixed in GNOME Sudoku and translations have been updated. Upgrading is highly
recommended.
(Portage version: 2.1.2.4)
Diffstat (limited to 'gnome-extra/gnome-games')
-rw-r--r-- | gnome-extra/gnome-games/ChangeLog | 10 | ||||
-rw-r--r-- | gnome-extra/gnome-games/files/digest-gnome-games-2.18.1 | 3 | ||||
-rw-r--r-- | gnome-extra/gnome-games/gnome-games-2.18.1.ebuild | 95 |
3 files changed, 107 insertions, 1 deletions
diff --git a/gnome-extra/gnome-games/ChangeLog b/gnome-extra/gnome-games/ChangeLog index 7a4bdeccc748..bd8798ec7475 100644 --- a/gnome-extra/gnome-games/ChangeLog +++ b/gnome-extra/gnome-games/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for gnome-extra/gnome-games # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.192 2007/04/23 19:48:38 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.193 2007/04/24 22:10:37 dang Exp $ + +*gnome-games-2.18.1 (24 Apr 2007) + + 24 Apr 2007; Daniel Gryniewicz <dang@gentoo.org> + +gnome-games-2.18.1.ebuild: + Bump to 2.18.1 This is a stable maintenance release of gnome-games. Several + critical bugs have been fixed in GNOME Sudoku and translations have been + updated. Upgrading is highly recommended. 23 Apr 2007; Sven Wegener <swegener@gentoo.org> gnome-games-2.16.2.ebuild, gnome-games-2.16.3.ebuild, gnome-games-2.18.0.ebuild: diff --git a/gnome-extra/gnome-games/files/digest-gnome-games-2.18.1 b/gnome-extra/gnome-games/files/digest-gnome-games-2.18.1 new file mode 100644 index 000000000000..a6325a28032a --- /dev/null +++ b/gnome-extra/gnome-games/files/digest-gnome-games-2.18.1 @@ -0,0 +1,3 @@ +MD5 b5479669347042c6354e5c0d2d9df2a0 gnome-games-2.18.1.tar.bz2 7218376 +RMD160 dc659d20cb33157c39a5b403ae1b5b0fcdb45d1b gnome-games-2.18.1.tar.bz2 7218376 +SHA256 83666d16e7bab2dc9b785024cdb1f032c61b12b024689ea917bcbc3fecbb7b1b gnome-games-2.18.1.tar.bz2 7218376 diff --git a/gnome-extra/gnome-games/gnome-games-2.18.1.ebuild b/gnome-extra/gnome-games/gnome-games-2.18.1.ebuild new file mode 100644 index 000000000000..7f275ea0c29e --- /dev/null +++ b/gnome-extra/gnome-games/gnome-games-2.18.1.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.18.1.ebuild,v 1.1 2007/04/24 22:10:37 dang Exp $ + +# make sure games is inherited first so that the gnome2 +# functions will be called if they are not overridden +inherit games eutils gnome2 autotools + +DESCRIPTION="Collection of games for the GNOME desktop" +HOMEPAGE="http://www.gnome.org/" + +LICENSE="GPL-2 FDL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="artworkextra guile opengl" + +RDEPEND=">=gnome-base/libgnomeui-2.16.0 + >=gnome-base/libgnome-2.16.0 + >=dev-python/pygtk-2.10 + >=dev-python/gnome-python-desktop-2.17.3 + >=x11-libs/gtk+-2.8 + >=gnome-base/gconf-2 + >=gnome-base/librsvg-2 + >=x11-libs/cairo-1 + >=dev-libs/libxml2-2.4.0 + >=gnome-base/libglade-2 + >=dev-libs/glib-2.6.3 + guile? ( >=dev-scheme/guile-1.6.5 ) + artworkextra? ( gnome-extra/gnome-games-extra-data ) + opengl? ( dev-python/pygtkglext ) + !games-board/glchess" + +DEPEND="${RDEPEND} + >=sys-devel/autoconf-2.53 + >=dev-util/pkgconfig-0.9 + >=dev-util/intltool-0.35 + >=sys-devel/gettext-0.10.40 + >=gnome-base/gnome-common-2.12.0 + >=app-text/scrollkeeper-0.3.8" + +# Others are installed below; multiples in this package. +DOCS="HACKING MAINTAINERS" + + +pkg_setup() { + # create the games user / group + games_pkg_setup + + G2CONF="--with-scores-group=${GAMES_GROUP} \ + $(use_enable guile)" + + if use guile; then + if has_version =dev-scheme/guile-1.8*; then + local flags="deprecated regex" + built_with_use dev-scheme/guile ${flags} || die "guile must be built with \"${flags}\" use flags" + fi + fi +} + +src_unpack() { + gnome2_src_unpack + + # Resolve symbols at execution time in setgid binaries + epatch ${FILESDIR}/${PN}-2.14.0-no_lazy_bindings.patch + + # Implement --enable-guile switch + epatch ${FILESDIR}/${PN}-2.17.92-guile-switch.patch + + AT_M4DIR="./m4" eautoreconf +} + +src_install() { + gnome2_src_install + + # Documentation install for each of the games + for game in \ + $(find . -maxdepth 1 -type d ! -name po ! -name libgames-support); do + docinto ${game} + for doc in AUTHORS ChangeLog NEWS README TODO; do + [ -s ${game}/${doc} ] && dodoc ${game}/${doc} + done + done +} + +pkg_preinst() { + # Avoid overwriting previous .scores files + local basefile + for scorefile in ${D}/var/lib/games/*.scores; do + basefile=$(basename $scorefile) + if [ -s "${ROOT}/var/lib/games/${basefile}" ]; then + cp "${ROOT}/var/lib/games/${basefile}" \ + "${D}/var/lib/games/${basefile}" + fi + done +} |