diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2006-01-21 22:27:53 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2006-01-21 22:27:53 +0000 |
commit | 1aa8f0a7970455cc32716f1c8e012549aedf606c (patch) | |
tree | fc20a7e7da395db0480f23c33e27ed45249ef620 /media-video/projectx | |
parent | add portuguese (pt) longdescription (diff) | |
download | historical-1aa8f0a7970455cc32716f1c8e012549aedf606c.tar.gz historical-1aa8f0a7970455cc32716f1c8e012549aedf606c.tar.bz2 historical-1aa8f0a7970455cc32716f1c8e012549aedf606c.zip |
initial (re-)commit, using same keywords as old removed package. solving bug #108993.
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'media-video/projectx')
-rw-r--r-- | media-video/projectx/ChangeLog | 11 | ||||
-rw-r--r-- | media-video/projectx/Manifest | 5 | ||||
-rw-r--r-- | media-video/projectx/files/build-0.90.3.xml | 86 | ||||
-rw-r--r-- | media-video/projectx/files/digest-projectx-0.90.3.00 | 1 | ||||
-rw-r--r-- | media-video/projectx/metadata.xml | 15 | ||||
-rw-r--r-- | media-video/projectx/projectx-0.90.3.00.ebuild | 75 |
6 files changed, 193 insertions, 0 deletions
diff --git a/media-video/projectx/ChangeLog b/media-video/projectx/ChangeLog new file mode 100644 index 000000000000..ebb090d90e01 --- /dev/null +++ b/media-video/projectx/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-video/projectx +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/ChangeLog,v 1.14 2006/01/21 22:27:53 sbriesen Exp $ + +*projectx-0.90.3.00 (21 Jan 2006) + + 21 Jan 2006; Stefan Briesenick <sbriesen@gentoo.org> + +files/build-0.90.3.xml, +metadata.xml, +projectx-0.90.3.00.ebuild: + initial (re-)commit, using same keywords as old removed package. solving bug + #108993. + diff --git a/media-video/projectx/Manifest b/media-video/projectx/Manifest new file mode 100644 index 000000000000..f78996ca7e63 --- /dev/null +++ b/media-video/projectx/Manifest @@ -0,0 +1,5 @@ +MD5 237597893afdee34795f6b1220f6b721 ChangeLog 467 +MD5 e328c4b88f2018f71beb83fdc4773a85 files/build-0.90.3.xml 2276 +MD5 94a4612fd016a57fa22cef5b5c9ca6d1 files/digest-projectx-0.90.3.00 74 +MD5 a5bc554bd20390118527a75f399aca04 metadata.xml 552 +MD5 245899bcc8a1be8b6fd24fe9c7f0fb81 projectx-0.90.3.00.ebuild 1811 diff --git a/media-video/projectx/files/build-0.90.3.xml b/media-video/projectx/files/build-0.90.3.xml new file mode 100644 index 000000000000..75444df3136f --- /dev/null +++ b/media-video/projectx/files/build-0.90.3.xml @@ -0,0 +1,86 @@ +<?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="htmls.dir" value="htmls" /> + <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" + encoding="ISO-8859-1"/> + + <copy todir="${build.dir}"> + <fileset dir="${resources.dir}" /> + <fileset file="${htmls.dir}" /> + </copy> + + <copy todir="${build.dir}/${htmls.dir}"> + <fileset dir="${htmls.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.Start" /> + </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" + charset="UTF-8" + encoding="ISO-8859-1" + 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.90.3.00 b/media-video/projectx/files/digest-projectx-0.90.3.00 new file mode 100644 index 000000000000..3b1249dc87a1 --- /dev/null +++ b/media-video/projectx/files/digest-projectx-0.90.3.00 @@ -0,0 +1 @@ +MD5 cce86010313339021d173ea5e1cf40b7 ProjectX_Source_0.90.3.00.zip 903455 diff --git a/media-video/projectx/metadata.xml b/media-video/projectx/metadata.xml new file mode 100644 index 000000000000..0b6d4977d4f0 --- /dev/null +++ b/media-video/projectx/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>video</herd> + <maintainer> + <email>sbriesen@gentoo.org</email> + <name>Stefan Briesenick</name> + </maintainer> + <longdescription lang="en"> + European digital radio & television uses the DVB standard to broadcast + its data. Project X gives you a look behind the transmissions and tries + its best to handle & repair many stream types and shows what went + wrong on reception. + </longdescription> +</pkgmetadata> diff --git a/media-video/projectx/projectx-0.90.3.00.ebuild b/media-video/projectx/projectx-0.90.3.00.ebuild new file mode 100644 index 000000000000..5e54d6074506 --- /dev/null +++ b/media-video/projectx/projectx-0.90.3.00.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/projectx-0.90.3.00.ebuild,v 1.1 2006/01/21 22:27:53 sbriesen Exp $ + +inherit eutils java-pkg + +MY_PN="ProjectX" +MY_P="${MY_PN}_Source_${PV}" + +JAVA_OPTS="-Xms32m -Xmx512m" +CLASS_PATH="projectx,commons-net,jakarta-oro-2.0" +MAIN_CLASS="net.sourceforge.dvb.projectx.common.Start" + +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" +IUSE="doc jikes source" + +RDEPEND=">=virtual/jre-1.4 + dev-java/commons-net + =dev-java/jakarta-oro-2.0*" + +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND} + app-arch/unzip + jikes? ( dev-java/jikes ) + source? ( app-arch/zip )" + +S="${WORKDIR}/${MY_P%.*}" + +src_unpack() { + unpack ${A} + cd "${S}" + + # copy build.xml + cp -f "${FILESDIR}/build-${PV%.*}.xml" build.xml + + # patch location of executable + sed -i -e "s:^\(Exec=\).*:\1${PN}:g" *.desktop + + # convert CRLF to LF + edos2unix *.txt + + # update library packages + cd lib + rm -f {commons-net,jakarta-oro}*.jar + java-pkg_jar-from jakarta-oro-2.0 + java-pkg_jar-from commons-net +} + +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 "exec \$(java-config -J) ${JAVA_OPTS} -cp \$(java-config -p ${CLASS_PATH}) ${MAIN_CLASS} \"\$@\"" >> ${PN} + + dobin ${PN} + dodoc *.txt + domenu *.desktop + + use doc && java-pkg_dohtml -r apidocs/ + use source && java-pkg_dosrc src/* +} |