[dev-java/jinput] required by minecraft

This commit is contained in:
Fabio Erculiani
2011-05-15 10:55:25 +02:00
parent 8a38a96a32
commit 73f7e0c5ae
4 changed files with 76 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
# ChangeLog for dev-java/jinput
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
19 Dec 2010; James Le Cuirot <chewi@aura-online.co.uk>
-jinput-1_pre20060905.ebuild, -files/jinput-fix-build.xmls.patch,
+jinput-1_pre20100416.ebuild:
Version bump and cleanup. Respect CFLAGS and LDFLAGS. Don't prestrip.
Tests generally only work as root and probably aren't reliable so remove.
22 Jan 2009; Alistair Bush <ali_bush@gentoo.org> ChangeLog:
Add ChangeLog for QA.
+4
View File
@@ -0,0 +1,4 @@
DIST jinput-1_pre20100416.tar.lzma 91716 RMD160 5fb3a6f7b956fb2f5d0ffb6b3ac76b42973adfbc SHA1 2d4c996aab0358c0aabea9893603fc9f59908e9c SHA256 9ee80f11a7c981ef7d5ec970cec2998dfc6798da2d6b6de669cad35c1f0fedd9
EBUILD jinput-1_pre20100416.ebuild 984 RMD160 d96e1b413de1e22af1549a1ed74aa0787945c66e SHA1 d59b7f4a851dfe111131b0ce4e1b0bad472c2266 SHA256 79113db885556a6a0c30528bed009b2b0de58b459efec1a128f4572f01708e2e
MISC ChangeLog 508 RMD160 eafbb1915fbd44e994d44e5dd9145e5bc3b69bfd SHA1 9bd3f67a56e002da08b3693bf052e03fbedb46ba SHA256 647f38bc6142b0c04e83b213cb8c9b69b1b505f7b8229398fadfaeeecc7504a4
MISC metadata.xml 597 RMD160 cc53ae57677268e685476b4ed0c7d4f137247cb0 SHA1 2eea23a26258899945c4a96ab83be694ea85374c SHA256 9de1f23c46844e2a6c0432ce6d88a62188342935e51031f5ceb9cb74be8f28e9
@@ -0,0 +1,44 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
WANT_ANT_TASKS="ant-nodeps"
JAVA_PKG_IUSE="source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="An implementation of an API for game controller discovery and polled input"
HOMEPAGE="https://jinput.dev.java.net"
SRC_URI="http://dev.gentooexperimental.org/~chewi/distfiles/${P}.tar.lzma"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=virtual/jdk-1.4
dev-java/jutils"
RDEPEND=">=virtual/jre-1.4
dev-java/jutils"
S="${WORKDIR}/${PN}"
JAVA_PKG_BSFIX="off"
EANT_BUILD_TARGET="dist"
src_prepare() {
java-pkg_jar-from --into lib jutils
sed -i \
-e "s/-O[0-9]/${CFLAGS} ${LDFLAGS}/g" \
-e '/<apply .*executable="strip"/,/<\/apply>/d' \
plugins/linux/src/native/build.xml || die
}
src_install() {
java-pkg_dojar dist/jinput.jar
java-pkg_doso dist/*.so
use source && java-pkg_dosrc applet/src/* */src/java/* */**/src/java/*
}
+16
View File
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>java</herd>
<maintainer>
<email>alistair.bush at gmail.com</email>
<name>Alistair Bush</name>
</maintainer>
<longdescription lang="en">
The JInput Project hosts an implementation of an API for game controller
discovery and polled input. It is part of a suite of open-source technologies
initiated by the Game Technology Group at Sun Microsystems with intention of
making the development of high performance games in Java a reality.
</longdescription>
</pkgmetadata>