You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1006 B
42 lines
1006 B
9 years ago
|
# Copyright 1999-2015 Gentoo Foundation
|
||
12 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
9 years ago
|
EAPI=5
|
||
12 years ago
|
|
||
|
inherit eutils fox
|
||
|
|
||
|
LICENSE="LGPL-2.1"
|
||
|
SLOT="1.6"
|
||
9 years ago
|
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||
12 years ago
|
IUSE="+bzip2 +jpeg +opengl +png tiff +truetype +zlib"
|
||
12 years ago
|
|
||
|
RDEPEND="x11-libs/libXrandr
|
||
|
x11-libs/libXcursor
|
||
|
x11-libs/fox-wrapper
|
||
|
bzip2? ( >=app-arch/bzip2-1.0.2 )
|
||
9 years ago
|
jpeg? ( virtual/jpeg:= )
|
||
12 years ago
|
opengl? ( virtual/glu virtual/opengl )
|
||
9 years ago
|
png? ( >=media-libs/libpng-1.2.5:0= )
|
||
|
tiff? ( >=media-libs/tiff-3.5.7:0= )
|
||
12 years ago
|
truetype? ( =media-libs/freetype-2*
|
||
|
x11-libs/libXft )
|
||
|
zlib? ( >=sys-libs/zlib-1.1.4 )"
|
||
|
DEPEND="${RDEPEND}
|
||
|
x11-proto/xextproto
|
||
|
x11-libs/libXt"
|
||
|
|
||
12 years ago
|
src_prepare() {
|
||
|
sed -i -e 's/-lXft/-lXft -lfontconfig/' "${S}/configure.ac"
|
||
|
fox_src_prepare
|
||
|
}
|
||
|
|
||
12 years ago
|
src_configure() {
|
||
|
FOXCONF="$(use_enable bzip2 bz2lib) \
|
||
|
$(use_enable jpeg) \
|
||
|
$(use_with opengl) \
|
||
|
$(use_enable png) \
|
||
|
$(use_enable tiff) \
|
||
|
$(use_with truetype xft) \
|
||
|
$(use_enable zlib)" fox_src_configure
|
||
|
}
|