summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2005-12-11 03:50:37 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2005-12-11 03:50:37 +0000
commitc4e3ea1c74e2d454454c80a8e777ff3246ee40a9 (patch)
tree5197fa3bc8d1ab5bff9741cae77c16a827da65b1 /dev-java/cairo-java
parentversion bump from upstream to 0.2.2 (diff)
downloadgentoo-2-c4e3ea1c74e2d454454c80a8e777ff3246ee40a9.tar.gz
gentoo-2-c4e3ea1c74e2d454454c80a8e777ff3246ee40a9.tar.bz2
gentoo-2-c4e3ea1c74e2d454454c80a8e777ff3246ee40a9.zip
Version bump from upstream to 1.0.2
(Portage version: 2.0.53)
Diffstat (limited to 'dev-java/cairo-java')
-rw-r--r--dev-java/cairo-java/ChangeLog8
-rw-r--r--dev-java/cairo-java/Manifest4
-rw-r--r--dev-java/cairo-java/cairo-java-1.0.2.ebuild77
-rw-r--r--dev-java/cairo-java/files/digest-cairo-java-1.0.21
4 files changed, 88 insertions, 2 deletions
diff --git a/dev-java/cairo-java/ChangeLog b/dev-java/cairo-java/ChangeLog
index 734ea9c53b5d..1c8c67b5335b 100644
--- a/dev-java/cairo-java/ChangeLog
+++ b/dev-java/cairo-java/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/cairo-java
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/cairo-java/ChangeLog,v 1.3 2005/11/19 21:22:20 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cairo-java/ChangeLog,v 1.4 2005/12/11 03:50:37 compnerd Exp $
+
+*cairo-java-1.0.2 (11 Dec 2005)
+
+ 11 Dec 2005; Saleem Abdulrasool <compnerd@gentoo.org>
+ +cairo-java-1.0.2.ebuild:
+ Version bump from upstream. Adding support for source useflag
19 Nov 2005; Saleem Abdulrasool <compnerd@gentoo.org>
cairo-java-1.0.1.ebuild:
diff --git a/dev-java/cairo-java/Manifest b/dev-java/cairo-java/Manifest
index d618329abec0..b9588f2dcea7 100644
--- a/dev-java/cairo-java/Manifest
+++ b/dev-java/cairo-java/Manifest
@@ -1,5 +1,7 @@
-MD5 5bee3339cae76ee3781fbdb24641ccbc ChangeLog 653
+MD5 cf5a17d90d67ff591028b8e6f1f85926 ChangeLog 836
MD5 c306c9ae0a6dff619836b0306ee2786a cairo-java-1.0.1.ebuild 2005
+MD5 0296cb4dda904609b663bba106239262 cairo-java-1.0.2.ebuild 1703
MD5 f629db15b5df144efde17453c0c98c34 files/cairo_jni_includes.patch 841
MD5 a74a4781b3ab4f8d361c0b71dd4fae6d files/digest-cairo-java-1.0.1 68
+MD5 0a818004a4a930c29fa7ffd5a8f09024 files/digest-cairo-java-1.0.2 68
MD5 9fe190d25d088cdf4fd038710fd4ee93 metadata.xml 335
diff --git a/dev-java/cairo-java/cairo-java-1.0.2.ebuild b/dev-java/cairo-java/cairo-java-1.0.2.ebuild
new file mode 100644
index 000000000000..388880536ea3
--- /dev/null
+++ b/dev-java/cairo-java/cairo-java-1.0.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cairo-java/cairo-java-1.0.2.ebuild,v 1.1 2005/12/11 03:50:37 compnerd Exp $
+
+# Must be before the gnome.org inherit
+GNOME_TARBALL_SUFFIX="gz"
+
+inherit java-pkg eutils gnome.org
+
+DESCRIPTION="Java bindings for cairo"
+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="1.0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gcj source"
+
+DEPS=">=x11-libs/cairo-1.0.0-r2
+ >=dev-java/glib-java-0.2.1
+ >=media-libs/fontconfig-2.3.1
+ >=dev-libs/glib-2.6.0
+ dev-util/pkgconfig"
+
+DEPEND=">=virtual/jdk-1.4
+ >=sys-apps/sed-4
+ source? ( 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_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}/cairo${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
+}
diff --git a/dev-java/cairo-java/files/digest-cairo-java-1.0.2 b/dev-java/cairo-java/files/digest-cairo-java-1.0.2
new file mode 100644
index 000000000000..04f4a80ea12e
--- /dev/null
+++ b/dev-java/cairo-java/files/digest-cairo-java-1.0.2
@@ -0,0 +1 @@
+MD5 cc2c90fec19cdcafd177463e85595120 cairo-java-1.0.2.tar.gz 358083