diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2013-08-04 21:52:24 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2013-08-04 21:52:24 +0000 |
commit | 28fee1ce660c93554fbd9b510ed661e0838669ec (patch) | |
tree | 13318ab9ea4cea3042619b97325640aef2b08068 /media-video | |
parent | Create USE="lvm2create_initrd" and pull in sys-apps/makedev when required wrt... (diff) | |
download | gentoo-2-28fee1ce660c93554fbd9b510ed661e0838669ec.tar.gz gentoo-2-28fee1ce660c93554fbd9b510ed661e0838669ec.tar.bz2 gentoo-2-28fee1ce660c93554fbd9b510ed661e0838669ec.zip |
version bump.
(Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key BB6C42C7)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/google2srt/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/google2srt/google2srt-0.5.6.ebuild | 64 |
2 files changed, 71 insertions, 1 deletions
diff --git a/media-video/google2srt/ChangeLog b/media-video/google2srt/ChangeLog index 75befc0e42c5..151f59014fcd 100644 --- a/media-video/google2srt/ChangeLog +++ b/media-video/google2srt/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/google2srt # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/google2srt/ChangeLog,v 1.3 2013/07/21 09:02:06 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/google2srt/ChangeLog,v 1.4 2013/08/04 21:52:24 sbriesen Exp $ + +*google2srt-0.5.6 (04 Aug 2013) + + 04 Aug 2013; Stefan Briesenick <sbriesen@gentoo.org> + +google2srt-0.5.6.ebuild: + version bump. 21 Jul 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml: Cleanup due #92799 diff --git a/media-video/google2srt/google2srt-0.5.6.ebuild b/media-video/google2srt/google2srt-0.5.6.ebuild new file mode 100644 index 000000000000..5c0697a05f5f --- /dev/null +++ b/media-video/google2srt/google2srt-0.5.6.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/google2srt/google2srt-0.5.6.ebuild,v 1.1 2013/08/04 21:52:24 sbriesen Exp $ + +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:1.0" + +RDEPEND=">=virtual/jre-1.6 + ${COMMON_DEP}" + +DEPEND=">=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-1.0 + 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 +} |