diff options
Diffstat (limited to 'media-video/google2srt')
-rw-r--r-- | media-video/google2srt/Manifest | 5 | ||||
-rw-r--r-- | media-video/google2srt/files/build.xml | 85 | ||||
-rw-r--r-- | media-video/google2srt/google2srt-0.5.6-r1.ebuild | 64 | ||||
-rw-r--r-- | media-video/google2srt/metadata.xml | 20 |
4 files changed, 0 insertions, 174 deletions
diff --git a/media-video/google2srt/Manifest b/media-video/google2srt/Manifest deleted file mode 100644 index 8a39dcb99673..000000000000 --- a/media-video/google2srt/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX build.xml 2320 BLAKE2B 48a205bd932f3781be640dab3c03f1a95503326259a7bdba7960abab4ec72d3b7ce13e39798ac7b2bf9ff751a5be1e49cba016e5634abb582a1f56555c1a030e SHA512 057368c9199a41d840b0326647e3a3aef70ddc1c3a286fb53e2d68a9baf3ebd82cc21299af5792d0f0fa0fba4abb399a02c781d83403683a54a895fa04167bf9 -DIST Google2SRT-0.5.6.zip 355167 BLAKE2B bb365ae01db8ca3eba67cfe01840a1e6da6034c86dac45a47c0164a72f9fbd958307ce545423a0c715f7ebefdae31d38686e9103d873d8cf98ecf99da579d143 SHA512 edb7b1ee4440f4962220557c794090edb9b3647a64deb70c19170bb4af3edbb5abc93ddd6061badf458c6cd92c17024b91bbdfa95bb1b366d1092b659db08094 -DIST google2srt-icon.png 1848 BLAKE2B 323ff2128b17ba6584f23869432575eeca87a0195867123193b9734cfb453d8483a79e14ba156e2b8168eb5d03c66795f6ae06d8cdb7c1e1aedcc28fbb593c79 SHA512 051d8ffe8488e2521cdfbfd045d6b5159a18619e12dc1216b1687514cf3f1cebdf2167af372c2ec46d3886412350f5872e8a8c245fee341a30fec51615b5140f -EBUILD google2srt-0.5.6-r1.ebuild 1422 BLAKE2B 1667d7fc5ea5cd096a75fd471c93a1afe27ae94a0193c73cecbd98561e773700b0e684110be272b4bca97ccb46f64e1f0db8288f3355ab86aeb5ed85a1720c7e SHA512 017014d1a5aca47e2874a6cb63d3b54d4917d9a7c46852f84979cb9229b9a1d4aae9d2bca79cb3b32f52181ccde85143374a8666c4ca492101f47cd3c7707d1d -MISC metadata.xml 695 BLAKE2B 36e2180cb2535a86fb99f0660d407a0409eadb22a1a0f798ae4025122e27d4f99c9e15620ca8b84114835b55eefeda35646c7cb09945d1cca5c57d302e93dda7 SHA512 715be615a2f329aed3d08a8c4b2df4bec0ab8f825cf879a2929f55a47c3ec18adec4cc79ea88caa7d7f3bb6af2d0260f92f960a54cd3ba0583c8e58f246b8bed diff --git a/media-video/google2srt/files/build.xml b/media-video/google2srt/files/build.xml deleted file mode 100644 index b1c7e3c775bb..000000000000 --- a/media-video/google2srt/files/build.xml +++ /dev/null @@ -1,85 +0,0 @@ -<?xml version="1.0"?> - -<project name="Google2SRT" default="jar"> - <!-- some properties --> - <property name="src.dir" value="src" /> - <property name="lib.dir" value="lib" /> - <property name="resources.dir" value="resources" /> - <property name="docs.dir" value="apidocs" /> - <property name="build.dir" value="build" /> - <property name="dist.dir" value="dist" /> - <property name="project.jar" value="${dist.dir}/${ant.project.name}.jar" /> - <property name="mainclass.jar" value="GUI" /> - <property name="source.enc" value="UTF-8" /> - <property name="target.jdk" value="1.6" /> - - <!-- classpath --> - <path id="refcp"> - <fileset dir="${lib.dir}"> - <include name="**/*.jar" /> - </fileset> - </path> - - <!-- init --> - <target name="init"> - <mkdir dir="${dist.dir}" /> - <mkdir dir="${docs.dir}" /> - <mkdir dir="${build.dir}" /> - </target> - - <!-- compile everything --> - <target name="compile" depends="init"> - <javac srcdir="${src.dir}" - destdir="${build.dir}" - source="${target.jdk}" - target="${target.jdk}" - classpathref="refcp" - encoding="${source.enc}"/> - <copy todir="${build.dir}"> - <fileset dir="${resources.dir}" /> - </copy> - </target> - - <!-- build the jar files --> - <target name="build" depends="compile"> - <jar jarfile="${project.jar}" basedir="${build.dir}"> - <manifest> - <attribute name="Main-Class" value="${mainclass.jar}" /> - </manifest> - </jar> - </target> - - <!-- generate javadocs --> - <target name="javadoc" depends="init"> - <javadoc sourcepath="${src.dir}" - destdir="${docs.dir}" - packagenames="*" - author="true" - version="true" - use="true" - charset="UTF-8" - encoding="${source.enc}" - defaultexcludes="yes" - classpathref="refcp" - windowtitle="${ant.project.name} API"> - <fileset dir="${src.dir}" defaultexcludes="yes"> - <include name="**/*.java"/> - </fileset> - </javadoc> - </target> - - <!-- clean up --> - <target name="clean"> - <delete dir="${build.dir}" /> - <delete dir="${docs.dir}" /> - <delete dir="${dist.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/google2srt/google2srt-0.5.6-r1.ebuild b/media-video/google2srt/google2srt-0.5.6-r1.ebuild deleted file mode 100644 index 4e228dc166a4..000000000000 --- a/media-video/google2srt/google2srt-0.5.6-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -JAVA_PKG_IUSE="doc source" - -inherit eutils java-pkg-2 java-ant-2 - -MY_PN="Google2SRT" -MY_P="${MY_PN}-${PV}" -MAINCLASS="GUI" - -DESCRIPTION="Convert subtitles from Google Video and YouTube to SubRip (.srt) format" -HOMEPAGE="http://google2srt.sourceforge.net/en/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip - http://sbriesen.de/gentoo/distfiles/google2srt-icon.png" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="html" - -COMMON_DEP="dev-java/jdom:0" - -RDEPEND=">=virtual/jre-1.6 - ${COMMON_DEP}" -DEPEND=" - app-arch/unzip - >=virtual/jdk-1.6 - ${COMMON_DEP}" - -S="${WORKDIR}/${MY_P}" - -java_prepare() { - # copy build.xml - cp -f "${FILESDIR}/build.xml" build.xml || die - - # move resources - mkdir -p "resources" - mv -f src/*.{jpg,properties} "resources/" - - # update library packages - cd lib - rm -f jdom.jar ../${MY_PN}.jar || die - java-pkg_jar-from jdom - java-pkg_ensure-no-bundled-jars -} - -src_compile() { - eant build $(use_doc) -} - -src_install() { - java-pkg_dojar dist/${MY_PN}.jar - java-pkg_dolauncher ${MY_PN} --main ${MAINCLASS} --java_args -Xmx256m - newicon "${DISTDIR}/${PN}-icon.png" "${MY_PN}.png" - make_desktop_entry ${MY_PN} ${MY_PN} ${MY_PN} - use doc && java-pkg_dojavadoc apidocs - use source && java-pkg_dosrc src - use html && dohtml -r doc - newdoc Changelog.txt ChangeLog - newdoc README.TXT README -} diff --git a/media-video/google2srt/metadata.xml b/media-video/google2srt/metadata.xml deleted file mode 100644 index 4af0071e5e99..000000000000 --- a/media-video/google2srt/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>media-video@gentoo.org</email> - <name>Gentoo Video project</name> - </maintainer> - <longdescription lang="en"> - Google2SRT allows you to convert subtitles from Google Video and YouTube - to SubRip (.srt) format, which is recognized by most video players. You - can download XML subtitles or simply type video's URL, Google2SRT will - do the rest. - </longdescription> - <use> - <flag name="html">Install HTML documentation</flag> - </use> - <upstream> - <remote-id type="sourceforge">google2srt</remote-id> - </upstream> -</pkgmetadata> |