From: "Gilles Dartiguelongue" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-games/
Date: Wed, 12 Feb 2014 20:58:50 +0000 (UTC) [thread overview]
Message-ID: <1392238684.01a29f1b367e5fffde58a9ca31b9eea72cde9390.eva@gentoo> (raw)
commit: 01a29f1b367e5fffde58a9ca31b9eea72cde9390
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 12 20:56:28 2014 +0000
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Wed Feb 12 20:58:04 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=01a29f1b
gnome-extra/gnome-games: package was split upstream, no code here anymore, removing
---
| 198 ------------------------
| 14 --
2 files changed, 212 deletions(-)
diff --git a/gnome-extra/gnome-games/gnome-games-9999.ebuild b/gnome-extra/gnome-games/gnome-games-9999.ebuild
deleted file mode 100644
index b3a4e57..0000000
--- a/gnome-extra/gnome-games/gnome-games-9999.ebuild
+++ /dev/null
@@ -1,198 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="5"
-GCONF_DEBUG="no"
-GNOME2_LA_PUNT="yes"
-PYTHON_COMPAT=( python2_{6,7} )
-PYTHON_REQ_USE="xml"
-
-# Make sure games is inherited first so that the gnome2
-# functions will be called if they are not overridden
-inherit games gnome2 python-r1 virtualx
-if [[ ${PV} = 9999 ]]; then
- inherit gnome2-live
-fi
-
-DESCRIPTION="Collection of games for the GNOME desktop"
-HOMEPAGE="http://live.gnome.org/GnomeGames/"
-
-LICENSE="GPL-2 GPL-3 FDL-1.1"
-SLOT="0"
-# TODO: file KEYWORDREQ bug once it's determined that seed is usable
-if [[ ${PV} = 9999 ]]; then
- KEYWORDS=""
-else
- KEYWORDS="~amd64 ~mips ~x86"
-fi
-# FIXME: we should decide whether to have USE flag for games or features
-# IUSE="artworkextra clutter opengl python test"
-# vs
-# IUSE="artworkextra aisleriot glchess quadrapassel swell-foop lightsoff gnibbles sudoku"
-IUSE="artworkextra +aisleriot +clutter +glchess +sudoku test"
-
-COMMON_DEPEND="
- >=dev-libs/glib-2.25.7
- >=gnome-base/librsvg-2.32
- >=x11-libs/cairo-1.10
- >=x11-libs/gtk+-3.3.11:3[introspection]
-
- >=media-libs/libcanberra-0.26[gtk3]
-
- artworkextra? ( >=gnome-extra/gnome-games-extra-data-3 )
- clutter? (
- media-libs/clutter:1.0[introspection]
- >=media-libs/clutter-gtk-0.91.6:1.0 )
- glchess? (
- dev-db/sqlite:3
- virtual/glu
- virtual/opengl
- x11-libs/libX11 )
- sudoku? ( dev-libs/gobject-introspection )
-"
-RDEPEND="${COMMON_DEPEND}
- sudoku? (
- ${PYTHON_DEPS}
- dev-python/pycairo
- dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
- x11-libs/gdk-pixbuf:2[introspection]
- x11-libs/pango[introspection]
- >=x11-libs/gtk+-3:3[introspection] )
-
- !<gnome-extra/gnome-games-extra-data-3
-"
-DEPEND="${COMMON_DEPEND}
- >=dev-util/intltool-0.40.4
- dev-util/itstool
- >=sys-devel/gettext-0.10.40
- virtual/pkgconfig
-"
-
-if [[ ${PV} = 9999 ]]; then
- DEPEND="${COMMON_DEPEND}
- app-text/yelp-tools
- >=dev-lang/vala-0.15.1:0.16"
-fi
-
-# For compatibility with older versions of the gnome-games package
-PDEPEND="aisleriot? ( games-board/aisleriot )"
-
-# Others are installed below; multiples in this package.
-DOCS="AUTHORS HACKING MAINTAINERS TODO"
-
-_omitgame() {
- G2CONF="${G2CONF},${1}"
-}
-
-pkg_setup() {
- # create the games user / group
- games_pkg_setup
- python_pkg_setup
-}
-
-src_prepare() {
- gnome2_src_prepare
- if use sudoku ; then
- python_copy_sources
- fi
-}
-
-src_configure() {
- G2CONF="${G2CONF}
- --disable-static
- VALAC=$(type -P true)
- --with-platform=gnome
- --with-scores-group=${GAMES_GROUP}
- --enable-omitgames=none" # This line should be last for _omitgame
-
- # FIXME: Use REQUIRED_USE once games.eclass is ported to EAPI 4
- if ! use clutter; then
- ewarn "USE='-clutter' => quadrapassel, swell-foop, lightsoff, gnibbles won't be installed"
- _omitgame quadrapassel
- _omitgame gnibbles
- _omitgame swell-foop
- _omitgame lightsoff
- fi
-
- if ! use glchess; then
- _omitgame glchess
- fi
-
- if ! use sudoku; then
- _omitgame gnome-sudoku
- fi
-
- [[ ${PV} != 9999 ]] && G2CONF="${G2CONF} ITSTOOL=$(type -P true)"
-
- if use sudoku ; then
- python_foreach_impl run_in_build_dir gnome2_src_configure
- else
- gnome2_src_configure
- fi
-}
-
-src_compile() {
- if use sudoku ; then
- python_foreach_impl run_in_build_dir gnome2_src_compile
- else
- gnome2_src_compile
- fi
-}
-
-src_test() {
- if use sudoku ; then
- python_foreach_impl run_in_build_dir Xemake check
- else
- Xemake check || die "tests failed"
- fi
-}
-
-src_install() {
- if use sudoku ; then
- install_python() {
- gnome2_src_install
- python_doscript gnome-sudoku/src/gnome-sudoku
- }
- python_foreach_impl run_in_build_dir install_python
- else
- gnome2_src_install
- fi
-
- # 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() {
- gnome2_pkg_preinst
- # Avoid overwriting previous .scores files
- local basefile
- for scorefile in "${ED}"/var/lib/games/*.scores; do
- basefile=$(basename $scorefile)
- if [ -s "${EROOT}/var/lib/games/${basefile}" ]; then
- cp "${EROOT}/var/lib/games/${basefile}" \
- "${ED}/var/lib/games/${basefile}"
- fi
- done
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_pkg_postinst
-}
-
-pkg_postrm() {
- gnome2_pkg_postrm
-}
-
-run_in_build_dir() {
- pushd "${BUILD_DIR}" > /dev/null || die
- "$@"
- popd > /dev/null
-}
diff --git a/gnome-extra/gnome-games/metadata.xml b/gnome-extra/gnome-games/metadata.xml
deleted file mode 100644
index 149899a..0000000
--- a/gnome-extra/gnome-games/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>gnome</herd>
- <use>
- <flag name="aisleriot">Install the card game Aisleriot (Solitaire)</flag>
- <flag name="artworkextra">Installs extra artwork for various games</flag>
- <flag name="clutter">Install games that use <pkg>media-libs/clutter</pkg></flag>
- <flag name="glchess">Install Chess written in <pkg>dev-lang/vala</pkg> and
- OpenGL</flag>
- <flag name="sudoku">Install the game Sudoku which uses
- <pkg>dev-python/pygobject</pkg> and introspection</flag>
- </use>
-</pkgmetadata>
next reply other threads:[~2014-02-12 20:59 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-12 20:58 Gilles Dartiguelongue [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-12-25 21:34 [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-games/ Gilles Dartiguelongue
2012-11-24 17:51 Gilles Dartiguelongue
2012-05-24 9:12 Alexandre Restovtsev
2012-04-08 16:23 Alexandre Restovtsev
2012-03-26 8:20 Nirbheek Chauhan
2011-10-28 2:23 Alexandre Restovtsev
2011-05-30 17:11 Nirbheek Chauhan
2011-04-20 14:41 Nirbheek Chauhan
2011-04-19 8:50 Nirbheek Chauhan
2011-04-05 11:04 Nirbheek Chauhan
2011-04-05 10:03 Nirbheek Chauhan
2011-04-05 0:57 Nirbheek Chauhan
2011-03-26 1:58 Nirbheek Chauhan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1392238684.01a29f1b367e5fffde58a9ca31b9eea72cde9390.eva@gentoo \
--to=eva@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox