summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-10-04 16:40:38 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-10-04 16:40:38 +0000
commit84ea364132d51dd57135b048688323fad29f4764 (patch)
treed985f7d8c9af8657b066d79935d69186b2aa60c7 /media-tv/channeleditor
parentchange baselayout-2 init script to call start_addon rather then hardcoding th... (diff)
downloadgentoo-2-84ea364132d51dd57135b048688323fad29f4764.tar.gz
gentoo-2-84ea364132d51dd57135b048688323fad29f4764.tar.bz2
gentoo-2-84ea364132d51dd57135b048688323fad29f4764.zip
Initial import of ebuild, written by Daniel Pielmeier <daniel.pielmeier@googlemail.com>.
(Portage version: 2.1.3.11)
Diffstat (limited to 'media-tv/channeleditor')
-rw-r--r--media-tv/channeleditor/ChangeLog11
-rw-r--r--media-tv/channeleditor/Manifest20
-rw-r--r--media-tv/channeleditor/channeleditor-1.9.2.ebuild51
-rw-r--r--media-tv/channeleditor/files/build.xml36
-rw-r--r--media-tv/channeleditor/files/digest-channeleditor-1.9.23
-rw-r--r--media-tv/channeleditor/metadata.xml10
6 files changed, 131 insertions, 0 deletions
diff --git a/media-tv/channeleditor/ChangeLog b/media-tv/channeleditor/ChangeLog
new file mode 100644
index 000000000000..599e26f2409f
--- /dev/null
+++ b/media-tv/channeleditor/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-tv/channeleditor
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/channeleditor/ChangeLog,v 1.1 2007/10/04 16:40:37 zzam Exp $
+
+*channeleditor-1.9.2 (04 Oct 2007)
+
+ 04 Oct 2007; Matthias Schwarzott <zzam@gentoo.org> +files/build.xml,
+ +metadata.xml, +channeleditor-1.9.2.ebuild:
+ Initial import of ebuild, written by Daniel Pielmeier
+ <daniel.pielmeier@googlemail.com>.
+
diff --git a/media-tv/channeleditor/Manifest b/media-tv/channeleditor/Manifest
new file mode 100644
index 000000000000..8b81172cd384
--- /dev/null
+++ b/media-tv/channeleditor/Manifest
@@ -0,0 +1,20 @@
+AUX build.xml 1036 RMD160 5de0ae289f526eb7802f84c6538d14e75af0e9f6 SHA1 cc388a4831062870b1f9bfca267fc1ae4ec072cb SHA256 54fc93dedb1172e36e9abf87d8c9e8e1e7bc288898e530b85f0c3d33b97a00e5
+MD5 fac234dfaf033511c51d658658226baa files/build.xml 1036
+RMD160 5de0ae289f526eb7802f84c6538d14e75af0e9f6 files/build.xml 1036
+SHA256 54fc93dedb1172e36e9abf87d8c9e8e1e7bc288898e530b85f0c3d33b97a00e5 files/build.xml 1036
+DIST channeleditor_1.9.2_src.tar.gz 317452 RMD160 1653ce761e410434768f9993c775e7b61815312f SHA1 384b4f2432a4f29544d0d56281a88e03004c400b SHA256 1292fe303312839f341bcdde51c897baf347986c16fc70051b18a54f18675f59
+EBUILD channeleditor-1.9.2.ebuild 1105 RMD160 d1a0284a94ce51b60b4865d1140bc4b0ea03ba73 SHA1 946bf3da048b71407e74b487883bda64ac2e4d27 SHA256 7d39eea5d29742b3d38ae5e61386d9ec184a817697d816399e9e1842fe30670c
+MD5 eb6ee0730be997cd8dc40d7e1963449f channeleditor-1.9.2.ebuild 1105
+RMD160 d1a0284a94ce51b60b4865d1140bc4b0ea03ba73 channeleditor-1.9.2.ebuild 1105
+SHA256 7d39eea5d29742b3d38ae5e61386d9ec184a817697d816399e9e1842fe30670c channeleditor-1.9.2.ebuild 1105
+MISC ChangeLog 370 RMD160 e300d218415d5aff859a05ab0344d6b0a98838a4 SHA1 f5107cea2025773842ea2b958a6fdc91bf244d04 SHA256 9db557fe7403a4c4f401de1fb1d78d326f9cf669a1fc6e6b9aff3326cfbfa5da
+MD5 a0f8335dbf64dcae59c2e370c8352503 ChangeLog 370
+RMD160 e300d218415d5aff859a05ab0344d6b0a98838a4 ChangeLog 370
+SHA256 9db557fe7403a4c4f401de1fb1d78d326f9cf669a1fc6e6b9aff3326cfbfa5da ChangeLog 370
+MISC metadata.xml 320 RMD160 d524caf043c1a3f855216a461d214b504d968de3 SHA1 35fd1c17ca3dde69d7cc3254e0269f0c1e2059f3 SHA256 15d0b8284c5bb8a82483a1c3bfb2c1eb05bff26ffc57c5ac13570b99c459dde0
+MD5 436aa56e1b57c7399b17a81f6ff6093b metadata.xml 320
+RMD160 d524caf043c1a3f855216a461d214b504d968de3 metadata.xml 320
+SHA256 15d0b8284c5bb8a82483a1c3bfb2c1eb05bff26ffc57c5ac13570b99c459dde0 metadata.xml 320
+MD5 20d225aa59af183c3777e300bf59d532 files/digest-channeleditor-1.9.2 271
+RMD160 b4e50e94bf36b1487a6eccaf87747ad81dcecfd5 files/digest-channeleditor-1.9.2 271
+SHA256 b62ec991045051806881ac5340fd15f007c7b0838a612172a09aa57625a4e8cc files/digest-channeleditor-1.9.2 271
diff --git a/media-tv/channeleditor/channeleditor-1.9.2.ebuild b/media-tv/channeleditor/channeleditor-1.9.2.ebuild
new file mode 100644
index 000000000000..add201746657
--- /dev/null
+++ b/media-tv/channeleditor/channeleditor-1.9.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/channeleditor/channeleditor-1.9.2.ebuild,v 1.1 2007/10/04 16:40:37 zzam Exp $
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Editor for VDR channels.conf"
+HOMEPAGE="http://renier.re.funpic.de/"
+SRC_URI="mirror://sourceforge/${PN}/${P/-/_}_src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.5"
+RDEPEND=">=virtual/jre-1.5"
+
+S="${WORKDIR}/${PN}"
+
+mainclass() {
+ # read Main-Class from MANIFEST.MF
+ sed -n "s/^Main-Class: \([^ ]\+\).*/\1/p" "${S}/MANIFEST.MF"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # move files out of build and remove stuff not needed in the package
+ mv build/* "${S}"
+ rm -f src/java/org/javalobby/icons/{README,COPYRIGHT}
+
+ # copy build.xml
+ cp -f "${FILESDIR}/build.xml" build.xml
+
+ # convert CRLF to LF
+ edos2unix MANIFEST.MF
+}
+
+src_compile() {
+ eant build -Dmanifest.mainclass=$(mainclass)
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+ java-pkg_dolauncher ${PN} --main $(mainclass)
+
+ make_desktop_entry channeleditor Channeleditor "" "Utility" || \
+ die "Couldn't make ttcut desktop entry"
+}
diff --git a/media-tv/channeleditor/files/build.xml b/media-tv/channeleditor/files/build.xml
new file mode 100644
index 000000000000..8df4479500a0
--- /dev/null
+++ b/media-tv/channeleditor/files/build.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<project name="channeleditor" default="build">
+ <!-- some properties -->
+ <property name="src.dir" value="src"/>
+ <property name="build.dir" value="build"/>
+ <property name="dist.dir" value="dist"/>
+ <property name="resources.dir" value="src/java/"/>
+ <property name="project.jar" value="${dist.dir}/${ant.project.name}.jar"/>
+ <property name="target.jdk" value="1.5"/>
+
+ <!-- init -->
+ <target name="init">
+ <mkdir dir="${dist.dir}"/>
+ </target>
+
+ <!-- compile everything -->
+ <target name="compile" depends="init">
+ <javac srcdir="${src.dir}"
+ destdir="${build.dir}"
+ source="${target.jdk}"
+ target="${target.jdk}"
+ encoding="ISO-8859-1"/>
+ <copy todir="${build.dir}">
+ <fileset dir="${resources.dir}" excludes="**/*.java"/>
+ </copy>
+ </target>
+
+ <!-- build the jar files -->
+ <target name="build" depends="compile">
+ <jar jarfile="${project.jar}" basedir="${build.dir}">
+ <manifest>
+ <attribute name="Main-Class" value="${manifest.mainclass}"/>
+ </manifest>
+ </jar>
+ </target>
+</project>
diff --git a/media-tv/channeleditor/files/digest-channeleditor-1.9.2 b/media-tv/channeleditor/files/digest-channeleditor-1.9.2
new file mode 100644
index 000000000000..d31a01a204e6
--- /dev/null
+++ b/media-tv/channeleditor/files/digest-channeleditor-1.9.2
@@ -0,0 +1,3 @@
+MD5 9d7cf215df8ea733634bb15dff7985e0 channeleditor_1.9.2_src.tar.gz 317452
+RMD160 1653ce761e410434768f9993c775e7b61815312f channeleditor_1.9.2_src.tar.gz 317452
+SHA256 1292fe303312839f341bcdde51c897baf347986c16fc70051b18a54f18675f59 channeleditor_1.9.2_src.tar.gz 317452
diff --git a/media-tv/channeleditor/metadata.xml b/media-tv/channeleditor/metadata.xml
new file mode 100644
index 000000000000..46f1f283c11c
--- /dev/null
+++ b/media-tv/channeleditor/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>media-tv</herd>
+ <maintainer>
+ <email>daniel.pielmeier@googlemail.com</email>
+ <name>Daniel Pielmeier</name>
+ <description>Proxied maintainer</description>
+ </maintainer>
+</pkgmetadata>