diff options
author | James Le Cuirot <chewi@gentoo.org> | 2017-08-29 22:59:33 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2017-08-29 23:00:21 +0100 |
commit | 231473fccd5043d2ffd20e46bb6aff7d0ff86bd1 (patch) | |
tree | bcfdbfa8b4372473132bbf8743424c2ef07a3d49 /dev-java/gnu-classpath | |
parent | dev-java/gnu-classpath: Drop gstreamer and Qt support (#629138) (diff) | |
download | gentoo-231473fccd5043d2ffd20e46bb6aff7d0ff86bd1.tar.gz gentoo-231473fccd5043d2ffd20e46bb6aff7d0ff86bd1.tar.bz2 gentoo-231473fccd5043d2ffd20e46bb6aff7d0ff86bd1.zip |
dev-java/gnu-classpath: Remove old 0.98-r5, closes bug #629138
Package-Manager: Portage-2.3.8, Repoman-2.3.2
Diffstat (limited to 'dev-java/gnu-classpath')
-rw-r--r-- | dev-java/gnu-classpath/gnu-classpath-0.98-r5.ebuild | 127 | ||||
-rw-r--r-- | dev-java/gnu-classpath/metadata.xml | 2 |
2 files changed, 0 insertions, 129 deletions
diff --git a/dev-java/gnu-classpath/gnu-classpath-0.98-r5.ebuild b/dev-java/gnu-classpath/gnu-classpath-0.98-r5.ebuild deleted file mode 100644 index da840a48a046..000000000000 --- a/dev-java/gnu-classpath/gnu-classpath-0.98-r5.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils java-pkg-2 multilib - -MY_P=${P/gnu-/} -DESCRIPTION="Free core class libraries for use with Java VMs and compilers" -SRC_URI="mirror://gnu/classpath/${MY_P}.tar.gz" -HOMEPAGE="https://www.gnu.org/software/classpath" - -LICENSE="GPL-2-with-linking-exception" -SLOT="0.98" -KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos" - -IUSE="alsa debug doc dssi examples gconf +gjdoc gmp gtk gstreamer qt4 xml" -REQUIRED_USE="doc? ( gjdoc )" - -RDEPEND="alsa? ( media-libs/alsa-lib ) - dssi? ( >=media-libs/dssi-0.9 ) - gconf? ( gnome-base/gconf:2= ) - gjdoc? ( >=dev-java/antlr-2.7.7-r7:0 ) - gmp? ( >=dev-libs/gmp-4.2.4:0= ) - gstreamer? ( - >=media-libs/gstreamer-0.10.10:0.10= - >=media-libs/gst-plugins-base-0.10.10:0.10= - x11-libs/gtk+:2= - ) - gtk? ( - >=x11-libs/gtk+-2.8:2= - dev-libs/glib:2= - media-libs/freetype:2= - >=x11-libs/cairo-1.1.9:= - x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXtst - x11-libs/pango - ) - qt4? ( dev-qt/qtgui:4= ) - xml? ( >=dev-libs/libxml2-2.6.8:2= >=dev-libs/libxslt-1.1.11 )" - -DEPEND="app-arch/zip - gtk? ( - x11-libs/libXrender - >=x11-libs/libXtst-1.1.0 - x11-proto/xproto - ) - >=virtual/jdk-1.5 - ${RDEPEND}" - -RDEPEND=">=virtual/jre-1.5 - ${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -java_prepare() { - epatch "${FILESDIR}"/${P}-freetype-2.5.3-support.patch -} - -src_configure() { - # don't use econf, because it ends up putting things under /usr, which may - # collide with other slots of classpath - local myconf - if use gjdoc; then - local antlr=$(java-pkg_getjar antlr antlr.jar) - myconf="--with-antlr-jar=${antlr}" - fi - - if use doc; then - # Avoid a cyclic dependency on gjdoc by building gjdoc before - # the docs. First we need to trick configure. Hack alert! - echo -e "#!/bin/sh\necho gjdoc 0.8" > tools/gjdoc.build || die - chmod 755 tools/gjdoc.build || die - fi - - # Force Qt version, bug #619004. - export QT_SELECT=qt4 - - ANTLR= ./configure \ - $(use_enable alsa) \ - $(use_enable debug ) \ - $(use_enable examples) \ - $(use_enable gconf gconf-peer) \ - $(use_enable gjdoc) \ - $(use_enable gmp) \ - $(use_enable gtk gtk-peer) \ - $(use_enable gstreamer gstreamer-peer) \ - $(use_enable qt4 qt-peer) \ - $(use_enable xml xmlj) \ - $(use_enable dssi ) \ - $(use_with doc gjdoc "${S}/tools/gjdoc.build") \ - --enable-jni \ - --disable-dependency-tracking \ - --disable-plugin \ - --host=${CHOST} \ - --prefix="${EPREFIX}"/usr/${PN}-${SLOT} \ - --disable-Werror \ - ${myconf} || die "configure failed" -} - -src_compile() { - if use doc; then - # Build gjdoc before the docs. We need to hack the real gjdoc - # script to run from the build directory instead. - sed -r "s:^(tools_dir=).*:\1${S}/tools:" tools/gjdoc > tools/gjdoc.build || die - emake -C lib - emake -C tools - fi - - default -} - -src_install() { - emake DESTDIR="${D}" install - dodoc AUTHORS BUGS ChangeLog* HACKING NEWS README THANKYOU TODO - java-pkg_regjar /usr/${P}/share/classpath/glibj.zip - - if use doc; then - # Strangely the Makefile doesn't install these. - insinto "/usr/${PN}-${SLOT}/share/classpath/api" - doins -r doc/api/html/* - fi -} diff --git a/dev-java/gnu-classpath/metadata.xml b/dev-java/gnu-classpath/metadata.xml index 336b9ee0b43d..da784f858243 100644 --- a/dev-java/gnu-classpath/metadata.xml +++ b/dev-java/gnu-classpath/metadata.xml @@ -12,8 +12,6 @@ <flag name="gmp">Build with GMP backend for java.math.BigInteger</flag> <flag name="gjdoc">Build GJDoc, a documentation generator</flag> <flag name="gtk">Build with Gtk+ AWT peers</flag> - <flag name="gstreamer">Build with GStreamer javax.sound.sampler provider</flag> - <flag name="qt4">Build with Qt4 AWT peers</flag> <flag name="xml">Build with native XML backend</flag> </use> </pkgmetadata> |