summaryrefslogtreecommitdiff
blob: f33dd8cd3c7eff8d7ae7ae6de9fa7fc870b10ac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/e/e-9999.ebuild,v 1.7 2006/10/22 05:44:35 vapier Exp $

ECVS_MODULE="e17/apps/e"
inherit enlightenment

DESCRIPTION="the e17 window manager"

DEPEND="sys-devel/libtool
	x11-libs/ecore
	media-libs/edje
	dev-libs/eet
	dev-libs/embryo
	x11-libs/evas"

pkg_setup() {
	if ! built_with_use x11-libs/evas png ; then
		eerror "Re-emerge evas with USE=png"
		die "Re-emerge evas with USE=png"
	fi
	enlightenment_pkg_setup
}

src_unpack() {
	enlightenment_src_unpack
	sed -i \
		-e 's:bin/enlightenment:bin/enlightenment-0.17:' \
		"${S}"/src/bin/e_start_main.c || die
}

src_install() {
	enlightenment_src_install
	mv "${D}"/usr/bin/enlightenment{,-0.17}
}

pkg_postinst() {
	ewarn "This version has been installed as"
	ewarn "'enlightenment-0.17' to avoid conflict"
	ewarn "with enlightenment 0.16 versions."
}