diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2011-05-01 21:30:39 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2011-05-01 21:30:39 +0000 |
commit | 885835bd4d73e33d1434df70cd023672ee7b2bf2 (patch) | |
tree | 073e26e60478440649950826b835a4352a76b431 /media-video/xvideoservicethief | |
parent | Guard script sed command with an if statement (diff) | |
download | gentoo-2-885835bd4d73e33d1434df70cd023672ee7b2bf2.tar.gz gentoo-2-885835bd4d73e33d1434df70cd023672ee7b2bf2.tar.bz2 gentoo-2-885835bd4d73e33d1434df70cd023672ee7b2bf2.zip |
Change media-video/ffmpeg dependency to virtual/ffmpeg. Bug #362157
(Portage version: 2.1.9.44/cvs/Linux x86_64)
Diffstat (limited to 'media-video/xvideoservicethief')
-rw-r--r-- | media-video/xvideoservicethief/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/xvideoservicethief/xvideoservicethief-2.4.1.ebuild | 6 | ||||
-rw-r--r-- | media-video/xvideoservicethief/xvideoservicethief-2.4.ebuild | 77 |
3 files changed, 9 insertions, 82 deletions
diff --git a/media-video/xvideoservicethief/ChangeLog b/media-video/xvideoservicethief/ChangeLog index f53b0a3289fd..f7eb47525cdf 100644 --- a/media-video/xvideoservicethief/ChangeLog +++ b/media-video/xvideoservicethief/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-video/xvideoservicethief -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/xvideoservicethief/ChangeLog,v 1.22 2010/11/03 21:49:24 maekke Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/xvideoservicethief/ChangeLog,v 1.23 2011/05/01 21:30:39 hwoarang Exp $ + + 01 May 2011; Markos Chandras <hwoarang@gentoo.org> + -xvideoservicethief-2.4.ebuild, xvideoservicethief-2.4.1.ebuild: + Change media-video/ffmpeg dependency to virtual/ffmpeg. Bug #362157 03 Nov 2010; Markus Meier <maekke@gentoo.org> xvideoservicethief-2.4.1.ebuild: diff --git a/media-video/xvideoservicethief/xvideoservicethief-2.4.1.ebuild b/media-video/xvideoservicethief/xvideoservicethief-2.4.1.ebuild index 3dd9440dcc23..01490c1f4c73 100644 --- a/media-video/xvideoservicethief/xvideoservicethief-2.4.1.ebuild +++ b/media-video/xvideoservicethief/xvideoservicethief-2.4.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/xvideoservicethief/xvideoservicethief-2.4.1.ebuild,v 1.5 2010/11/03 21:49:24 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/xvideoservicethief/xvideoservicethief-2.4.1.ebuild,v 1.6 2011/05/01 21:30:39 hwoarang Exp $ EAPI=2 @@ -25,7 +25,7 @@ DEPEND="app-arch/unzip >=x11-libs/qt-webkit-4.5.3:4 doc? ( app-doc/doxygen )" RDEPEND=">=x11-libs/qt-gui-4.5.3:4 - media-video/ffmpeg + virtual/ffmpeg media-video/flvstreamer" RES_NAME="xVST" diff --git a/media-video/xvideoservicethief/xvideoservicethief-2.4.ebuild b/media-video/xvideoservicethief/xvideoservicethief-2.4.ebuild deleted file mode 100644 index 5f5e7c475f5f..000000000000 --- a/media-video/xvideoservicethief/xvideoservicethief-2.4.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/xvideoservicethief/xvideoservicethief-2.4.ebuild,v 1.4 2010/07/17 09:24:08 fauli Exp $ - -EAPI=2 - -LANGS="br ca cs da de es fr gl hu it ja ko nl pl ro ru sv" - -inherit eutils qt4-r2 versionator - -MY_PV=$(replace_all_version_separators '_') -MY_P="xVST_${MY_PV}_src" - -DESCRIPTION="Download (and convert) videos from various Web Video Services" -HOMEPAGE="http://xviservicethief.sourceforge.net/" -SRC_URI="mirror://sourceforge/xviservicethief/${MY_P}.zip" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="debug doc" - -DEPEND="app-arch/unzip - >=x11-libs/qt-gui-4.5.3:4 - >=x11-libs/qt-webkit-4.5.3:4 - doc? ( app-doc/doxygen )" -RDEPEND=">=x11-libs/qt-gui-4.5.3:4 - media-video/ffmpeg - media-video/flvstreamer" - -RES_NAME="xVST" - -S="${WORKDIR}" - -src_prepare() { - # fix translations - mv "${S}"/resources/translations/${RES_NAME}_cz.ts "${S}"/resources/translations/${RES_NAME}_cs.ts - mv "${S}"/resources/translations/${RES_NAME}_jp.ts "${S}"/resources/translations/${RES_NAME}_ja.ts - mv "${S}"/resources/translations/${RES_NAME}_du.ts "${S}"/resources/translations/${RES_NAME}_nl.ts - mv "${S}"/resources/translations/${RES_NAME}_kr.ts - "${S}"/resources/transaltions/${RES_NAME}_ko.ts - # fix plugins, language path - sed -i -e "s/getApplicationPath()\ +\ \"/\"\/usr\/share\/${PN}/g" \ - "${S}"/src/options.cpp || die "failed to fix paths" -} - -src_compile() { - local lang= - emake || die "emake failed" - for lang in "${S}"/resources/translations/*.ts; do - lrelease ${lang} - done -} - -src_install() { - dobin bin/xvst || die "dobin failed" - local dest=/usr/share/${PN}/plugins - dodir ${dest} - find resources/services -name '*.js' -exec cp -dpR {} "${D}"${dest} \; - newicon resources/images/InformationLogo.png xvst.png - make_desktop_entry /usr/bin/xvst xVideoServiceThief xvst 'Qt;AudioVideo;Video' - if use doc; then - cd "${S}/documentation/source" - sed -i "/OUTPUT_DIRECTORY/s:G\:.*:docs:" Doxyfile - doxygen Doxyfile - dohtml -r docs/html/* || die "dohtml failed" - fi - - #install translations - insinto /usr/share/${PN}/languages/ - local lang= tlang= - for lang in ${LINGUAS}; do - for tlang in ${LANGS}; do - [[ ${lang} == ${tlang} ]] && doins "${S}"/resources/translations/xVST_${tlang}.qm - done - done -} |