diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2024-06-16 19:21:55 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-06-19 10:03:48 +0200 |
commit | 0e5fd3c9781a1c27ee61c78511f4d7980eee770a (patch) | |
tree | 8d8b0748fe56e885bde53acafc936323a8bdbdc2 /dev-java | |
parent | sci-physics/root: add 6.32.02, drop 6.32.00 (diff) | |
download | gentoo-0e5fd3c9781a1c27ee61c78511f4d7980eee770a.tar.gz gentoo-0e5fd3c9781a1c27ee61c78511f4d7980eee770a.tar.bz2 gentoo-0e5fd3c9781a1c27ee61c78511f4d7980eee770a.zip |
dev-java/cortado: rewrite with java-pkg-simple
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/36770/commits/cd9f21412c09311f8429b2f4783b29ede3b1270a
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/cortado/Manifest | 1 | ||||
-rw-r--r-- | dev-java/cortado/cortado-0.6.0-r3.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-java/cortado/Manifest b/dev-java/cortado/Manifest index df5b340e6078..3ddb27a53bab 100644 --- a/dev-java/cortado/Manifest +++ b/dev-java/cortado/Manifest @@ -1 +1,2 @@ DIST cortado-0.6.0.tar.gz 233854 BLAKE2B 54ace339a6038b46bbf2d993eb911f1845f8717dcf4eeaae0fcd807488a0293bb6618fe72ffa5bc425dc9f7d47f5362ff55168191aab15dbed59547f7c1d72dd SHA512 56113259da05a73f4d4e7aca92d031fa934987ad3607a69b31666c9e452330a95728e7780c45d825ddeb9c0815ace479d7a55df0e68a50e63a76ddf5602c76da +DIST cortado-sun.audio-Java-9.patch 1653 BLAKE2B aa365d4c8746cb69aba3c78c1db37560808c99b73a1a0a4b8170e6df630faf526b793f4aaf5bdbaa28ecb9cf63cd97986400c6bc0acf59c9ddd9f12a9022e1be SHA512 e78468ee40b4eaae7da49de0d820a66c0ccb23a75974499de7e7cb9c8c6870521c4c5587b5d791e45c9d2316354dae422ff41ac0c6128381aa820d57f74a5527 diff --git a/dev-java/cortado/cortado-0.6.0-r3.ebuild b/dev-java/cortado/cortado-0.6.0-r3.ebuild new file mode 100644 index 000000000000..94d8827d6314 --- /dev/null +++ b/dev-java/cortado/cortado-0.6.0-r3.ebuild @@ -0,0 +1,37 @@ +# 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="Multimedia framework for Java written by Fluendo" +HOMEPAGE="https://www.theora.org/cortado/" +SRC_URI="https://downloads.xiph.org/releases/cortado/${P}.tar.gz + https://sources.debian.org/data/main/c/cortado/0.6.0-5/debian/patches/sun.audio-Java-9.patch + -> cortado-sun.audio-Java-9.patch" +S="${WORKDIR}/${P}" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( ChangeLog HACKING NEWS README RELEASE TODO ) + +PATCHES=( "${DISTDIR}/cortado-sun.audio-Java-9.patch" ) + +JAVA_SRC_DIR="src" + +src_prepare() { + default #780585 + java-pkg-2_src_prepare + cat > scripts/get-revision <<-EOF || die + #!/bin/sh + echo ${PV} + EOF +} |