summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2006-04-02 19:41:20 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2006-04-02 19:41:20 +0000
commitc3edab6db2ab14bb2ff47eeeb9ad1c96704ac029 (patch)
tree9a8692abf4210cf873eec494fc97dd256171c2ac /media-video
parentAdd little workaround for imperfect patch, bug #125002. (diff)
downloadhistorical-c3edab6db2ab14bb2ff47eeeb9ad1c96704ac029.tar.gz
historical-c3edab6db2ab14bb2ff47eeeb9ad1c96704ac029.tar.bz2
historical-c3edab6db2ab14bb2ff47eeeb9ad1c96704ac029.zip
version bump, internal ebuild enhancements, solving bug #128167.
Package-Manager: portage-2.1_pre7-r2
Diffstat (limited to 'media-video')
-rw-r--r--media-video/projectx/ChangeLog8
-rw-r--r--media-video/projectx/Manifest15
-rw-r--r--media-video/projectx/files/build-0.90.4.xml86
-rw-r--r--media-video/projectx/files/digest-projectx-0.90.4.006
-rw-r--r--media-video/projectx/projectx-0.90.4.00.ebuild87
5 files changed, 198 insertions, 4 deletions
diff --git a/media-video/projectx/ChangeLog b/media-video/projectx/ChangeLog
index 2d2a9379401a..9edf6f749b45 100644
--- a/media-video/projectx/ChangeLog
+++ b/media-video/projectx/ChangeLog
@@ -1,6 +1,12 @@
# 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.15 2006/02/06 10:14:45 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/ChangeLog,v 1.16 2006/04/02 19:41:20 sbriesen Exp $
+
+*projectx-0.90.4.00 (02 Apr 2006)
+
+ 02 Apr 2006; Stefan Briesenick <sbriesen@gentoo.org>
+ +files/build-0.90.4.xml, +projectx-0.90.4.00.ebuild:
+ version bump, internal ebuild enhancements, solving bug #128167.
*projectx-0.90.3.01 (06 Feb 2006)
diff --git a/media-video/projectx/Manifest b/media-video/projectx/Manifest
index 1c567efdf89b..5f1d99fc6d81 100644
--- a/media-video/projectx/Manifest
+++ b/media-video/projectx/Manifest
@@ -1,15 +1,21 @@
-MD5 45a351506dad7bc4f7580f42a9a0f383 ChangeLog 604
-RMD160 50b2b180523b27459a4702edaabee0f12c53b4d7 ChangeLog 604
-SHA256 32acfc94fca3fb8a76e4433a77faf66ae1793fa8cee3116fb6168d55da1dfd66 ChangeLog 604
+MD5 e2191402393696dffd2a5403f0540cb1 ChangeLog 817
+RMD160 1859927330c860cd19bf2e6f820e6657cd6c0c4d ChangeLog 817
+SHA256 16d6d325bc663ad2ba5658643e96832b6c03638750e9c1a8f18aa4bc60870222 ChangeLog 817
MD5 e328c4b88f2018f71beb83fdc4773a85 files/build-0.90.3.xml 2276
RMD160 78a4eaeb6c264f1438db282951194642a8f16c86 files/build-0.90.3.xml 2276
SHA256 92e122f79ec6677d6fdd27a671d7f094f229178ec239c4184b198dea4f9b39dd files/build-0.90.3.xml 2276
+MD5 eb72efa3ebfc180c4ecd9334b6e7fa00 files/build-0.90.4.xml 2256
+RMD160 9ec47bf02544542f35ee63ca939b95ce081ce315 files/build-0.90.4.xml 2256
+SHA256 ed4ca5545ee8ade4fd5cb2d8ce6000e40f05c1e6cbfeb03079d11f8942876849 files/build-0.90.4.xml 2256
MD5 94a4612fd016a57fa22cef5b5c9ca6d1 files/digest-projectx-0.90.3.00 74
RMD160 84b68380a1843385a6f9280d525c3b4e831b9da2 files/digest-projectx-0.90.3.00 74
SHA256 8356489ed14c6f205c8169d417d6f18314c65929c385bef97d919d48e237fe61 files/digest-projectx-0.90.3.00 74
MD5 480ae2e47b381833b2c9b15c58872d84 files/digest-projectx-0.90.3.01 268
RMD160 44ce96d0fecd94ccd7da298f811c1520b877dbea files/digest-projectx-0.90.3.01 268
SHA256 711dc2208fb9c68ea445d25c4e74cdee8685e539204666d0ea18c0ff7f52bf2b files/digest-projectx-0.90.3.01 268
+MD5 7b4581f73e9f900c70c80e4fbde2eaf7 files/digest-projectx-0.90.4.00 566
+RMD160 37de8f0abb23d7161191e5129bdf15949525fb02 files/digest-projectx-0.90.4.00 566
+SHA256 0485d242e0b8e732f6c3c0a324b5cd42599809579f58ba18f8b45446e7203293 files/digest-projectx-0.90.4.00 566
MD5 a5bc554bd20390118527a75f399aca04 metadata.xml 552
RMD160 e64d43298a7062ee3524be66149d4189e0a54138 metadata.xml 552
SHA256 594f8951dcebe3c7e750e8ac9e2ae008f55c01d0d06b39865c9f682bb8bbfa8f metadata.xml 552
@@ -19,3 +25,6 @@ SHA256 7bbd54d1ddf9d59e5f6432e4478f23f9a31b82aad25dd507ad381b505a3f8978 projectx
MD5 799dd25a61c5a343039ddc495a43b0e8 projectx-0.90.3.01.ebuild 1808
RMD160 0b3aae6b4a42ca90cd964596b2e9401fed9f75fc projectx-0.90.3.01.ebuild 1808
SHA256 923823d3689e641de6ed60e72dab9e395e9fc04b1246a7f533b7d152ed4b440c projectx-0.90.3.01.ebuild 1808
+MD5 eed5124969ca92b613e1936192cd1f4b projectx-0.90.4.00.ebuild 2115
+RMD160 12867dd9ebfc237ad231f9f5c23875c881c5d141 projectx-0.90.4.00.ebuild 2115
+SHA256 80d0182bbe500d4ebcc9ef3cdf75f81749f207bbf2e5808f30ec339df2c46ef3 projectx-0.90.4.00.ebuild 2115
diff --git a/media-video/projectx/files/build-0.90.4.xml b/media-video/projectx/files/build-0.90.4.xml
new file mode 100644
index 000000000000..7413658ce48f
--- /dev/null
+++ b/media-video/projectx/files/build-0.90.4.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="${manifest.mainclass}" />
+ </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.4.00 b/media-video/projectx/files/digest-projectx-0.90.4.00
new file mode 100644
index 000000000000..a5702858cd7c
--- /dev/null
+++ b/media-video/projectx/files/digest-projectx-0.90.4.00
@@ -0,0 +1,6 @@
+MD5 edfe8d04bd3d403eec4d9e27d1b976d2 ProjectX_LanguagePack_0.90.4.00.zip 124257
+RMD160 09f63b0761568f5934960663e52a0043a48727ee ProjectX_LanguagePack_0.90.4.00.zip 124257
+SHA256 eff00b1b623e8a0c986eb79472622fd771c1c44b9d9d83062e6cc0772e9fd841 ProjectX_LanguagePack_0.90.4.00.zip 124257
+MD5 92d7b5aea50b8811307f27b6e01ceb5c ProjectX_Source_eng_0.90.4.00.zip 825784
+RMD160 8914557a5e04f02ba574a48711ecb6b24e651482 ProjectX_Source_eng_0.90.4.00.zip 825784
+SHA256 fe41e409381a988201404338bb3dd178caa71ab6058151ae49a1e97b0aa58537 ProjectX_Source_eng_0.90.4.00.zip 825784
diff --git a/media-video/projectx/projectx-0.90.4.00.ebuild b/media-video/projectx/projectx-0.90.4.00.ebuild
new file mode 100644
index 000000000000..667f2351abd9
--- /dev/null
+++ b/media-video/projectx/projectx-0.90.4.00.ebuild
@@ -0,0 +1,87 @@
+# 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.4.00.ebuild,v 1.1 2006/04/02 19:41:20 sbriesen Exp $
+
+inherit eutils java-pkg
+
+MY_PN="ProjectX"
+
+# micro-release == 0 ?
+if [ 0${PV##*.} -eq 0 ]; then
+ MY_P="${MY_PN}_Source_${PV%.*}"
+else
+ MY_P="${MY_PN}_Source_${PV}"
+fi
+
+JAVA_OPTS="-Xms32m -Xmx512m"
+CLASS_PATH="projectx,commons-net,jakarta-oro-2.0"
+
+DESCRIPTION="Converts, splits and demuxes DVB and other MPEG recordings"
+HOMEPAGE="http://sourceforge.net/projects/project-x/"
+SRC_URI="mirror://sourceforge/project-x/${MY_PN}_Source_eng_${PV}.zip
+ mirror://sourceforge/project-x/${MY_PN}_LanguagePack_${PV}.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}"
+
+mainclass() {
+ # read Main-Class from MANIFEST.MF
+ sed -n "s/^Main-Class: \([^ ]\+\).*/\1/p" "${S}/MANIFEST.MF"
+}
+
+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 MANIFEST.MF
+
+ # 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"
+ antflags="${antflags} -Dmanifest.mainclass=$(mainclass)"
+ 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}) $(mainclass) \"\$@\"" >> ${PN}
+
+ dobin ${PN}
+ dodoc *.txt
+ domenu *.desktop
+
+ use doc && java-pkg_dohtml -r apidocs/
+ use source && java-pkg_dosrc src/*
+}