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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Aug 7 14:20:44 2009 UTC (8 years, 6 months ago) by pva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump. Remove old.
(Portage version: 2.1.6.13/cvs/Linux x86_64)

1 pva 1.1 # Copyright 2003-2009 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 pva 1.2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/nip2-7.18.1.ebuild,v 1.1 2009/04/22 17:06:07 pva Exp $
4 pva 1.1
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"
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    
26     DEPEND="${RDEPEND}
27     =sys-devel/bison-2.3*
28     sys-devel/flex"
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