* [gentoo-commits] gentoo-x86 commit in dev-java/jna: metadata.xml ChangeLog jna-3.4.0.ebuild
@ 2011-12-25 14:23 Miroslav Sulc (fordfrog)
0 siblings, 0 replies; only message in thread
From: Miroslav Sulc (fordfrog) @ 2011-12-25 14:23 UTC (permalink / raw
To: gentoo-commits
fordfrog 11/12/25 14:23:57
Modified: metadata.xml ChangeLog
Added: jna-3.4.0.ebuild
Log:
dev-java/jna: version bump
(Portage version: 2.1.10.43/cvs/Linux x86_64)
Revision Changes Path
1.2 dev-java/jna/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jna/metadata.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jna/metadata.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jna/metadata.xml?r1=1.1&r2=1.2
Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/jna/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml 23 May 2009 07:41:07 -0000 1.1
+++ metadata.xml 25 Dec 2011 14:23:57 -0000 1.2
@@ -2,5 +2,9 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>java</herd>
+ <use>
+ <flag name='awt'>Enables support for Java AWT</flag>
+ <flag name='nio-buffers'>Enables support for NIO buffers</flag>
+ </use>
</pkgmetadata>
1.10 dev-java/jna/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jna/ChangeLog?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jna/ChangeLog?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jna/ChangeLog?r1=1.9&r2=1.10
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/jna/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog 13 Dec 2011 17:05:49 -0000 1.9
+++ ChangeLog 25 Dec 2011 14:23:57 -0000 1.10
@@ -1,6 +1,15 @@
# ChangeLog for dev-java/jna
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jna/ChangeLog,v 1.9 2011/12/13 17:05:49 fordfrog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jna/ChangeLog,v 1.10 2011/12/25 14:23:57 fordfrog Exp $
+
+*jna-3.4.0 (25 Dec 2011)
+
+ 25 Dec 2011; Miroslav Šulc <fordfrog@gentoo.org>
+ +files/3.4.0-build.xml.patch, +jna-3.4.0.ebuild,
+ +files/3.4.0-makefile-flags.patch, metadata.xml:
+ Version bump. Added new USE flags, awt and nio-buffers. awt USE flag should
+ require X USE flag on used JDK/JRE but we do not have this flag on virtuals
+ yet.
*jna-3.3.0 (13 Dec 2011)
1.1 dev-java/jna/jna-3.4.0.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jna/jna-3.4.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jna/jna-3.4.0.ebuild?rev=1.1&content-type=text/plain
Index: jna-3.4.0.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jna/jna-3.4.0.ebuild,v 1.1 2011/12/25 14:23:57 fordfrog Exp $
EAPI="4"
JAVA_PKG_IUSE="test doc source"
WANT_ANT_TASKS="ant-nodeps"
inherit java-pkg-2 java-ant-2 toolchain-funcs flag-o-matic
DESCRIPTION="Java Native Access (JNA)"
HOMEPAGE="https://github.com/twall/jna#readme"
SRC_URI="https://github.com/twall/jna/tarball/3.4.0 -> ${P}-src.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="+awt +nio-buffers"
S="${WORKDIR}/twall-jna-3e5b84f"
RDEPEND="virtual/libffi
>=virtual/jre-1.6"
DEPEND="virtual/libffi
>=virtual/jdk-1.6
test? (
dev-java/junit:0
dev-java/ant-junit:0
dev-java/ant-trax:0
)"
JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_BUILD_TARGET="jar contrib-jars"
java_prepare() {
# delete bundled jars
find -name "*.jar" | xargs rm -v
# respect CFLAGS, don't inhibit warnings, honour CC
# fix build.xml file
epatch "${FILESDIR}/${PV}-makefile-flags.patch" "${FILESDIR}/${PV}-build.xml.patch"
# Fetch our own prebuilt libffi.
mkdir -p build/native/libffi/.libs || die
ln -snf "/usr/$(get_libdir)/libffi.so" \
build/native/libffi/.libs/libffi_convenience.a || die
# Build to same directory on 64-bit archs.
ln -snf build build-d64 || die
if ! use awt ; then
sed -i -E "s/^(CDEFINES=.*)/\1 -DNO_JAWT/g" "${S}"/native/Makefile || die
fi
if ! use nio-buffers ; then
sed -i -E "s/^(CDEFINES=.*)/\1 -DNO_NIO_BUFFERS/g" "${S}"/native/Makefile || die
fi
}
EANT_EXTRA_ARGS="-Ddynlink.native=true"
src_install() {
java-pkg_dojar build/${PN}.jar
java-pkg_dojar contrib/platform/dist/platform.jar
java-pkg_doso build/native/libjnidispatch.so
use source && java-pkg_dosrc src/com
use doc && java-pkg_dojavadoc doc/javadoc
}
src_test() {
unset DISPLAY
mkdir -p lib
java-pkg_jar-from --into lib --build-only junit
ANT_TASKS="ant-junit ant-nodeps ant-trax" \
ANT_OPTS="-Djava.awt.headless=true" eant \
${EANT_EXTRA_ARGS} test
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-12-25 14:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-25 14:23 [gentoo-commits] gentoo-x86 commit in dev-java/jna: metadata.xml ChangeLog jna-3.4.0.ebuild Miroslav Sulc (fordfrog)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox