dev-java/openjdk-sts-bin: Removed examples, fixed building

Removed examples due that do not distributing throught upstream

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Denis Reva <denis7774@gmail.com>
This commit is contained in:
Denis Reva
2020-04-23 14:00:25 +05:00
parent 84826ed0e9
commit 0ba5e2509f

View File

@@ -26,7 +26,7 @@ DESCRIPTION="Prebuilt Java JDK binaries provided by AdoptOpenJDK. Short Term Sup
HOMEPAGE="https://adoptopenjdk.net"
LICENSE="GPL-2-with-classpath-exception"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"
IUSE="alsa cups examples -gentoo-vm headless-awt source"
IUSE="alsa cups -gentoo-vm headless-awt source"
RDEPEND="
media-libs/fontconfig:1.0
@@ -70,10 +70,6 @@ src_install() {
rm -v lib/libjsound.* || die
fi
if ! use examples ; then
rm -vr demo/ || die
fi
if use headless-awt ; then
rm -v lib/lib*{[jx]awt,splashscreen}* || die
fi