mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-23 07:29:19 +02:00
After a message to gentoo-dev ML, and no reply from any user on x86, we decided to dekeyword most Java packages from x86, and reverse dependencies of them. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
33 lines
906 B
Bash
33 lines
906 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
JAVA_PKG_IUSE="doc source"
|
|
|
|
inherit java-pkg-2 java-pkg-simple
|
|
|
|
DESCRIPTION="A library that facilitates opening a browser from a Java application"
|
|
HOMEPAGE="https://browserlaunch2.sourceforge.net/"
|
|
SRC_URI="https://downloads.sourceforge.net/project/browserlaunch2/browserlauncher2/${PV}/BrowserLauncher2-all-${PV//./_}.jar"
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="1.0"
|
|
KEYWORDS="amd64 ppc64"
|
|
|
|
DEPEND=">=virtual/jdk-1.8:*"
|
|
RDEPEND=">=virtual/jre-1.8:*"
|
|
BDEPEND="app-arch/unzip"
|
|
|
|
JAVA_SRC_DIR="source"
|
|
JAVA_RESOURCE_DIRS="resources"
|
|
JAVA_MAIN_CLASS="edu.stanford.ejalbert.testing.BrowserLauncherTestApp"
|
|
JAVA_ENCODING="ISO-8859-1"
|
|
|
|
src_prepare() {
|
|
default
|
|
java-pkg_clean
|
|
|
|
cp -r source resources || die "Cannot create resources dir"
|
|
find resources -type f ! -name '*.properties' -exec rm -rf {} + || die
|
|
}
|