From: | "Peter Volkov (pva)" <pva@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-gfx/nip2: ChangeLog nip2-7.22.2.ebuild |
Date: | Fri, 03 Sep 2010 15:39:39 |
Message-Id: | 20100903153928.B94F920051@flycatcher.gentoo.org |
1 | pva 10/09/03 15:39:28 |
2 | |
3 | Modified: ChangeLog |
4 | Added: nip2-7.22.2.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.26 media-gfx/nip2/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/nip2/ChangeLog?rev=1.26&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/nip2/ChangeLog?rev=1.26&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/nip2/ChangeLog?r1=1.25&r2=1.26 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/media-gfx/nip2/ChangeLog,v |
19 | retrieving revision 1.25 |
20 | retrieving revision 1.26 |
21 | diff -u -r1.25 -r1.26 |
22 | --- ChangeLog 25 Jun 2010 11:06:16 -0000 1.25 |
23 | +++ ChangeLog 3 Sep 2010 15:39:28 -0000 1.26 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for media-gfx/nip2 |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/ChangeLog,v 1.25 2010/06/25 11:06:16 pva Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/ChangeLog,v 1.26 2010/09/03 15:39:28 pva Exp $ |
29 | + |
30 | +*nip2-7.22.2 (03 Sep 2010) |
31 | + |
32 | + 03 Sep 2010; Peter Volkov <pva@g.o> +nip2-7.22.2.ebuild: |
33 | + Version bump. |
34 | |
35 | 25 Jun 2010; Peter Volkov <pva@g.o> +nip2-7.22.1.ebuild, |
36 | metadata.xml: |
37 | |
38 | |
39 | |
40 | 1.1 media-gfx/nip2/nip2-7.22.2.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/nip2/nip2-7.22.2.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/nip2/nip2-7.22.2.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: nip2-7.22.2.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2010 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/media-gfx/nip2/nip2-7.22.2.ebuild,v 1.1 2010/09/03 15:39:28 pva Exp $ |
50 | |
51 | EAPI=2 |
52 | inherit eutils autotools fdo-mime gnome2-utils versionator |
53 | |
54 | MY_MAJ_VER=$(get_version_component_range 1-2) |
55 | DESCRIPTION="VIPS Image Processing Graphical User Interface" |
56 | SRC_URI="http://www.vips.ecs.soton.ac.uk/supported/${MY_MAJ_VER}/${P}.tar.gz" |
57 | HOMEPAGE="http://vips.sourceforge.net" |
58 | |
59 | LICENSE="GPL-2" |
60 | SLOT="0" |
61 | KEYWORDS="~amd64 ~ppc ~x86" |
62 | IUSE="fftw goffice gsl test" |
63 | |
64 | RDEPEND=">=dev-libs/glib-2.14:2 |
65 | dev-libs/libxml2 |
66 | x11-misc/xdg-utils |
67 | >=media-libs/vips-${MY_MAJ_VER} |
68 | >=x11-libs/gtk+-2.18:2 |
69 | goffice? ( x11-libs/goffice:0.8 ) |
70 | gsl? ( sci-libs/gsl ) |
71 | fftw? ( sci-libs/fftw:3.0 )" |
72 | DEPEND="${RDEPEND} |
73 | sys-devel/bison |
74 | sys-devel/flex |
75 | test? ( media-libs/vips[jpeg,lcms] )" |
76 | |
77 | src_prepare() { |
78 | epatch "${FILESDIR}"/${PN}-7.16.4-fftw3-build.patch |
79 | eautoreconf |
80 | } |
81 | |
82 | src_configure() { |
83 | econf \ |
84 | --disable-update-desktop \ |
85 | $(use_with goffice libgoffice) \ |
86 | $(use_with gsl) \ |
87 | $(use_with fftw fftw3) |
88 | } |
89 | |
90 | src_test() { |
91 | if ! use gsl; then |
92 | ewarn "Some tests require USE=gsl. Disabling test_math.ws tests." |
93 | rm test/workspaces/test_math.ws |
94 | fi |
95 | make check || die |
96 | } |
97 | |
98 | src_install() { |
99 | emake DESTDIR="${D}" install || die |
100 | dodoc AUTHORS ChangeLog NEWS README* || die |
101 | insinto /usr/share/icons/hicolor/128x128/apps |
102 | newins share/nip2/data/vips-128.png nip2.png || die |
103 | } |
104 | |
105 | pkg_preinst() { |
106 | gnome2_icon_savelist |
107 | } |
108 | |
109 | pkg_postinst() { |
110 | fdo-mime_desktop_database_update |
111 | fdo-mime_mime_database_update |
112 | gnome2_icon_cache_update |
113 | } |
114 | |
115 | pkg_postrm() { |
116 | fdo-mime_desktop_database_update |
117 | fdo-mime_mime_database_update |
118 | gnome2_icon_cache_update |
119 | } |