blob: f55fccb09215ea7cb091f2c3d03c229533d46847 (
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
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/fox/fox-1.7.23.ebuild,v 1.2 2011/02/26 22:34:32 signals Exp $
EAPI="3"
inherit fox
LICENSE="LGPL-2.1"
SLOT="1.7"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="bzip2 jpeg opengl png tiff truetype zlib"
# newish autoconf needed for working mmap check
RDEPEND="x11-libs/libXrandr
x11-libs/libXcursor
>=sys-devel/autoconf-2.67
bzip2? ( app-arch/bzip2 )
jpeg? ( virtual/jpeg )
opengl? ( virtual/opengl )
png? ( media-libs/libpng )
tiff? ( media-libs/tiff )
truetype? ( media-libs/freetype:2
x11-libs/libXft )
zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}
media-libs/mesa
x11-proto/xextproto
x11-libs/libXt"
FOXCONF="$(use_enable bzip2 bz2lib) \
$(use_enable jpeg) \
$(use_with opengl) \
$(use_enable png) \
$(use_enable tiff) \
$(use_with truetype xft) \
$(use_enable zlib)"
src_install() {
fox_src_install
CP="${D}/usr/bin/ControlPanel"
if [[ -f $CP ]] ; then
mv $CP "${D}/usr/bin/fox-ControlPanel-${FOX_PV}" || \
die "Failed to install ControlPanel"
fi
}
pkg_postinst() {
fox_pkg_postinst
einfo "ControlPanel has been installed to 'fox-ControlPanel-${FOX_PV}' to avoid conflicts"
einfo "with other packages."
}
|