kde-apps/poxml: remove extras USE flag.
authorJames Le Cuirot <chewi@gentoo.org>
Sun, 13 Sep 2015 18:07:56 +0000 (04:07 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 13 Sep 2015 18:18:52 +0000 (04:18 +1000)
ANTLR hasn't been used for years so remove that stuff

Package-Manager: portage-2.2.20.1

kde-apps/poxml/metadata.xml
kde-apps/poxml/poxml-4.14.3.ebuild

index 5941d59c8476cfccf8f1bb4e2b4a08c88a60e32e..a23f444b67d6ce6905070de7246a3dd27591b0fd 100644 (file)
@@ -2,7 +2,4 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
        <herd>kde</herd>
-       <use>
-               <flag name="extras">Build po2xml and swappo tools</flag>
-       </use>
 </pkgmetadata>
index 50af4e712d963cb08115c605b91a599c6144cec3..2bab180e778e88d39a1e5fbc9258ab736bb6bcd8 100644 (file)
@@ -4,51 +4,11 @@
 
 EAPI=5
 
-JAVA_PKG_OPT_USE=extras
-inherit java-pkg-opt-2 java-ant-2 kde4-base
+inherit kde4-base
 
 DESCRIPTION="KDE utility to translate DocBook XML files using gettext po files"
 KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="debug extras"
+IUSE="debug"
 
-DEPEND="
-       extras? (
-               >=virtual/jdk-1.5
-               >=dev-java/antlr-2.7.7:0[cxx,java,script]
-       )
-"
-RDEPEND="
-       extras? (
-               >=virtual/jre-1.5
-               >=dev-java/antlr-2.7.7:0[cxx,java,script]
-       )
-       !<=kde-base/kdesdk-misc-4.10.50:4
-"
-
-# java deps on anltr cant be properly explained to cmake deps
-# needs to be run in one thread
-MAKEOPTS+=" -j1"
-
-pkg_setup() {
-       kde4-base_pkg_setup
-       java-pkg-opt-2_pkg_setup
-}
-
-src_prepare() {
-       kde4-base_src_prepare
-       java-pkg-opt-2_src_prepare
-}
-
-src_configure() {
-       local mycmakeargs=(
-               $(cmake-utils_use_with extras Antlr2)
-       )
-
-       kde4-base_src_configure
-       java-ant-2_src_configure
-}
-
-pkg_preinst() {
-       kde4-base_pkg_preinst
-       java-pkg-2_pkg_preinst
-}
+DEPEND="sys-devel/gettext"
+RDEPEND="${DEPEND}"