|
Lines 2-8
Link Here
|
| 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/media-libs/babl/babl-0.1.4-r2.ebuild,v 1.1 2011/08/28 16:24:37 jlec Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/babl/babl-0.1.4-r2.ebuild,v 1.1 2011/08/28 16:24:37 jlec Exp $ |
| 4 |
|
4 |
|
| 5 |
EAPI=3 |
5 |
EAPI=4 |
|
|
6 |
WANT_AUTOMAKE="1.11" |
| 7 |
VALASLOT="0.14" |
| 6 |
|
8 |
|
| 7 |
inherit autotools eutils |
9 |
inherit autotools eutils |
| 8 |
|
10 |
|
|
Lines 10-27
DESCRIPTION="A dynamic, any to any, pixe
Link Here
|
| 10 |
HOMEPAGE="http://www.gegl.org/babl/" |
12 |
HOMEPAGE="http://www.gegl.org/babl/" |
| 11 |
SRC_URI="ftp://ftp.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2" |
13 |
SRC_URI="ftp://ftp.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2" |
| 12 |
|
14 |
|
| 13 |
LICENSE="LGPL-3" |
15 |
# extensions/gggl{,-lies}.c are under the GPL. |
|
|
16 |
LICENSE="GPL-3 LGPL-3" |
| 14 |
SLOT="0" |
17 |
SLOT="0" |
| 15 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" |
18 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" |
| 16 |
IUSE="altivec +introspection sse mmx" |
19 |
IUSE="altivec doc +introspection mmx sse vala" |
| 17 |
|
20 |
|
| 18 |
RDEPEND="introspection? ( >=dev-libs/gobject-introspection-0.6.8 )" |
21 |
RDEPEND="introspection? ( >=dev-libs/gobject-introspection-0.10 )" |
| 19 |
DEPEND="${RDEPEND}" |
22 |
DEPEND="${RDEPEND} |
|
|
23 |
>=sys-devel/libtool-2.2 |
| 24 |
vala? ( dev-lang/vala:${VALASLOT}[vapigen] )" |
| 20 |
|
25 |
|
| 21 |
src_prepare() { |
26 |
REQUIRED_USE="vala? ( introspection )" |
| 22 |
epatch "${FILESDIR}"/${P}-introspection.patch |
27 |
|
| 23 |
eautoreconf |
28 |
DOCS="AUTHORS ChangeLog README NEWS" |
| 24 |
} |
|
|
| 25 |
|
29 |
|
| 26 |
src_configure() { |
30 |
src_configure() { |
| 27 |
# Automagic rsvg support is just for website generation we do not call, |
31 |
# Automagic rsvg support is just for website generation we do not call, |
|
Lines 34-44
src_configure() {
Link Here
|
| 34 |
$(use_enable altivec) \ |
38 |
$(use_enable altivec) \ |
| 35 |
$(use_enable introspection) \ |
39 |
$(use_enable introspection) \ |
| 36 |
$(use_enable mmx) \ |
40 |
$(use_enable mmx) \ |
| 37 |
$(use_enable sse) |
41 |
$(use_enable sse) \ |
|
|
42 |
$(use_with vala) \ |
| 43 |
VAPIGEN="$(type -p vapigen-${VALASLOT})" |
| 38 |
} |
44 |
} |
| 39 |
|
45 |
|
| 40 |
src_install() { |
46 |
src_install() { |
| 41 |
emake install DESTDIR="${D}" || die "emake install failed" |
47 |
default |
| 42 |
find "${ED}" -name '*.la' -delete |
48 |
find "${ED}" -name '*.la' -delete |
| 43 |
dodoc AUTHORS ChangeLog README NEWS || die "dodoc failed" |
49 |
use doc && dohtml -A svg,txt -r "${S}"/docs/ |
| 44 |
} |
50 |
} |