aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/lombok-bin/Manifest (renamed from dev-java/lombok/Manifest)0
-rw-r--r--dev-java/lombok-bin/lombok-bin-1.16.8.ebuild (renamed from dev-java/lombok/lombok-1.16.8.ebuild)15
-rw-r--r--dev-java/lombok-bin/metadata.xml4
-rw-r--r--dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.5.2-r1.ebuild4
-rw-r--r--dev-util/eclipse-sdk-bin/metadata.xml3
5 files changed, 18 insertions, 8 deletions
diff --git a/dev-java/lombok/Manifest b/dev-java/lombok-bin/Manifest
index e64cf10..e64cf10 100644
--- a/dev-java/lombok/Manifest
+++ b/dev-java/lombok-bin/Manifest
diff --git a/dev-java/lombok/lombok-1.16.8.ebuild b/dev-java/lombok-bin/lombok-bin-1.16.8.ebuild
index 28e7f3e..ef9cbb7 100644
--- a/dev-java/lombok/lombok-1.16.8.ebuild
+++ b/dev-java/lombok-bin/lombok-bin-1.16.8.ebuild
@@ -5,16 +5,19 @@ EAPI=6
inherit eutils
+MY_PN="lombok"
+
DESCRIPTION="Project Lombok makes java a spicier language by adding 'handlers' that know how to build and compile simple, boilerplate-free, not-quite-java code."
HOMEPAGE="https://projectlombok.org/"
-SRC_URI="https://projectlombok.org/downloads/${P}.jar"
+SRC_URI="https://projectlombok.org/downloads/${MY_PN}-${PV}.jar"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="x86 amd64"
+KEYWORDS="~amd64 ~x86"
-DEPEND=">=virtual/jdk-1.7"
-RDEPEND="${DEPEND}"
+DEPEND=""
+RDEPEND=">=virtual/jdk-1.7
+ ${DEPEND}"
src_unpack() {
# so prepare is happy about the empty dir
@@ -22,6 +25,6 @@ src_unpack() {
}
src_install() {
- mkdir ${D}/usr/share/lombok -p
- cp ${DISTDIR}/${P}.jar ${D}/usr/share/lombok/lombok.jar
+ mkdir -p "${D}/usr/share/lombok"
+ cp "${DISTDIR}/${MY_PN}-${PV}.jar" "${D}/usr/share/lombok/lombok.jar"
}
diff --git a/dev-java/lombok-bin/metadata.xml b/dev-java/lombok-bin/metadata.xml
new file mode 100644
index 0000000..097975e
--- /dev/null
+++ b/dev-java/lombok-bin/metadata.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+</pkgmetadata>
diff --git a/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.5.2-r1.ebuild b/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.5.2-r1.ebuild
index 47f5796..05b6553 100644
--- a/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.5.2-r1.ebuild
+++ b/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.5.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -33,7 +33,7 @@ CDEPEND="
DEPEND="${CDEPEND}"
RDEPEND=">=virtual/jdk-1.6
x11-libs/gtk+:2
- lombok? ( dev-java/lombok )
+ lombok? ( dev-java/lombok-bin )
${CDEPEND}"
S="${WORKDIR}"/eclipse
diff --git a/dev-util/eclipse-sdk-bin/metadata.xml b/dev-util/eclipse-sdk-bin/metadata.xml
index 90c59c3..d46b71e 100644
--- a/dev-util/eclipse-sdk-bin/metadata.xml
+++ b/dev-util/eclipse-sdk-bin/metadata.xml
@@ -7,5 +7,8 @@
</maintainer>
<use>
<flag name='system-icu'>Use the system-wide <pkg>dev-java/icu4j</pkg></flag>
+ <flag name='lombok'>Pull in <pkg>dev-java/lombok</pkg>, it can still be overwritten on a per-user basis</flag>
</use>
</pkgmetadata>
+
+