public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog gnome-games.eclass
@ 2013-06-30 10:52 Pacho Ramos (pacho)
  0 siblings, 0 replies; 2+ messages in thread
From: Pacho Ramos (pacho) @ 2013-06-30 10:52 UTC (permalink / raw
  To: gentoo-commits

pacho       13/06/30 10:52:44

  Modified:             ChangeLog
  Added:                gnome-games.eclass
  Log:
  Add eclass to be used by all now splitted gnome-games

Revision  Changes    Path
1.868                eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.868&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.868&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.867&r2=1.868

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.867
retrieving revision 1.868
diff -u -r1.867 -r1.868
--- ChangeLog	29 Jun 2013 08:17:06 -0000	1.867
+++ ChangeLog	30 Jun 2013 10:52:44 -0000	1.868
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.867 2013/06/29 08:17:06 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.868 2013/06/30 10:52:44 pacho Exp $
+
+  30 Jun 2013; Pacho Ramos <pacho@gentoo.org> +gnome-games.eclass:
+  Add eclass to be used by all now splitted gnome-games
 
   29 Jun 2013; Michał Górny <mgorny@gentoo.org> autotools-utils.eclass:
   Respect arguments when checking for test targets. This becomes helpful if one



1.1                  eclass/gnome-games.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gnome-games.eclass?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gnome-games.eclass?rev=1.1&content-type=text/plain

Index: gnome-games.eclass
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/gnome-games.eclass,v 1.1 2013/06/30 10:52:44 pacho Exp $

# @ECLASS: gnome-games
# @MAINTAINER:
# Gnome team <gnome@gentoo.org>
# @AUTHOR:
# Author: Pacho Ramos <pacho@gentoo.org>
# @BLURB: An eclass to build gnome-games.
# @DESCRIPTION:
# An eclass to build gnome-games using proper phases from gnome2 and
# games eclasses.

case "${EAPI:-0}" in
	0|1)
		die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
		;;
	2|3|4|5)
		;;
	*)
		die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
		;;
esac

inherit autotools games gnome2

EXPORT_FUNCTIONS pkg_setup src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm

if [[ ! ${_GNOME_GAMES} ]]; then

DEPEND=">=dev-util/intltool-0.50.2-r1"
RDEPEND="!gnome-extra/gnome-games"

# @FUNCTION: gnome-games_pkg_setup
# @DESCRIPTION:
# Set proper phase defaults
gnome-games_pkg_setup() {
	debug-print-function ${FUNCNAME} "${@}"
	games_pkg_setup
}

# @FUNCTION: gnome-games_src_prepare
# @DESCRIPTION:
# Set proper phase defaults
gnome-games_src_prepare() {
	debug-print-function ${FUNCNAME} "${@}"

	# Fix intltoolize broken file:
	# https://bugs.launchpad.net/intltool/+bug/398571
        intltoolize --force --copy --automake || die "intltoolize failed"
        eautoreconf
        
	gnome2_src_prepare
}

# @FUNCTION: gnome-games_src_configure
# @DESCRIPTION:
# Set proper phase defaults, relying on gnome2_src_configure
# and passing extra arguments from egamesconf (games.eclass)
gnome-games_src_configure() {
	debug-print-function ${FUNCNAME} "${@}"
	gnome2_src_configure \
	        --prefix="${GAMES_PREFIX}" \
		--libdir="$(games_get_libdir)" \
		--sysconfdir="${GAMES_SYSCONFDIR}" \
                --localstatedir=/var \
		--localedir=/usr/share/locale \
		"$@"
}

# @FUNCTION: gnome-games_src_compile
# @DESCRIPTION:
# Set proper phase defaults
gnome-games_src_compile() {
	debug-print-function ${FUNCNAME} "${@}"
	gnome2_src_compile
}

# @FUNCTION: gnome-games_src_install
# @DESCRIPTION:
# Set proper phase defaults
gnome-games_src_install() {
	debug-print-function ${FUNCNAME} "${@}"
	gnome2_src_install
	prepgamesdirs
}

# @FUNCTION: gnome-games_pkg_preinst
# @DESCRIPTION:
# Set proper phase defaults
gnome-games_pkg_preinst() {
	debug-print-function ${FUNCNAME} "${@}"
	gnome2_pkg_preinst
	games_pkg_preinst
}

