summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/proguard
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/proguard')
-rw-r--r--dev-java/proguard/Manifest4
-rw-r--r--dev-java/proguard/metadata.xml12
-rw-r--r--dev-java/proguard/proguard-4.5.ebuild65
-rw-r--r--dev-java/proguard/proguard-4.7.ebuild65
-rw-r--r--dev-java/proguard/proguard-4.8.ebuild65
-rw-r--r--dev-java/proguard/proguard-5.2.1.ebuild69
6 files changed, 280 insertions, 0 deletions
diff --git a/dev-java/proguard/Manifest b/dev-java/proguard/Manifest
new file mode 100644
index 000000000000..ce24f9dd42ee
--- /dev/null
+++ b/dev-java/proguard/Manifest
@@ -0,0 +1,4 @@
+DIST proguard4.5.tar.gz 1827325 SHA256 ccd621c0560817c252d999c66e1c975f307758e928104c14be02ec311e107e4e SHA512 bf1d9c29a4b3e1ba8062632b0f7f97e8f8d3dd2fbfbdc4bbbe98fa76151721fa45b22a1d99890654c557f3a1b87b45038d4882c0cb192b907ec2c65f4e7429fa WHIRLPOOL 0783643bd69f8d972d7a469300fb61f1e06868ee434d1eaf4769bd71d0b9f4d56ef348906857cfdc8b5e20deae6596bb1c7ba9c10cd593b40715e49381fce61d
+DIST proguard4.7.tar.gz 1902321 SHA256 ea2c245257d59957ce8dee9476b9595ac99c0a9c5194d739a3a800af5fac99e7 SHA512 cbf3e5ddb11a37af169cd563ffc04e554b925e99ff4f3797626e286ac40554577f2715050b46f5d1a9599de97cb62090b39798ea0aa006273d91cf8217e9e60b WHIRLPOOL 55723ae601ea02ffa27644977499c3c81b3491534a90506884b3eb68ccab87e8e1191d15fd3729871e4276b65f0f8e24a54a05b2527e27f5f906fef00227dba1
+DIST proguard4.8.tar.gz 1914047 SHA256 84db4aef4235ad312e221ae95485d7848fc468db66699f1b155d89c5036374f6 SHA512 f06c98c784a71fa9e2c137c6bc4c062dfcf2eeaa28653b909b475226cf133fb67821128a3fb6ab0702807cd229330da8b64e810d9078d0b7510083453feffa10 WHIRLPOOL 5372e1100a90a28dd195ae3893adbbf2222e686fead0a8f032777795cb3f0c39c3e4f407bdc8176ac9c42d70c85fade0bae23351595849204cc2753f04a15bb4
+DIST proguard5.2.1.tar.gz 2160584 SHA256 162fb2816212c6a7a195884a01ff826920919e97f57914a5b00bdf7641fc00f6 SHA512 7c2735860d689f9002e40e7a5304eb61f8fb8abc1da36ea62fa32541cdf2e655bb2d27814e2b8137d29a1ab02a57c57961491612ea8e735788fdea719e6239be WHIRLPOOL 841a3a35a47b0252734270ed1da0c5d046a18ca159a446ebbe18405c4508d4bca1c245e1ec89c475aa62f0adc646ee1f99583b2e7943db6ec70568328f5f53f8
diff --git a/dev-java/proguard/metadata.xml b/dev-java/proguard/metadata.xml
new file mode 100644
index 000000000000..e53d61d2885e
--- /dev/null
+++ b/dev-java/proguard/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <use>
+ <flag name="ant">Ant task for using ProGuard in build.xml scripts</flag>
+ <flag name="j2me">Adds support for J2ME Wireless Toolkit</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">proguard</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/proguard/proguard-4.5.ebuild b/dev-java/proguard/proguard-4.5.ebuild
new file mode 100644
index 000000000000..96e8d253d14f
--- /dev/null
+++ b/dev-java/proguard/proguard-4.5.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+JAVA_PKG_IUSE="doc examples source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Free Java class file shrinker, optimizer, and obfuscator"
+HOMEPAGE="http://proguard.sourceforge.net/"
+MY_P=${P/-/}
+MY_P=${MY_P/_/}
+SRC_URI="mirror://sourceforge/proguard/${MY_P}.tar.gz"
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="0"
+KEYWORDS="amd64 x86 ~x86-fbsd"
+IUSE="ant j2me"
+
+DEPEND=">=virtual/jdk-1.4
+ j2me? ( >=dev-java/sun-j2me-bin-2.2:0 )"
+RDEPEND=">=virtual/jre-1.4
+ >=dev-java/ant-core-1.7:0
+ j2me? ( >=dev-java/sun-j2me-bin-2.2:0 )"
+
+S=${WORKDIR}/${MY_P}
+
+java_prepare() {
+ find "${S}" -name "*.jar" | xargs rm -v
+}
+
+EANT_BUILD_XML="build/build.xml"
+EANT_BUILD_TARGET="basic"
+EANT_DOC_TARGET=""
+
+src_compile() {
+ local j2mearg antarg
+
+ use ant && antarg="-Dant.jar=$(java-pkg_getjar ant-core ant.jar)"
+ use j2me && j2mearg="-Dwtk.jar=$(java-pkg_getjar sun-j2me-bin kenv.zip)"
+
+ java-pkg-2_src_compile \
+ $(use ant && echo anttask ${antarg}) \
+ $(use j2me && echo wtkplugin ${j2mearg})
+
+ if use doc; then
+ mkdir javadoc || die
+ javadoc -d javadoc -sourcepath src -classpath $${cp} -subpackages proguard || die "Cannot compile javadoc"
+ fi
+}
+
+src_install() {
+ java-pkg_dojar lib/*
+ java-pkg_dolauncher ${PN} --main proguard.ProGuard
+ java-pkg_dolauncher ${PN}gui --main proguard.gui.ProGuardGUI
+ java-pkg_dolauncher ${PN}_retrace --main proguard.retrace.ReTrace
+
+ if use doc; then
+ dohtml -r docs/*
+ java-pkg_dojavadoc javadoc
+ fi
+
+ use examples && java-pkg_doexamples examples
+}
diff --git a/dev-java/proguard/proguard-4.7.ebuild b/dev-java/proguard/proguard-4.7.ebuild
new file mode 100644
index 000000000000..309240aeacf2
--- /dev/null
+++ b/dev-java/proguard/proguard-4.7.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+JAVA_PKG_IUSE="doc examples source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Free Java class file shrinker, optimizer, and obfuscator"
+HOMEPAGE="http://proguard.sourceforge.net/"
+MY_P=${P/-/}
+MY_P=${MY_P/_/}
+SRC_URI="mirror://sourceforge/proguard/${MY_P}.tar.gz"
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE="ant j2me"
+
+DEPEND=">=virtual/jdk-1.4
+ j2me? ( >=dev-java/sun-j2me-bin-2.2:0 )"
+RDEPEND=">=virtual/jre-1.4
+ >=dev-java/ant-core-1.7:0
+ j2me? ( >=dev-java/sun-j2me-bin-2.2:0 )"
+
+S=${WORKDIR}/${MY_P}
+
+java_prepare() {
+ find "${S}" -name "*.jar" | xargs rm -v
+}
+
+EANT_BUILD_XML="build/build.xml"
+EANT_BUILD_TARGET="basic"
+EANT_DOC_TARGET=""
+
+src_compile() {
+ local j2mearg antarg
+
+ use ant && antarg="-Dant.jar=$(java-pkg_getjar ant-core ant.jar)"
+ use j2me && j2mearg="-Dwtk.jar=$(java-pkg_getjar sun-j2me-bin kenv.zip)"
+
+ java-pkg-2_src_compile \
+ $(use ant && echo anttask ${antarg}) \
+ $(use j2me && echo wtkplugin ${j2mearg})
+
+ if use doc; then
+ mkdir javadoc || die
+ javadoc -d javadoc -sourcepath src -classpath $${cp} -subpackages proguard || die "Cannot compile javadoc"
+ fi
+}
+
+src_install() {
+ java-pkg_dojar lib/*
+ java-pkg_dolauncher ${PN} --main proguard.ProGuard
+ java-pkg_dolauncher ${PN}gui --main proguard.gui.ProGuardGUI
+ java-pkg_dolauncher ${PN}_retrace --main proguard.retrace.ReTrace
+
+ if use doc; then
+ dohtml -r docs/*
+ java-pkg_dojavadoc javadoc
+ fi
+
+ use examples && java-pkg_doexamples examples
+}
diff --git a/dev-java/proguard/proguard-4.8.ebuild b/dev-java/proguard/proguard-4.8.ebuild
new file mode 100644
index 000000000000..eae5da79aaf7
--- /dev/null
+++ b/dev-java/proguard/proguard-4.8.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+JAVA_PKG_IUSE="doc examples source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Free Java class file shrinker, optimizer, and obfuscator"
+HOMEPAGE="http://proguard.sourceforge.net/"
+MY_P=${P/-/}
+MY_P=${MY_P/_/}
+SRC_URI="mirror://sourceforge/proguard/${MY_P}.tar.gz"
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE="ant j2me"
+
+DEPEND=">=virtual/jdk-1.4
+ j2me? ( >=dev-java/sun-j2me-bin-2.2:0 )"
+RDEPEND=">=virtual/jre-1.4
+ >=dev-java/ant-core-1.7:0
+ j2me? ( >=dev-java/sun-j2me-bin-2.2:0 )"
+
+S=${WORKDIR}/${MY_P}
+
+java_prepare() {
+ find "${S}" -name "*.jar" -delete
+}
+
+EANT_BUILD_XML="build/build.xml"
+EANT_BUILD_TARGET="basic"
+EANT_DOC_TARGET=""
+
+src_compile() {
+ local j2mearg antarg
+
+ use ant && antarg="-Dant.jar=$(java-pkg_getjar ant-core ant.jar)"
+ use j2me && j2mearg="-Dwtk.jar=$(java-pkg_getjar sun-j2me-bin kenv.zip)"
+
+ java-pkg-2_src_compile \
+ $(use ant && echo anttask ${antarg}) \
+ $(use j2me && echo wtkplugin ${j2mearg})
+
+ if use doc; then
+ mkdir javadoc || die
+ javadoc -d javadoc -sourcepath src -classpath $${cp} -subpackages proguard || die "Cannot compile javadoc"
+ fi
+}
+
+src_install() {
+ java-pkg_dojar lib/*
+ java-pkg_dolauncher ${PN} --main proguard.ProGuard
+ java-pkg_dolauncher ${PN}gui --main proguard.gui.ProGuardGUI
+ java-pkg_dolauncher ${PN}_retrace --main proguard.retrace.ReTrace
+
+ if use doc; then
+ dohtml -r docs/*
+ java-pkg_dojavadoc javadoc
+ fi
+
+ use examples && java-pkg_doexamples examples
+}
diff --git a/dev-java/proguard/proguard-5.2.1.ebuild b/dev-java/proguard/proguard-5.2.1.ebuild
new file mode 100644
index 000000000000..ae87f1fe55ad
--- /dev/null
+++ b/dev-java/proguard/proguard-5.2.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Free Java class file shrinker, optimizer, and obfuscator"
+HOMEPAGE="http://proguard.sourceforge.net/"
+MY_P=${P/-/}
+MY_P=${MY_P/_/}
+SRC_URI="mirror://sourceforge/proguard/${MY_P}.tar.gz"
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE="ant examples"
+
+DEPEND=">=virtual/jdk-1.5"
+RDEPEND=">=virtual/jre-1.5
+ >=dev-java/ant-core-1.7:0"
+
+S=${WORKDIR}/${MY_P}
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_BUILD_XML="buildscripts/build.xml"
+EANT_BUILD_TARGET="basic"
+EANT_DOC_TARGET=""
+
+java_prepare() {
+ find -name "*.jar" -delete || die
+}
+
+src_compile() {
+ local anttask=""
+
+ if use ant; then
+ anttask="anttask"
+ EANT_GENTOO_CLASSPATH="ant-core"
+ fi
+
+ java-pkg-2_src_compile ${anttask}
+
+ if use doc; then
+ local EXCLUDE="proguard.gradle:proguard.wtk"
+ use ant || EXCLUDE+=":proguard.ant"
+
+ local CP="$([[ -n ${EANT_GENTOO_CLASSPATH} ]] && java-pkg_getjars ${EANT_GENTOO_CLASSPATH})"
+ ejavadoc -d javadoc -sourcepath src -classpath "${CP}" -subpackages proguard -exclude "${EXCLUDE}"
+ fi
+}
+
+src_install() {
+ java-pkg_dojar lib/*.jar
+ java-pkg_dolauncher ${PN} --main proguard.ProGuard
+ java-pkg_dolauncher ${PN}gui --main proguard.gui.ProGuardGUI
+ java-pkg_dolauncher ${PN}_retrace --main proguard.retrace.ReTrace
+
+ if use doc; then
+ dohtml -r docs/*
+ java-pkg_dojavadoc javadoc
+ fi
+
+ use examples && java-pkg_doexamples examples
+ use source && java-pkg_dosrc src/*
+}