diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2005-12-11 03:44:16 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2005-12-11 03:44:16 +0000 |
commit | 8c3819c8aca18f0d1070f04ff2fbc1d4e48d9f9a (patch) | |
tree | 4ea8813173fe0eda8650054ba011e423d437012c /dev-java/glib-java | |
parent | modular X support - bug #115062 and error handling - bug #113921 (diff) | |
download | historical-8c3819c8aca18f0d1070f04ff2fbc1d4e48d9f9a.tar.gz historical-8c3819c8aca18f0d1070f04ff2fbc1d4e48d9f9a.tar.bz2 historical-8c3819c8aca18f0d1070f04ff2fbc1d4e48d9f9a.zip |
version bump from upstream to 0.2.2
Package-Manager: portage-2.0.53
Diffstat (limited to 'dev-java/glib-java')
-rw-r--r-- | dev-java/glib-java/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/glib-java/Manifest | 4 | ||||
-rw-r--r-- | dev-java/glib-java/files/digest-glib-java-0.2.2 | 1 | ||||
-rw-r--r-- | dev-java/glib-java/glib-java-0.2.2.ebuild | 87 |
4 files changed, 98 insertions, 2 deletions
diff --git a/dev-java/glib-java/ChangeLog b/dev-java/glib-java/ChangeLog index 4ae88f53f3f9..769059a561b9 100644 --- a/dev-java/glib-java/ChangeLog +++ b/dev-java/glib-java/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/glib-java # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/glib-java/ChangeLog,v 1.2 2005/11/19 21:19:45 compnerd Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/glib-java/ChangeLog,v 1.3 2005/12/11 03:44:16 compnerd Exp $ + +*glib-java-0.2.2 (11 Dec 2005) + + 11 Dec 2005; Saleem Abdulrasool <compnerd@gentoo.org> + +glib-java-0.2.2.ebuild: + Version bump from upstream. Adding support for source useflag. 19 Nov 2005; Saleem Abdulrasool <compnerd@gentoo.org> glib-java-0.2.1.ebuild: diff --git a/dev-java/glib-java/Manifest b/dev-java/glib-java/Manifest index 0132efe94eea..f42878613edf 100644 --- a/dev-java/glib-java/Manifest +++ b/dev-java/glib-java/Manifest @@ -1,6 +1,8 @@ -MD5 cd0d3a0797bfe47ad19a9a3e5b637ba8 ChangeLog 574 +MD5 b26020272a357f97a8294a235c4b4963 ChangeLog 756 MD5 6f1550893a37966aca2b2c7ceb220b71 files/aclocal_voodoo.patch 749 MD5 1d2e28a6488384bd29477c8488017453 files/digest-glib-java-0.2.1 67 +MD5 fef53b5a865fe519d6c678b4c95974a4 files/digest-glib-java-0.2.2 67 MD5 b1e11a9eba5947c307093c7e951155fe files/jg_common-macromagic.patch 482 MD5 3480719d0ce24733bd92a7827d5776a1 glib-java-0.2.1.ebuild 1962 +MD5 f894c218aa1b16fed1823d3e4d9879f4 glib-java-0.2.2.ebuild 2010 MD5 5c652987877650c412fa53be7fdc9210 metadata.xml 351 diff --git a/dev-java/glib-java/files/digest-glib-java-0.2.2 b/dev-java/glib-java/files/digest-glib-java-0.2.2 new file mode 100644 index 000000000000..8619de5e5f7d --- /dev/null +++ b/dev-java/glib-java/files/digest-glib-java-0.2.2 @@ -0,0 +1 @@ +MD5 46052b2c2aed6698275c54b7bd51cb38 glib-java-0.2.2.tar.gz 325749 diff --git a/dev-java/glib-java/glib-java-0.2.2.ebuild b/dev-java/glib-java/glib-java-0.2.2.ebuild new file mode 100644 index 000000000000..c215456f5ebf --- /dev/null +++ b/dev-java/glib-java/glib-java-0.2.2.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/glib-java/glib-java-0.2.2.ebuild,v 1.1 2005/12/11 03:44:16 compnerd Exp $ + +# Must be before the gnome.org inherit +GNOME_TARBALL_SUFFIX="gz" + +inherit java-pkg eutils gnome.org + +DESCRIPTION="Java bindings for glib" +HOMEPAGE="http://java-gnome.sourceforge.net/" + +# Not on gnome.org mirrors yet :-( +SRC_URI="http://research.operationaldynamics.com/linux/java-gnome/dist/${PF}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0.2" +KEYWORDS="~amd64 ~x86" +IUSE="doc gcj source" + +DEPS=">=dev-libs/glib-2.8.1 + dev-util/pkgconfig" + +DEPEND=">=virtual/jdk-1.4 + >=sys-apps/sed-4 + souce? ( app-arch/zip ) + ${DEPS}" +RDEPEND=">=virtual/jre-1.4 + ${DEPS}" + +pkg_setup() { + if use gcj ; then + if ! built_with_use sys-devel/gcc gcj ; then + ewarn + ewarn "You must build gcc with the gcj support to build with gcj" + ewarn + ebeep 5 + die "No GCJ support found!" + fi + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/aclocal_voodoo.patch + + # Oh the joys of patching the autotools stuff + aclocal -I macros || die "aclocal failed" + libtoolize --force --copy || die "libtoolize failed" + autoconf || die "autoconf failed" + automake || die "automake failed" +} + +src_compile() { + # JARDIR is a hack for java-config + econf $(use_with gcj gcj-compile) \ + $(use_with doc javadocs) \ + --with-jardir=/usr/share/${PN}-${SLOT}/lib \ + || die "configure failed" + + emake || die "compile failed" + + # Fix the broken pkgconfig file + sed -i \ + -e "s:classpath.*$:classpath=\${prefix}/share/${PN}-${SLOT}/lib/${PF}.jar:" \ + ${S}/${PN}.pc +} + +src_install() { + emake DESTDIR=${D} install || die "install failed" + + # use java-pkg_dojar to install the jar + rm -rf ${D}/usr/share/${PN}-${SLOT} + + mv ${S}/glib${SLOT}.jar ${S}/${PF}.jar + java-pkg_dojar ${S}/${PF}.jar + + if use doc ; then + java-pkg_dohtml -r ${S}/doc + fi + + if use source ; then + java-pkg_dosrc ${S}/src/java/org + fi +} |