diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-10 17:26:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-10 17:26:49 +0100 |
commit | 6957f5c65b02bba533954eabc0b62f5de36be206 (patch) | |
tree | 21d8ab8f61dffd9cccc82d0badb68982516a6855 /sci-mathematics/kodkodi | |
parent | e91a1aaa5ec8fab37f0fd082ac6024d41c6651e2 (diff) |
gentoo resync : 10.04.2018
Diffstat (limited to 'sci-mathematics/kodkodi')
-rw-r--r-- | sci-mathematics/kodkodi/Manifest | 1 | ||||
-rw-r--r-- | sci-mathematics/kodkodi/kodkodi-1.5.2.ebuild | 106 |
2 files changed, 0 insertions, 107 deletions
diff --git a/sci-mathematics/kodkodi/Manifest b/sci-mathematics/kodkodi/Manifest index c4290d0fea84..5d8167f1ac6d 100644 --- a/sci-mathematics/kodkodi/Manifest +++ b/sci-mathematics/kodkodi/Manifest @@ -1,4 +1,3 @@ DIST kodkodi-1.5.2.tgz 2826648 BLAKE2B 1c2c83b2fd0df3bf01d8aa5a5332a4347cd64493daef28780b3cc8fa7d627bed1d05cee91afdfef88b62d262e8ba39be6d8ae719b2f6e0da40808d5ef3176c17 SHA512 117e0f1b3e3ee88efb9a9e2f02e8a7ce82a3487528ad0476acf20fafd885d3d48c051bd4a8cb6aa5cda61f24dfa74159448b83398be4119e726e757f6ff3aad4 EBUILD kodkodi-1.5.2-r1.ebuild 2893 BLAKE2B b70a581375137db1c0cc714dd1fc5f42947470287f93970eabd8bd2e2a6c082a68f8eddb9eeff63f611f14422c24dd7c5e1401aedd2fe77121bd7dc0176a2e64 SHA512 b7a36e799ed2b0a96a28662f5e0e98c56fcdbac4e85e090b83f30f941300c8cf572a6125b6193abf50341f17ad379db397063aa17aec64b4f8135bd8fb06b0a9 -EBUILD kodkodi-1.5.2.ebuild 2895 BLAKE2B 73c853f04d0e31edc842db092c5376fe9422c9ece8d410b18a64398bbdb8fb55fac3468b43276f044b3329ae6ac6b09e5800e3d181305c36e9f5f3aa1203692e SHA512 186712deb7f8723099aa33a9ddcd26d69c0bee4b69fe1da0f407aba110a08cb7019ade2cfcbb9dffd389c3f55022b00a05545dd8a17b6a6da826cafe8aa5f631 MISC metadata.xml 570 BLAKE2B 9a1bb608090c1748c207a1aaa0cb88d91b381ca5201ebc71b36f23e5f96b896ab0ad23434cb5fd5e251058e2c2098f4f009c73946c16a65f9fc1d9f31cab89b4 SHA512 e41523244a6503726c4e81500011d26554e709d6eb670005f761fa6fe82c3243b0f5eb2840f83c242cd376763cc467d40049bbb53cef856724f04f9ab2a1c251 diff --git a/sci-mathematics/kodkodi/kodkodi-1.5.2.ebuild b/sci-mathematics/kodkodi/kodkodi-1.5.2.ebuild deleted file mode 100644 index 9041007f4db1..000000000000 --- a/sci-mathematics/kodkodi/kodkodi-1.5.2.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple multilib - -DESCRIPTION="A text front-end for the Kodkod Java library" -HOMEPAGE="http://www21.in.tum.de/~blanchet/#software" -SRC_URI="http://www21.in.tum.de/~blanchet/${P}.tgz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="isabelle examples" - -COMMON_DEP="dev-java/antlr:3 - =sci-mathematics/kodkod-1.5*:=" -RDEPEND="${COMMON_DEP} - isabelle? ( - >=sci-mathematics/isabelle-2011-r1:= - ) - >=virtual/jre-1.6" -DEPEND="${COMMON_DEP} - >=virtual/jdk-1.6 - app-arch/unzip" - -S="${WORKDIR}/${P}" - -JAVA_GENTOO_CLASSPATH="kodkod,antlr-3" - -java_prepare() { - sed -e 's@exec "$ISABELLE_TOOL" java $KODKODI_JAVA_OPT@java@' \ - -i "${S}/bin/kodkodi" || die "Could not patch bin/kodkodi" - rm -f jar/*.jar || die "Could not rm jar files" -} - -src_compile() { - JAVA_SRC_DIR="src" - TARGETDIR="/usr/share/${P}" - KODKOD_LIBDIR="/usr/"$(get_libdir)"/kodkod" - - java-pkg-simple_src_compile - - pushd "${S}/target/classes" > /dev/null || die - jar -uf "${S}"/${PN}.jar $(find -name '*.class') || die - popd > /dev/null -} - -src_install() { - java-pkg-simple_src_install - dodoc README HISTORY manual/${PN}.pdf LICENSES/Kodkodi - insinto ${TARGETDIR} - if use examples; then - doins -r examples - fi - - if use isabelle; then - ISABELLE_HOME="$(isabelle getenv ISABELLE_HOME | cut -d'=' -f 2)" \ - || die "isabelle getenv ISABELLE_HOME failed" - [[ -n "${ISABELLE_HOME}" ]] || die "ISABELLE_HOME empty" - dodir "${ISABELLE_HOME}/contrib/${PN}-${PV}/etc" - cat <<- EOF >> "${S}/settings" - KODKODI="\$COMPONENT" - KODKODI_VERSION="${PV}" - KODKODI_PLATFORM=\$ISABELLE_PLATFORM - KODKODI_CLASSPATH="$(java-config --classpath=antlr:3):${ROOT}usr/share/${PN}-${SLOT}/lib/kodkodi.jar:$(java-config --classpath=kodkod)" - KODKODI_JAVA_LIBRARY_PATH="${KODKOD_LIBDIR}" - EOF - insinto "${ISABELLE_HOME}/contrib/${PN}-${PV}/etc" - doins "${S}/settings" - dodir "${ISABELLE_HOME}/contrib/${PN}-${PV}/bin" - exeinto "${ISABELLE_HOME}/contrib/${PN}-${PV}/bin" - doexe bin/kodkodi - fi -} - -pkg_postinst() { - if use isabelle; then - if [ -f "${ROOT}etc/isabelle/components" ]; then - if egrep "contrib/${PN}-[0-9.]*" "${ROOT}etc/isabelle/components"; then - sed -e "/contrib\/${PN}-[0-9.]*/d" \ - -i "${ROOT}etc/isabelle/components" - fi - cat <<- EOF >> "${ROOT}etc/isabelle/components" - contrib/${PN}-${PV} - EOF - fi - fi -} - -pkg_postrm() { - if use isabelle; then - if [ ! -f "${ROOT}usr/bin/kodkodi" ]; then - if [ -f "${ROOT}etc/isabelle/components" ]; then - # Note: this sed should only match the version of this ebuild - # Which is what we want as we do not want to remove the line - # of a new kodkodi being installed during an upgrade. - sed -e "/contrib\/${PN}-${PV}/d" \ - -i "${ROOT}etc/isabelle/components" - fi - fi - fi -} |