Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sat, 30 Jan 2016 09:42:38
Message-Id: 1454146947.c9f16abbac66d34bbeef7e18ccbb1e08f25ef16d.pacho@gentoo
1 commit: c9f16abbac66d34bbeef7e18ccbb1e08f25ef16d
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 30 09:42:27 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 30 09:42:27 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9f16abb
7
8 eclass/clutter.eclass: remove obsolete eclass (#486362)
9
10 eclass/clutter.eclass | 76 ---------------------------------------------------
11 1 file changed, 76 deletions(-)
12
13 diff --git a/eclass/clutter.eclass b/eclass/clutter.eclass
14 deleted file mode 100644
15 index 9d049fd..0000000
16 --- a/eclass/clutter.eclass
17 +++ /dev/null
18 @@ -1,76 +0,0 @@
19 -# Copyright 1999-2012 Gentoo Foundation
20 -# Distributed under the terms of the GNU General Public License v2
21 -# $Id$
22 -
23 -# @DEAD
24 -
25 -# @ECLASS: clutter.eclass
26 -# @MAINTAINER:
27 -# GNOME Herd <gnome@g.o>
28 -# @AUTHOR:
29 -# Nirbheek Chauhan <nirbheek@g.o>
30 -# @BLURB: Sets SRC_URI, LICENSE, etc and exports src_install
31 -
32 -inherit versionator
33 -
34 -HOMEPAGE="http://www.clutter-project.org/"
35 -
36 -RV=($(get_version_components))
37 -SRC_URI="http://www.clutter-project.org/sources/${PN}/${RV[0]}.${RV[1]}/${P}.tar.bz2"
38 -
39 -eqawarn "emul-linux-x86.eclass is last rited and will be removed on 2016-01-29."
40 -
41 -# All official clutter packages use LGPL-2.1 or later
42 -LICENSE="${LICENSE:-LGPL-2.1+}"
43 -
44 -# This will be used by all clutter packages
45 -DEPEND="virtual/pkgconfig"
46 -
47 -# @ECLASS-VARIABLE: CLUTTER_LA_PUNT
48 -# @DESCRIPTION:
49 -# Set to anything except 'no' to remove *all* .la files before installing.
50 -# Not to be used without due consideration, sometimes .la files *are* needed.
51 -CLUTTER_LA_PUNT="${CLUTTER_LA_PUNT:-"no"}"
52 -
53 -# @ECLASS-VARIABLE: DOCS
54 -# @DESCRIPTION:
55 -# This variable holds relative paths of files to be dodoc-ed.
56 -# By default, it contains the standard list of autotools doc files
57 -DOCS="${DOCS:-AUTHORS ChangeLog NEWS README TODO}"
58 -
59 -# @ECLASS-VARIABLE: EXAMPLES
60 -# @DESCRIPTION:
61 -# This variable holds relative paths of files to be added as examples when the
62 -# "examples" USE-flag exists, and is switched on. Bash expressions can be used
63 -# since the variable is eval-ed before substitution. Empty by default.
64 -EXAMPLES="${EXAMPLES:-""}"
65 -
66 -# @FUNCTION: clutter_src_install
67 -# @DESCRIPTION:
68 -# Runs emake install, dodoc, and installs examples
69 -clutter_src_install() {
70 - emake DESTDIR="${D}" install || die "emake install failed"
71 - dodoc ${DOCS} || die "dodoc failed"
72 -
73 - # examples
74 - if has examples ${IUSE} && use examples; then
75 - insinto /usr/share/doc/${PF}/examples
76 -
77 - # We use eval to be able to use globs and other bash expressions
78 - for example in $(eval echo ${EXAMPLES}); do
79 - # If directory
80 - if [[ ${example: -1} == "/" ]]; then
81 - doins -r ${example} || die "doins ${example} failed!"
82 - else
83 - doins ${example} || die "doins ${example} failed!"
84 - fi
85 - done
86 - fi
87 -
88 - # Delete all .la files
89 - if [[ "${CLUTTER_LA_PUNT}" != "no" ]]; then
90 - find "${D}" -name '*.la' -exec rm -f '{}' + || die
91 - fi
92 -}
93 -
94 -EXPORT_FUNCTIONS src_install