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

Contents of /dev-java/java-gnome/java-gnome-2.10.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Oct 8 04:38:22 2006 UTC (8 years, 2 months ago) by nichoj
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Pruned old revisions. Version bump for bug #134860.
(Portage version: 2.1.2_pre2)
 (Unsigned Manifest commit)

1 # Copyright 1999-2005 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-2.10.1.ebuild,v 1.3 2005/07/10 18:52:54 agriffis Exp $
4
5 inherit eutils
6
7 DESCRIPTION="A meta package for all the bindings libraries necessary to write GNOME/GTK applicatons in Java"
8 HOMEPAGE="http://java-gnome.sourceforge.net/"
9 DEPEND="!<dev-java/java-gnome-2.8
10 >=dev-java/libgtk-java-2.6.2
11 >=dev-java/libgnome-java-2.10.1
12 >=dev-java/libgconf-java-2.10.1
13 >=dev-java/libglade-java-2.10.1
14 doc? ( >=virtual/jdk-1.2 )"
15
16 SLOT="2.10"
17 LICENSE="as-is"
18 KEYWORDS="~ppc ~x86"
19 IUSE="doc"
20
21 pkg_setup() {
22
23 einfo ""
24 einfo "At the 2.8 release, the java-gnome project made considerably changes to"
25 einfo "its structure. Instead of one monolithic java-gnome package, there are"
26 einfo "now indiviudal builds for libgtk-java, libgnome-java, libglade-java, etc"
27 einfo ""
28 einfo "The java-gnome ebuild is now a meta package which simply depends on"
29 einfo "the various new ebuilds, to make it easy to pull them all in."
30 einfo ""
31 ewarn "While this ebuild is slotted 2.10, it is marked as being blocked by"
32 ewarn "the presence of older versions of java-gnome if they exist on your"
33 ewarn "system. Not only were the 2.6 bindings really buggy, but with the"
34 ewarn "major re-organization of this package into modular pieces, the"
35 ewarn "risk of library and/or jar naming collisions was deemed too high."
36 einfo ""
37 einfo "java-gnome 2.8 and 2.10 can co-exist on your system, but you really"
38 einfo "only need the older gtk 2.4 / gnome 2.8 series (instead of the"
39 einfo "current gtk 2.6 / gnome 2.10 series) if you don't have GNOME 2.10 yet."
40 einfo ""
41 }
42
43 src_compile() {
44
45 #
46 # Upstream's reorg led to a total mess with the generated Javadoc.
47 # We need to address it, but now the automake is building all the
48 # javadoc more or less like-it-or-not, so we'll need to act there.
49 #
50 return
51 }
52
53 src_install() {
54 einfo "creating symlinks for convenience and backwards compatability"
55
56 #
57 # This is just here for convenience and for legacy compatability.
58 #
59 # This isn't meant to be Java policy compliant. There is no
60 # package.env file for this ebuild because the individual libraries
61 # it depends on all have proper package.env (which this uses, in fact).
62 #
63
64 mkdir -p ${D}/usr/share/java-gnome/lib
65 cd ${D}/usr/share/java-gnome/lib
66
67 gtk_jar=`java-config -p libgtk-java-2.6`
68 ln -s $gtk_jar `basename $gtk_jar`
69
70 gnome_jar=`java-config -p libgnome-java-2.10`
71 ln -s $gnome_jar `basename $gnome_jar`
72
73 glade_jar=`java-config -p libglade-java-2.10`
74 ln -s $glade_jar `basename $glade_jar`
75
76 gconf_jar=`java-config -p libgconf-java-2.10`
77 ln -s $gconf_jar `basename $gconf_jar`
78
79
80 use doc || return
81 }

  ViewVC Help
Powered by ViewVC 1.1.20