From a087460872a3dd2550c34411bef5ed207d020bad Mon Sep 17 00:00:00 2001 From: Alistair Bush Date: Mon, 24 Nov 2008 09:17:21 +0000 Subject: Version Bump (Portage version: 2.2_rc15/cvs/Linux 2.6.27-gentoo x86_64) --- games-puzzle/pauker/ChangeLog | 8 ++- games-puzzle/pauker/files/pauker_bundledjars.patch | 14 ++++ games-puzzle/pauker/pauker-1.8_rc6.ebuild | 75 ++++++++++++++++++++++ 3 files changed, 96 insertions(+), 1 deletion(-) create mode 100644 games-puzzle/pauker/files/pauker_bundledjars.patch create mode 100644 games-puzzle/pauker/pauker-1.8_rc6.ebuild (limited to 'games-puzzle') diff --git a/games-puzzle/pauker/ChangeLog b/games-puzzle/pauker/ChangeLog index c6f73437be2d..b80b395ac102 100644 --- a/games-puzzle/pauker/ChangeLog +++ b/games-puzzle/pauker/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-puzzle/pauker # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pauker/ChangeLog,v 1.21 2008/07/02 19:08:43 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pauker/ChangeLog,v 1.22 2008/11/24 09:17:21 ali_bush Exp $ + +*pauker-1.8_rc6 (24 Nov 2008) + + 24 Nov 2008; Alistair Bush + +files/pauker_bundledjars.patch, +pauker-1.8_rc6.ebuild: + Version Bump. 02 Jul 2008; Brent Baude pauker-1.7.5-r1.ebuild: stable ppc, bug 229235 diff --git a/games-puzzle/pauker/files/pauker_bundledjars.patch b/games-puzzle/pauker/files/pauker_bundledjars.patch new file mode 100644 index 000000000000..1ed79dbe4d86 --- /dev/null +++ b/games-puzzle/pauker/files/pauker_bundledjars.patch @@ -0,0 +1,14 @@ +--- build.xml.orig 2008-11-24 20:24:55.000000000 +1300 ++++ build.xml 2008-11-24 20:25:33.000000000 +1300 +@@ -88,11 +88,6 @@ + basedir="build/classes/" + includes="pauker/**,tools/**" + excludes="pauker/Changes.txt,pauker/TODO.txt,**/*BeanInfo*,**/GraphicalStatisticPanel.gif"> +- +- +- +- + + + diff --git a/games-puzzle/pauker/pauker-1.8_rc6.ebuild b/games-puzzle/pauker/pauker-1.8_rc6.ebuild new file mode 100644 index 000000000000..0e797829e7e4 --- /dev/null +++ b/games-puzzle/pauker/pauker-1.8_rc6.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pauker/pauker-1.8_rc6.ebuild,v 1.1 2008/11/24 09:17:21 ali_bush Exp $ + +JAVA_PKG_IUSE="doc source" +EAPI="1" + +inherit eutils java-pkg-2 java-ant-2 games + +MY_PV="1.8RC6" + +DESCRIPTION="A java based flashcard program" +HOMEPAGE="http://pauker.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.src.jar" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="" + +COMMON_DEP="dev-java/browserlauncher2:1.0 + dev-java/javahelp + dev-java/lucene:2.4 + dev-java/swing-layout:1" + +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.5 + app-arch/unzip + ${COMMON_DEP}" + +S="${WORKDIR}" + +pkg_setup() { + games_pkg_setup + java-pkg-2_pkg_setup +} + +src_unpack() { + unpack ${A} + cd "${S}" + find . -iname '*.jar' -delete + + epatch "${FILESDIR}/${PN}_bundledjars.patch" + + java-pkg_jar-from --into libs browserlauncher2-1.0 browserlauncher2.jar BrowserLauncher2-1_3.jar + java-pkg_jar-from --into libs javahelp jhall.jar + java-pkg_jar-from --into libs lucene-2.4 lucene-core.jar lucene-core-2.4.0.jar + java-pkg_jar-from --into libs swing-layout-1 swing-layout.jar +} + +src_compile() { + eant -Dfile.reference.BrowserLauncher2-1_3.jar="libs/BrowserLauncher2-1_3.jar" \ + -Dlibs.swing-layout.classpath="libs/swing-layout.jar" jar $(use_doc javadoc) +} + +#test depend on jemmy, a netbeans module. so unless it is packaged separately +#tests cannot be build. + +src_install() { + java-pkg_jarinto "${GAMES_DATADIR}/${PN}" + java-pkg_newjar "dist/${PN}-${MY_PV}.jar" + + java-pkg_dolauncher ${PN} \ + -into "${GAMES_PREFIX}" \ + --pwd "${GAMES_DATADIR}"/${PN} \ + --main pauker.program.gui.swing.PaukerFrame + + use doc && java-pkg_dojavadoc dist/javadoc + use source && java-pkg_dosrc src + + prepgamesdirs +} + -- cgit v1.2.3-65-gdbad