commit: ff3471cea9307775a3cc5c815f18fa94c8943838 Author: Israel Hernandez <israel.a.hernandez <AT> gmail <DOT> com> AuthorDate: Sat Jul 22 22:51:21 2023 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Thu Aug 17 17:15:55 2023 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ff3471ce
x11-misc/xdg-java: new package, add 0.1.1, 9999 Signed-off-by: IAHMCOL <IAHMCOL <AT> thejabberwocky.net> Closes: https://github.com/gentoo/sci/pull/1205 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> x11-misc/xdg-java/metadata.xml | 14 ++++++++++ x11-misc/xdg-java/xdg-java-0.1.1.ebuild | 45 +++++++++++++++++++++++++++++++++ x11-misc/xdg-java/xdg-java-9999.ebuild | 45 +++++++++++++++++++++++++++++++++ 3 files changed, 104 insertions(+) diff --git a/x11-misc/xdg-java/metadata.xml b/x11-misc/xdg-java/metadata.xml new file mode 100644 index 000000000..45a5f9d39 --- /dev/null +++ b/x11-misc/xdg-java/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <longdescription> + This is a Java API that provides an easy to use implementations of various Free Desktop specifications. Use the correct application specific configuration, data and cache directories. Safely read and write desktop entries without worrying about parsing and escaping. + </longdescription> + <maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo Science Project</name> + </maintainer> + <upstream> + <remote-id type="github">kothar/xdg-java</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-misc/xdg-java/xdg-java-0.1.1.ebuild b/x11-misc/xdg-java/xdg-java-0.1.1.ebuild new file mode 100644 index 000000000..8723b0774 --- /dev/null +++ b/x11-misc/xdg-java/xdg-java-0.1.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Java bindings for various FreeDesktop.org standards" +HOMEPAGE="https://github.com/kothar/xdg-java" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/kothar/xdg-java.git" + S="${WORKDIR}/${P}" + MAVEN_ID="net.kothar:xdg-java:9999" +else + SRC_URI=" + https://github.com/kothar/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}-sources.tar.gz + " + S="${WORKDIR}/${P}" + MAVEN_ID="net.kothar:xdg-java:0.1.1" + KEYWORDS="~amd64" +fi + +LICENSE="LGPL-2.1" +SLOT="0" + +DEPEND=">=virtual/jdk-1.8:*" + +BDEPEND=" + >=virtual/jdk-1.8:* + test? ( + >=dev-java/junit-4.13.2:4 + ) +" + +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="src/test/java" diff --git a/x11-misc/xdg-java/xdg-java-9999.ebuild b/x11-misc/xdg-java/xdg-java-9999.ebuild new file mode 100644 index 000000000..8723b0774 --- /dev/null +++ b/x11-misc/xdg-java/xdg-java-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Java bindings for various FreeDesktop.org standards" +HOMEPAGE="https://github.com/kothar/xdg-java" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/kothar/xdg-java.git" + S="${WORKDIR}/${P}" + MAVEN_ID="net.kothar:xdg-java:9999" +else + SRC_URI=" + https://github.com/kothar/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}-sources.tar.gz + " + S="${WORKDIR}/${P}" + MAVEN_ID="net.kothar:xdg-java:0.1.1" + KEYWORDS="~amd64" +fi + +LICENSE="LGPL-2.1" +SLOT="0" + +DEPEND=">=virtual/jdk-1.8:*" + +BDEPEND=" + >=virtual/jdk-1.8:* + test? ( + >=dev-java/junit-4.13.2:4 + ) +" + +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="src/test/java"
