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

Contents of /media-gfx/nip2/nip2-7.16.3.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, 1 month 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-2008 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.3.ebuild,v 1.1 2008/11/22 23:28:12 maekke Exp $
4
5 inherit fdo-mime versionator
6
7 DESCRIPTION="VIPS Image Processing Graphical User Interface"
8 SRC_URI="http://www.vips.ecs.soton.ac.uk/supported/$(get_version_component_range 1-2)/${P}.tar.gz"
9 HOMEPAGE="http://vips.sourceforge.net"
10
11 SLOT="0"
12 LICENSE="GPL-2"
13
14 KEYWORDS="~amd64 ~ppc ~x86"
15
16 IUSE="fftw"
17
18 RDEPEND="
19 >=dev-libs/glib-2
20 dev-libs/libxml2
21 >=media-libs/vips-${PV}
22 >=x11-libs/gtk+-2.4
23 fftw? ( >=sci-libs/fftw-3 )"
24
25 # Flex and bison are build dependencies, but are not needed at runtime
26 DEPEND="${RDEPEND}
27 =sys-devel/bison-2.3*
28 sys-devel/flex"
29
30 src_compile() {
31 econf \
32 --disable-update-desktop \
33 $(use_with fftw fftw3)
34 emake || die "emake failed"
35 }
36
37 src_install() {
38 # create these dirs to make the makefile installs these items correctly
39 dodir /usr/share/{applications,application-registry,mime-info}
40
41 insinto /usr/share/pixmaps
42 doins "${FILESDIR}"/nip2.png
43 insinto /usr/share/applications
44 doins "${FILESDIR}"/nip2.desktop
45 insinto /usr/share/mime/packages
46 doins "${FILESDIR}"/nip2.xml
47
48 einstall || die "einstall failed"
49 dodoc AUTHORS ChangeLog NEWS README* || die
50 }
51
52 pkg_postinst() {
53 fdo-mime_desktop_database_update
54 fdo-mime_mime_database_update
55 }
56
57 pkg_postrm() {
58 fdo-mime_desktop_database_update
59 fdo-mime_mime_database_update
60 }

  ViewVC Help
Powered by ViewVC 1.1.20