diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-04 22:28:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-04 22:28:33 +0100 |
commit | a978c074e4272bb901fbe4a10de0a7b2af574f17 (patch) | |
tree | 8c764c1cc0576389ce22abd317bceba71ea5732d /dev-java/miglayout/miglayout-4.0.ebuild | |
parent | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (diff) |
gentoo resync : 04.05.2021
Diffstat (limited to 'dev-java/miglayout/miglayout-4.0.ebuild')
-rw-r--r-- | dev-java/miglayout/miglayout-4.0.ebuild | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/dev-java/miglayout/miglayout-4.0.ebuild b/dev-java/miglayout/miglayout-4.0.ebuild deleted file mode 100644 index 83297335bfb2..000000000000 --- a/dev-java/miglayout/miglayout-4.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc examples source" - -inherit java-pkg-2 - -DESCRIPTION="Easy to use yet very powerful Java Swing layout manager" -HOMEPAGE="http://www.miglayout.com/" -SRC_URI="http://www.migcalendar.com/miglayout/versions/${PV}/${P}-sources.jar" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="swt" - -COMMON_DEPEND="swt? ( dev-java/swt:3.7 )" -BDEPEND="app-arch/unzip" -RDEPEND=" - ${COMMON_DEPEND} - >=virtual/jre-1.5 -" -DEPEND=" - ${COMMON_DEPEND} - >=virtual/jdk-1.5 -" - -S="${WORKDIR}" - -src_prepare() { - default - - mv net/miginfocom/{demo,examples} . || die - mv demo/* examples || die - - if ! use swt; then - rm -r net/miginfocom/swt || die - fi - - find net -name '*.java' > sources.lst -} - -src_compile() { - local classpath - use swt && classpath=( -classpath "$(java-pkg_getjars swt-3.7)" ) - - mkdir classes || die - ejavac "${classpath[@]}" -d classes @sources.lst || die - jar -cf ${PN}.jar -C classes . || die - - if use doc; then - javadoc "${classpath[@]}" -author -version -d api @sources.lst || die - fi -} - -src_install() { - java-pkg_dojar ${PN}.jar - - use doc && java-pkg_dojavadoc api - use examples && java-pkg_doexamples examples - use source && java-pkg_dosrc net -} |