/[gentoo-x86]/media-gfx/nip2/nip2-7.18.2.ebuild
Gentoo

Contents of /media-gfx/nip2/nip2-7.18.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu May 13 14:32:31 2010 UTC (4 years, 7 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/nip2-7.18.2.ebuild,v 1.4 2010/03/06 13:25:08 ssuominen Exp $
4
5 EAPI="2"
6 inherit eutils autotools fdo-mime versionator
7
8 DESCRIPTION="VIPS Image Processing Graphical User Interface"
9 SRC_URI="http://www.vips.ecs.soton.ac.uk/supported/$(get_version_component_range 1-2)/${P}.tar.gz"
10 HOMEPAGE="http://vips.sourceforge.net"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc x86"
15 IUSE="fftw gsl test"
16
17 RDEPEND="
18 >=dev-libs/glib-2
19 dev-libs/libxml2
20 x11-misc/xdg-utils
21 >=media-libs/vips-${PV}
22 >=x11-libs/gtk+-2.4.9
23 gsl? ( sci-libs/gsl )
24 fftw? ( sci-libs/fftw:3.0 )"
25 DEPEND="${RDEPEND}
26 =sys-devel/bison-2.3*
27 sys-devel/flex
28 test? ( media-libs/vips[lcms] )"
29
30 src_prepare() {
31 epatch "${FILESDIR}/${PN}-7.16.4-fftw3-build.patch"
32 eautoreconf
33 }
34
35 src_configure() {
36 econf \
37 --disable-update-desktop \
38 $(use_with gsl) \
39 $(use_with fftw fftw3)
40 }
41
42 src_install() {
43 make DESTDIR="${D}" install || die "install failed"
44 dodoc AUTHORS ChangeLog NEWS README* || die
45 # icon for .desktop
46 insinto /usr/share/icons/hicolor/128x128/apps
47 newins share/nip2/data/vips-128.png nip2.png || die
48 }
49
50 pkg_postinst() {
51 fdo-mime_desktop_database_update
52 fdo-mime_mime_database_update
53 }
54
55 pkg_postrm() {
56 fdo-mime_desktop_database_update
57 fdo-mime_mime_database_update
58 }

  ViewVC Help
Powered by ViewVC 1.1.20