# @FUNCTION: gnome-games_pkg_preinst
# @DESCRIPTION:
# Set proper phase defaults
gnome-games_pkg_postinst() {
	debug-print-function ${FUNCNAME} "${@}"
        gnome2_pkg_postinst
	games_pkg_postinst
}

# @FUNCTION: gnome-games_pkg_postrm
# @DESCRIPTION:
# Set proper phase defaults
gnome-games_pkg_postrm() {
	debug-print-function ${FUNCNAME} "${@}"
        gnome2_pkg_postrm
}

_GNOME_GAMES=1
fi





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog gnome-games.eclass
@ 2013-08-25 18:12 Gilles Dartiguelongue (eva)
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Dartiguelongue (eva) @ 2013-08-25 18:12 UTC (permalink / raw
  To: gentoo-commits

eva         13/08/25 18:12:24

  Modified:             ChangeLog gnome-games.eclass
  Log:
  Fix indentation and trailing whitespaces.

Revision  Changes    Path
1.933                eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.933&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.933&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.932&r2=1.933

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.932
retrieving revision 1.933
diff -u -r1.932 -r1.933
--- ChangeLog	21 Aug 2013 19:08:18 -0000	1.932
+++ ChangeLog	25 Aug 2013 18:12:24 -0000	1.933
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.932 2013/08/21 19:08:18 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.933 2013/08/25 18:12:24 eva Exp $
+
+  25 Aug 2013; Gilles Dartiguelongue <eva@gentoo.org> gnome-games.eclass:
+  Fix indentation and trailing whitespaces.
 
   21 Aug 2013; Michael Palimaka <kensington@gentoo.org> kde4-meta.eclass:
   Improve automagic dependency reduction, fixing bug #481996.



1.2                  eclass/gnome-games.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gnome-games.eclass?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gnome-games.eclass?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gnome-games.eclass?r1=1.1&r2=1.2

Index: gnome-games.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/gnome-games.eclass,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gnome-games.eclass	30 Jun 2013 10:52:44 -0000	1.1
+++ gnome-games.eclass	25 Aug 2013 18:12:24 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnome-games.eclass,v 1.1 2013/06/30 10:52:44 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome-games.eclass,v 1.2 2013/08/25 18:12:24 eva Exp $
 
 # @ECLASS: gnome-games
 # @MAINTAINER:
@@ -48,9 +48,9 @@
 
 	# Fix intltoolize broken file:
 	# https://bugs.launchpad.net/intltool/+bug/398571
-        intltoolize --force --copy --automake || die "intltoolize failed"
-        eautoreconf
-        
+	intltoolize --force --copy --automake || die "intltoolize failed"
+	eautoreconf
+
 	gnome2_src_prepare
 }
 
@@ -61,10 +61,10 @@
 gnome-games_src_configure() {
 	debug-print-function ${FUNCNAME} "${@}"
 	gnome2_src_configure \
-	        --prefix="${GAMES_PREFIX}" \
+		--prefix="${GAMES_PREFIX}" \
 		--libdir="$(games_get_libdir)" \
 		--sysconfdir="${GAMES_SYSCONFDIR}" \
-                --localstatedir=/var \
+		--localstatedir=/var \
 		--localedir=/usr/share/locale \
 		"$@"
 }
@@ -100,7 +100,7 @@
 # Set proper phase defaults
 gnome-games_pkg_postinst() {
 	debug-print-function ${FUNCNAME} "${@}"
-        gnome2_pkg_postinst
+	gnome2_pkg_postinst
 	games_pkg_postinst
 }
 
@@ -109,7 +109,7 @@
 # Set proper phase defaults
 gnome-games_pkg_postrm() {
 	debug-print-function ${FUNCNAME} "${@}"
-        gnome2_pkg_postrm
+	gnome2_pkg_postrm
 }
 
 _GNOME_GAMES=1





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-25 18:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-25 18:12 [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog gnome-games.eclass Gilles Dartiguelongue (eva)
  -- strict thread matches above, loose matches on Subject: below --
2013-06-30 10:52 Pacho Ramos (pacho)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox