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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Aug 7 14:20:44 2009 UTC (5 years 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 # Copyright 2003-2009 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.16.4.ebuild,v 1.1 2009/01/13 13:20:17 pva 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"
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 )"
25
26 # Flex and bison are build dependencies, but are not needed at runtime
27 DEPEND="${RDEPEND}
28 =sys-devel/bison-2.3*
29 sys-devel/flex"
30
31 src_prepare() {
32 epatch "${FILESDIR}/${P}-fftw3-build.patch"
33 eautoreconf
34 }
35
36 src_configure() {
37 econf \
38 --disable-update-desktop \
39 $(use_with gsl) \
40 $(use_with fftw fftw3)
41 }
42
43 src_install() {
44 make DESTDIR="${D}" install || die "install failed"
45 dodoc AUTHORS ChangeLog NEWS README* || die
46 # icon for .desktop
47 insinto /usr/share/icons/hicolor/128x128/apps
48 newins share/nip2/data/vips-128.png nip2.png || die
49 }
50
51 pkg_postinst() {
52 fdo-mime_desktop_database_update
53 fdo-mime_mime_database_update
54 }
55
56 pkg_postrm() {
57 fdo-mime_desktop_database_update
58 fdo-mime_mime_database_update
59 }

  ViewVC Help
Powered by ViewVC 1.1.20