diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-25 02:41:21 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-25 02:41:21 +0000 |
commit | 8a1f16a276d9aacbd3ddd45ee70a82ea643e179a (patch) | |
tree | 3e8397002713067b37f35873871ec751e62aee75 /media-video/projectx | |
parent | Version bump. (diff) | |
download | gentoo-2-8a1f16a276d9aacbd3ddd45ee70a82ea643e179a.tar.gz gentoo-2-8a1f16a276d9aacbd3ddd45ee70a82ea643e179a.tar.bz2 gentoo-2-8a1f16a276d9aacbd3ddd45ee70a82ea643e179a.zip |
new upstream version, also added a build.xml file for ant and introduced support for the source useflag. fixes #86426
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-video/projectx')
-rw-r--r-- | media-video/projectx/ChangeLog | 9 | ||||
-rw-r--r-- | media-video/projectx/Manifest | 15 | ||||
-rw-r--r-- | media-video/projectx/files/0.82.0.00-build.xml | 77 | ||||
-rw-r--r-- | media-video/projectx/files/digest-projectx-0.82.0.00 | 1 | ||||
-rw-r--r-- | media-video/projectx/projectx-0.82.0.00.ebuild | 55 |
5 files changed, 145 insertions, 12 deletions
diff --git a/media-video/projectx/ChangeLog b/media-video/projectx/ChangeLog index 9914b6ff5536..d149f2215bce 100644 --- a/media-video/projectx/ChangeLog +++ b/media-video/projectx/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-video/projectx # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/ChangeLog,v 1.6 2005/01/07 21:16:59 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/ChangeLog,v 1.7 2005/03/25 02:41:21 luckyduck Exp $ + +*projectx-0.82.0.00 (25 Mar 2005) + + 25 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> + +files/0.82.0.00-build.xml, +projectx-0.82.0.00.ebuild: + new upstream version, also added a build.xml file for ant and introduced + support for the source useflag. fixes #86426 07 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> projectx-0.81.7.ebuild: added app-arch/unzip to DEPEND. also see bug #69831. diff --git a/media-video/projectx/Manifest b/media-video/projectx/Manifest index dc5e24ae8a86..7ae9f2881cb1 100644 --- a/media-video/projectx/Manifest +++ b/media-video/projectx/Manifest @@ -1,15 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 f108b8d0629895f314b7743b6112c965 projectx-0.81.7.ebuild 1227 -MD5 e88448457ca7bf2211d09821b72b2010 ChangeLog 1008 +MD5 58a8ee74af1ed1bbfa2ade841b725dc4 ChangeLog 1276 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +MD5 28aa3b3fb8aabe9619660fbcf2784735 projectx-0.82.0.00.ebuild 1221 +MD5 7c607e22a8f4d31b19a807a6f8bfbd50 files/0.82.0.00-build.xml 2045 MD5 af303240d6ff60c3c83a323ea2f4ab73 files/digest-projectx-0.81.7 71 MD5 66747c7e41172eca650581213ea161d5 files/build.xml 1069 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) - -iD8DBQFB3v1N/rLF9B432nYRAk/0AJ9c20jqZCliktzbO4HsOPLjS+h5lwCeJ9sg -66NsTN32HXgPDCUlO3qk5wk= -=a7sY ------END PGP SIGNATURE----- +MD5 6a180b8fda8939d8800a994fa0b2ca2e files/digest-projectx-0.82.0.00 74 diff --git a/media-video/projectx/files/0.82.0.00-build.xml b/media-video/projectx/files/0.82.0.00-build.xml new file mode 100644 index 000000000000..e41011454a3c --- /dev/null +++ b/media-video/projectx/files/0.82.0.00-build.xml @@ -0,0 +1,77 @@ +<?xml version="1.0"?> + +<project name="projectx" default="jar"> + <!-- some properties --> + <property name="src.dir" value="src" /> + <property name="build.dir" value="build" /> + <property name="docs.dir" value="apidocs" /> + <property name="dist.dir" value="dist" /> + <property name="lib.dir" value="lib" /> + <property name="resources.dir" value="resources" /> + <property name="jarfile" value="${dist.dir}/${ant.project.name}.jar" /> + <property name="target.jdk" value="1.4" /> + + <!-- classpath --> + <path id="refcp"> + <fileset dir="${lib.dir}"> + <include name="**/*.jar" /> + </fileset> + </path> + + <!-- init --> + <target name="init"> + <mkdir dir="${dist.dir}" /> + <mkdir dir="${build.dir}" /> + <mkdir dir="${docs.dir}" /> + </target> + + <!-- compile everything --> + <target name="compile" depends="init"> + <mkdir dir="${build.dir}" /> + <javac srcdir="${src.dir}" + destdir="${build.dir}" + source="${target.jdk}" + target="${target.jdk}" + classpathref="refcp"/> + + <copy todir="${build.dir}"> + <fileset dir="${resources.dir}" /> + </copy> + </target> + + <!-- build the jar file --> + <target name="jar" depends="compile"> + <jar jarfile="${jarfile}" basedir="${build.dir}"> + <manifest> + <attribute name="Main-Class" value="net.sourceforge.dvb.projectx.common.X" /> + </manifest> + </jar> + </target> + + <!-- generate javadocs --> + <target name="docs" depends="init"> + <javadoc sourcepath="${src.dir}" + packagenames="net.*, edu.*" + destdir="${docs.dir}" + author="true" + version="true" + use="true" + windowtitle="${ant.project.name} API" /> + </target> + + <!-- clean up --> + <target name="clean"> + <delete dir="${build.dir}" /> + <delete dir="${docs.dir}" /> + <delete dir="${dist.dir}" /> + <delete dir="${lib.dir}" /> + </target> + + <!-- zip the sources --> + <target name="sourcezip"> + <zip destfile="${dist.dir}/${ant.project.name}-src.zip"> + <zipfileset dir="${src.dir}" /> + </zip> + </target> + +</project> diff --git a/media-video/projectx/files/digest-projectx-0.82.0.00 b/media-video/projectx/files/digest-projectx-0.82.0.00 new file mode 100644 index 000000000000..da90e36b9e97 --- /dev/null +++ b/media-video/projectx/files/digest-projectx-0.82.0.00 @@ -0,0 +1 @@ +MD5 4e5149fb1983375e50d7b3a997e26739 ProjectX_Source_0.82.0.00.zip 672372 diff --git a/media-video/projectx/projectx-0.82.0.00.ebuild b/media-video/projectx/projectx-0.82.0.00.ebuild new file mode 100644 index 000000000000..00a4ebd7324d --- /dev/null +++ b/media-video/projectx/projectx-0.82.0.00.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/projectx-0.82.0.00.ebuild,v 1.1 2005/03/25 02:41:21 luckyduck Exp $ + +inherit eutils java-pkg + +MY_PN="ProjectX" +MY_P="${MY_PN}_Source_${PV}" + +DESCRIPTION="Converts, splits and demuxes DVB and other MPEG recordings" +HOMEPAGE="http://sourceforge.net/projects/project-x/" +SRC_URI="mirror://sourceforge/project-x/${MY_P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + jikes? ( dev-java/jikes )" +RDEPEND=">=virtual/jre-1.4 + dev-java/commons-net + dev-java/oro" + +IUSE="doc jikes source" +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd ${S} + + cp ${FILESDIR}/${PV}-build.xml ./build.xml +} + +src_compile() { + local antflags="jar" + use doc && antflags="${antflags} docs" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "compilation failed" +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + # generate a startup script + echo "#!/bin/sh" > ${PN} + echo "\$(java-config -J) -cp \$(java-config -p projectx,oro) net.sourceforge.dvb.projectx.common.X" >> ${PN} + + dobin ${PN} + + if use doc; then + java-pkg_dohtml -r apidocs/ htmls/* + dodoc *.txt + fi + use source && java-pkg_dosrc src/* +} |