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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Nov 22 23:28:12 2008 UTC (6 years, 8 months ago) by maekke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
bump to 7.16.3, bug #246969 and remove old
(Portage version: 2.2_rc15/cvs/Linux 2.6.26.8 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.14.4.ebuild,v 1.2 2008/10/25 12:10:00 maekke Exp $
4
5 inherit fdo-mime autotools
6
7 DESCRIPTION="VIPS Image Processing Graphical User Interface"
8 SRC_URI="http://www.vips.ecs.soton.ac.uk/supported/7.14/${P}.tar.gz"
9 HOMEPAGE="http://vips.sourceforge.net"
10
11 SLOT="0"
12 LICENSE="GPL-2"
13
14 KEYWORDS="~ppc ~x86"
15
16 IUSE="fftw"
17
18 RDEPEND=">=media-libs/vips-7.14.1
19 >=x11-libs/gtk+-2.4
20 dev-libs/libxml2
21 >=dev-libs/glib-2
22 fftw? ( >=sci-libs/fftw-3 )"
23
24 # Flex and bison are build dependencies, but are not needed at runtime
25 DEPEND="${RDEPEND}
26 sys-devel/flex
27 sys-devel/bison"
28
29 src_unpack() {
30 unpack ${A}
31 cd "${S}"
32 epatch "${FILESDIR}"/${P}-configure.patch
33 eautoreconf
34 }
35
36 src_compile() {
37 econf \
38 --disable-mime-update \
39 $(use_with fftw fftw3) || die
40 emake || die "emake failed"
41 }
42
43 src_install() {
44 # create these dirs to make the makefile installs these items correctly
45 dodir /usr/share/{applications,application-registry,mime-info}
46
47 insinto /usr/share/pixmaps
48 doins "${FILESDIR}"/nip2.png
49 insinto /usr/share/applications
50 doins "${FILESDIR}"/nip2.desktop
51 insinto /usr/share/mime/packages
52 doins "${FILESDIR}"/nip2.xml
53
54 einstall || die "einstall failed"
55 dodoc AUTHORS ChangeLog NEWS README*
56 }
57
58 pkg_postinst() {
59 fdo-mime_desktop_database_update
60 fdo-mime_mime_database_update
61 }
62
63 pkg_postrm() {
64 fdo-mime_desktop_database_update
65 fdo-mime_mime_database_update
66 }

  ViewVC Help
Powered by ViewVC 1.1.20