/[gentoo-x86]/dev-java/java-gnome/java-gnome-4.0.8-r2.ebuild
Gentoo

Contents of /dev-java/java-gnome/java-gnome-4.0.8-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Jul 25 15:51:07 2009 UTC (4 years, 11 months ago) by serkan
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump. Remove old.
(Portage version: 2.2_rc33/cvs/Linux x86_64, RepoMan options: --force)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/java-gnome/java-gnome-4.0.8-r2.ebuild,v 1.2 2009/03/20 21:05:29 josejx Exp $
4
5 EAPI=2
6 JAVA_PKG_IUSE="doc examples source"
7
8 inherit eutils versionator java-pkg-2
9
10 DESCRIPTION="Java bindings for GTK and GNOME"
11 HOMEPAGE="http://java-gnome.sourceforge.net/"
12 SRC_URI="mirror://gnome/sources/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
13
14 LICENSE="GPL-2-with-linking-exception"
15 SLOT="4.0"
16 KEYWORDS="~amd64 ppc ~x86"
17 IUSE=""
18
19 RDEPEND=">=dev-libs/glib-2.12.13
20 >=x11-libs/gtk+-2.12
21 >=gnome-base/libglade-2.6.1
22 >=gnome-base/libgnome-2.18.0
23 >=gnome-base/gnome-desktop-2.18.0
24 >=virtual/jre-1.5
25 >=x11-libs/cairo-1.6.4[svg]"
26 DEPEND="${RDEPEND}
27 dev-java/junit:0
28 dev-lang/python
29 >=virtual/jdk-1.5
30 dev-util/pkgconfig"
31
32 # Needs X11
33 RESTRICT="test"
34
35 src_prepare() {
36 epatch "${FILESDIR}/${P}-disable-doc-snapshots.patch"
37 epatch "${FILESDIR}/${P}-deprecated.patch"
38 epatch "${FILESDIR}/${PN}-gtk-214.patch"
39 }
40
41 src_configure() {
42 # Handwritten in perl so not using econf
43 ./configure --prefix=/usr || die
44 }
45
46 src_compile() {
47 # Fails parallel build in case GCJ is detected
48 # See https://bugs.gentoo.org/show_bug.cgi?id=200550
49 emake -j1 || die "Compilation of java-gnome failed"
50
51 if use doc; then
52 emake -j1 doc || die "Making documentation failed"
53 fi
54 }
55
56 src_install(){
57 java-pkg_doso tmp/*.so
58 java-pkg_dojar tmp/*.jar
59
60 dodoc AUTHORS HACKING NEWS README || die
61
62 use doc && java-pkg_dojavadoc doc/api
63 use examples && java-pkg_doexamples doc/examples
64 use source && java-pkg_dosrc src/bindings/org
65 }

  ViewVC Help
Powered by ViewVC 1.1.20