diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2004-07-31 19:20:44 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2004-07-31 19:20:44 +0000 |
commit | b2c4de468315811f87eafb144bcd9283035818b2 (patch) | |
tree | 549a467926c71d5302c29aa40cdf48962c378dc7 /media-video/projectx | |
parent | Added macos support. (diff) | |
download | historical-b2c4de468315811f87eafb144bcd9283035818b2.tar.gz historical-b2c4de468315811f87eafb144bcd9283035818b2.tar.bz2 historical-b2c4de468315811f87eafb144bcd9283035818b2.zip |
initial import, ebuild submitted by Stefan Briesenick <sbriesen@gmx.de> bug 55621
Diffstat (limited to 'media-video/projectx')
-rw-r--r-- | media-video/projectx/ChangeLog | 11 | ||||
-rw-r--r-- | media-video/projectx/Manifest | 15 | ||||
-rw-r--r-- | media-video/projectx/files/build.xml | 36 | ||||
-rw-r--r-- | media-video/projectx/files/digest-projectx-0.81.7 | 1 | ||||
-rw-r--r-- | media-video/projectx/metadata.xml | 8 | ||||
-rw-r--r-- | media-video/projectx/projectx-0.81.7.ebuild | 48 |
6 files changed, 119 insertions, 0 deletions
diff --git a/media-video/projectx/ChangeLog b/media-video/projectx/ChangeLog new file mode 100644 index 000000000000..f5d9540f23a5 --- /dev/null +++ b/media-video/projectx/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-video/projectx +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/ChangeLog,v 1.1 2004/07/31 19:20:44 axxo Exp $ + +*projectx-0.81.7 (31 Jul 2004) + + 31 Jul 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml, + +files/build.xml, +projectx-0.81.7.ebuild: + initial import, ebuild submitted by Stefan Briesenick <sbriesen@gmx.de> + bug 55621 + diff --git a/media-video/projectx/Manifest b/media-video/projectx/Manifest new file mode 100644 index 000000000000..9debc1b1b8e2 --- /dev/null +++ b/media-video/projectx/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 489f48113e73b65b56b8130ad6dda3a4 projectx-0.81.7.ebuild 1159 +MD5 6362b3b192089177a7e40ddc1506ca9c ChangeLog 439 +MD5 528b4267eb6de7cfbb5000ac5507f007 metadata.xml 215 +MD5 af303240d6ff60c3c83a323ea2f4ab73 files/digest-projectx-0.81.7 71 +MD5 66747c7e41172eca650581213ea161d5 files/build.xml 1069 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.4 (GNU/Linux) + +iD8DBQFBC/GE/rLF9B432nYRAmRSAJ4yuRUHxlIB0nchSgfVtL+rbIJrGQCgjXRA +74YAgfscGdKX5mZQvqQ0R9o= +=16AS +-----END PGP SIGNATURE----- diff --git a/media-video/projectx/files/build.xml b/media-video/projectx/files/build.xml new file mode 100644 index 000000000000..894e441343b8 --- /dev/null +++ b/media-video/projectx/files/build.xml @@ -0,0 +1,36 @@ +<project name="ProjectX" default="dist" basedir="."> + <description> + Converts, splits and demuxes DVB and other MPEG recordings + </description> + <!-- set global properties for this build --> + <property name="src" location="src"/> + <property name="build" location="build"/> + <property name="dist" location="dist"/> + + <target name="init"> + <tstamp/> + <mkdir dir="${build}"/> + </target> + + <target name="compile" depends="init" description="compile the source " > + <javac srcdir="${src}" destdir="${build}"/> + </target> + + <target name="dist" depends="compile" description="generate the distribution" > + <mkdir dir="${dist}/lib"/> + <jar jarfile="${dist}/lib/${JARNAME}.jar" basedir="${build}"> + <manifest><attribute name="Main-Class" value="X"/></manifest> + </jar> + <copy todir="${dist}/lib"> + <fileset dir="."> + <include name="ac3.bin" /> + </fileset> + </copy> + </target> + + <target name="clean" description="clean up" > + <delete dir="${build}"/> + <delete dir="${dist}"/> + </target> +</project> + diff --git a/media-video/projectx/files/digest-projectx-0.81.7 b/media-video/projectx/files/digest-projectx-0.81.7 new file mode 100644 index 000000000000..b65a8e63c93c --- /dev/null +++ b/media-video/projectx/files/digest-projectx-0.81.7 @@ -0,0 +1 @@ +MD5 69b21178c03d4049360b49650f2a7368 ProjectX_Source_0.81.7.zip 213644 diff --git a/media-video/projectx/metadata.xml b/media-video/projectx/metadata.xml new file mode 100644 index 000000000000..52c375747f50 --- /dev/null +++ b/media-video/projectx/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +<maintainer> +<email>axxo@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/media-video/projectx/projectx-0.81.7.ebuild b/media-video/projectx/projectx-0.81.7.ebuild new file mode 100644 index 000000000000..4c753ec5304d --- /dev/null +++ b/media-video/projectx/projectx-0.81.7.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/projectx-0.81.7.ebuild,v 1.1 2004/07/31 19:20:44 axxo Exp $ + +inherit java-pkg + +MY_PN=ProjectX + +DESCRIPTION="Converts, splits and demuxes DVB and other MPEG recordings" +HOMEPAGE="http://www.lucike.info/" +SRC_URI="http://www.lucike.info/download/software/projectx/${MY_PN}_Source_${PV}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-1.4.1" + +S="${WORKDIR}/${MY_PN}_Source" + +src_unpack() { + unpack "${A}" + cd ${S} + # fix html help location + sed -i "s|htmls/index.html|/usr/share/doc/${P}/html/index.html|g" src/Html.java + # copy selfmade ant build.xml + cp "${FILESDIR}/build.xml" . +} + +src_compile() { + local antflags="dist -DJARNAME=${P}" + ant ${antflags} || die "compile problem" +} + +src_install() { + # create shellscript wrapper + echo -e "#!/bin/sh\nexec \${JAVA_HOME}/bin/java -jar /usr/share/${PN}/${P}.jar \"\$@\"" > ${MY_PN} + + insinto "/usr/share/${PN}" + doins dist/lib/*.jar ac3.bin + + dodoc Copying *.txt + + dohtml -r htmls/ + dobin ${MY_PN} +} + |