diff options
author | 2023-07-22 15:51:21 -0700 | |
---|---|---|
committer | 2023-08-17 19:15:55 +0200 | |
commit | ff3471cea9307775a3cc5c815f18fa94c8943838 (patch) | |
tree | 9f7d68cbfdc038966c7cd09253d495c7a8e79939 /x11-misc | |
parent | media-libs/scifio-jai-imageio: new package, add 1.1.1, 9999 (diff) | |
download | sci-ff3471cea9307775a3cc5c815f18fa94c8943838.tar.gz sci-ff3471cea9307775a3cc5c815f18fa94c8943838.tar.bz2 sci-ff3471cea9307775a3cc5c815f18fa94c8943838.zip |
x11-misc/xdg-java: new package, add 0.1.1, 9999
Signed-off-by: IAHMCOL <IAHMCOL@thejabberwocky.net>
Closes: https://github.com/gentoo/sci/pull/1205
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/xdg-java/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/xdg-java/metadata.xml | 14 | ||||
-rw-r--r-- | x11-misc/xdg-java/xdg-java-0.1.1.ebuild | 45 | ||||
-rw-r--r-- | x11-misc/xdg-java/xdg-java-9999.ebuild | 45 |
4 files changed, 105 insertions, 0 deletions
diff --git a/x11-misc/xdg-java/Manifest b/x11-misc/xdg-java/Manifest new file mode 100644 index 000000000..1cad78fa2 --- /dev/null +++ b/x11-misc/xdg-java/Manifest @@ -0,0 +1 @@ +DIST xdg-java-0.1.1-sources.tar.gz 19734 BLAKE2B 402eedd9d0c6e8fd2ddb138fcbd16b06d653af6e219f5ca91df73dce9cbbed3764e39e886a67b4290fd079c71a2b86b2be2a31cee368d12f2e022deeb8887612 SHA512 01f63339bc21a502693c803f38762e66fc0ad570acf0ba6fde17519d820e9f6b94183f30b265ab68467a7c37a9df65612aed3774b6b6f955113c2bac9f1f7077 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>sci@gentoo.org</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" |