Lines 1-20
Link Here
|
1 |
# Copyright 1999-2011 Gentoo Foundation |
1 |
# Copyright 1999-2011 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/x11-themes/fvwm-crystal/fvwm-crystal-3.0.6-r1.ebuild,v 1.4 2011/09/27 13:52:26 ssuominen Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-themes/fvwm-crystal/fvwm-crystal-3.0.6-r1.ebuild,v 1.5 2011/11/11 17:07:35 ssuominen Exp $ |
4 |
|
4 |
|
5 |
EAPI="2" |
5 |
EAPI=4 |
6 |
|
6 |
PYTHON_DEPEND="2" |
7 |
inherit eutils |
7 |
inherit eutils python |
8 |
|
8 |
|
9 |
DESCRIPTION="Configurable and full featured theme for FVWM, with lots of transparency" |
9 |
DESCRIPTION="Configurable and full featured theme for FVWM, with lots of transparency" |
10 |
HOMEPAGE="http://gna.org/projects/fvwm-crystal/" |
10 |
HOMEPAGE="http://gna.org/projects/fvwm-crystal/" |
11 |
SRC_URI="http://download.gna.org/${PN}/${PV}/${P}.tar.gz" |
11 |
SRC_URI="http://download.gna.org/${PN}/${PV}/${P}.tar.gz" |
|
|
12 |
|
12 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
13 |
SLOT="0" |
14 |
SLOT="0" |
14 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
15 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
15 |
IUSE="" |
16 |
IUSE="" |
16 |
RDEPEND=">=x11-wm/fvwm-2.5.13[png] |
17 |
DOCS="doc/*" |
17 |
dev-lang/python |
18 |
|
|
|
19 |
RDEPEND=">=x11-wm/fvwm-2.6.2[png] |
18 |
media-gfx/imagemagick |
20 |
media-gfx/imagemagick |
19 |
|| ( x11-misc/stalonetray x11-misc/trayer ) |
21 |
|| ( x11-misc/stalonetray x11-misc/trayer ) |
20 |
|| ( x11-misc/habak x11-misc/hsetroot ) |
22 |
|| ( x11-misc/habak x11-misc/hsetroot ) |
Lines 23-44
Link Here
|
23 |
|
25 |
|
24 |
src_prepare() { |
26 |
src_prepare() { |
25 |
find . -type d -name '.svn' -prune -exec rm -rf {} ';' || die |
27 |
find . -type d -name '.svn' -prune -exec rm -rf {} ';' || die |
26 |
epatch "${FILESDIR}/fvwm-crystal.apps.patch" |
28 |
epatch "${FILESDIR}"/fvwm-crystal.apps.patch |
27 |
} |
29 |
} |
28 |
|
30 |
|
29 |
src_install() { |
31 |
src_install() { |
30 |
einstall || die "einstall failed" |
32 |
einstall |
31 |
|
33 |
|
32 |
dodoc AUTHORS README INSTALL NEWS ChangeLog doc/* || die |
34 |
dodoc ${DOCS} |
33 |
|
35 |
|
34 |
docinto examples |
36 |
docinto examples |
35 |
dodoc addons/* || die |
37 |
dodoc addons/* |
36 |
|
38 |
|
37 |
exeinto /etc/X11/Sessions |
39 |
exeinto /etc/X11/Sessions |
38 |
doexe "${FILESDIR}"/fvwm-crystal || die |
40 |
doexe "${FILESDIR}"/fvwm-crystal |
39 |
|
41 |
|
40 |
insinto /usr/share/xsessions |
42 |
insinto /usr/share/xsessions |
41 |
doins addons/fvwm-crystal.desktop || die |
43 |
doins addons/fvwm-crystal.desktop |
|
|
44 |
python_convert_shebangs 2 "${ED}"usr/share/${PN}/fvwm/scripts/FvwmMPD/*.py |
42 |
} |
45 |
} |
43 |
|
46 |
|
44 |
pkg_postinst() { |
47 |
pkg_postinst() { |