1 | # Copyright 1999-2015 Gentoo Foundation |
1 | # Copyright 1999-2015 Gentoo Foundation |
2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.128 2015/01/29 09:59:51 pacho Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.129 2015/02/23 10:57:38 pacho Exp $ |
4 | |
4 | |
5 | # @ECLASS: gnome2.eclass |
5 | # @ECLASS: gnome2.eclass |
6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
7 | # gnome@gentoo.org |
7 | # gnome@gentoo.org |
8 | # @BLURB: Provides phases for Gnome/Gtk+ based packages. |
8 | # @BLURB: Provides phases for Gnome/Gtk+ based packages. |
… | |
… | |
11 | # GNOME framework. For additional functions, see gnome2-utils.eclass. |
11 | # GNOME framework. For additional functions, see gnome2-utils.eclass. |
12 | |
12 | |
13 | inherit eutils fdo-mime libtool gnome.org gnome2-utils |
13 | inherit eutils fdo-mime libtool gnome.org gnome2-utils |
14 | |
14 | |
15 | case "${EAPI:-0}" in |
15 | case "${EAPI:-0}" in |
16 | 2|3|4|5) |
16 | 2|3) |
|
|
17 | eqawarn |
|
|
18 | eqawarn "${CATEGORY}/${PF}: EAPI 2/3 support is now deprecated." |
|
|
19 | eqawarn "If you are the package maintainer, please" |
|
|
20 | eqawarn "update this package to a newer EAPI." |
|
|
21 | eqawarn "Support for EAPIs 2 and 3 for gnome2.eclass will be dropped" |
|
|
22 | eqawarn "in a month (around 23rd March)." |
|
|
23 | eqawarn |
|
|
24 | EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm |
|
|
25 | ;; |
|
|
26 | 4|5) |
17 | EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm |
27 | EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm |
18 | ;; |
28 | ;; |
19 | *) die "EAPI=${EAPI} is not supported" ;; |
29 | *) die "EAPI=${EAPI} is not supported" ;; |
20 | esac |
30 | esac |
21 | |
31 | |