diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-06-08 18:55:02 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-06-08 18:55:02 +0000 |
commit | f288bba0d1b165164c25c016457561a18a857cdf (patch) | |
tree | 30afb8a492351a4344e8312bfa4e6ba8f135b113 /media-video/xvideoservicethief | |
parent | stable x86, bug 273235 (diff) | |
download | gentoo-2-f288bba0d1b165164c25c016457561a18a857cdf.tar.gz gentoo-2-f288bba0d1b165164c25c016457561a18a857cdf.tar.bz2 gentoo-2-f288bba0d1b165164c25c016457561a18a857cdf.zip |
Install plugins wrt #273222, thanks to Sven Wehner for reporting.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-video/xvideoservicethief')
3 files changed, 69 insertions, 1 deletions
diff --git a/media-video/xvideoservicethief/ChangeLog b/media-video/xvideoservicethief/ChangeLog index 10339d27f295..23efd8552f37 100644 --- a/media-video/xvideoservicethief/ChangeLog +++ b/media-video/xvideoservicethief/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-video/xvideoservicethief # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/xvideoservicethief/ChangeLog,v 1.2 2009/05/09 15:38:36 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/xvideoservicethief/ChangeLog,v 1.3 2009/06/08 18:55:02 ssuominen Exp $ + +*xvideoservicethief-2.0.0-r1 (08 Jun 2009) + + 08 Jun 2009; Samuli Suominen <ssuominen@gentoo.org> + +xvideoservicethief-2.0.0-r1.ebuild, + +files/xvideoservicethief-2.0.0-plugins_path.patch: + Install plugins wrt #273222, thanks to Sven Wehner for reporting. *xvideoservicethief-2.0.0 (09 May 2009) diff --git a/media-video/xvideoservicethief/files/xvideoservicethief-2.0.0-plugins_path.patch b/media-video/xvideoservicethief/files/xvideoservicethief-2.0.0-plugins_path.patch new file mode 100644 index 000000000000..0437e4bcb3b4 --- /dev/null +++ b/media-video/xvideoservicethief/files/xvideoservicethief-2.0.0-plugins_path.patch @@ -0,0 +1,16 @@ +diff -ur xvideoservicethief.orig/src/options.cpp xvideoservicethief/src/options.cpp +--- xvideoservicethief.orig/src/options.cpp 2009-05-01 22:07:32.000000000 +0300 ++++ xvideoservicethief/src/options.cpp 2009-06-08 21:51:13.000000000 +0300 +@@ -312,11 +312,7 @@ + + QString ProgramOptions::getPluginsDir() + { +-#ifdef Q_WS_MAC +- return getApplicationPath() + "/../Resources/plugins"; +-#else +- return getApplicationPath() + "/plugins"; +-#endif ++ return "/usr/share/xvideoservicethief/plugins"; + } + + QSettings::Format ProgramOptions::getOptionsFormat() diff --git a/media-video/xvideoservicethief/xvideoservicethief-2.0.0-r1.ebuild b/media-video/xvideoservicethief/xvideoservicethief-2.0.0-r1.ebuild new file mode 100644 index 000000000000..8b71a8171fe1 --- /dev/null +++ b/media-video/xvideoservicethief/xvideoservicethief-2.0.0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/xvideoservicethief/xvideoservicethief-2.0.0-r1.ebuild,v 1.1 2009/06/08 18:55:02 ssuominen Exp $ + +EAPI=2 +inherit eutils qt4 versionator + +MY_PN=xVST +MY_PV=$(replace_all_version_separators '_') +MY_P=${MY_PN}_${MY_PV}a_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" + +DEPEND="app-arch/unzip + >=x11-libs/qt-gui-4.5.0:4" +RDEPEND=">=x11-libs/qt-gui-4.5.0:4 + media-video/ffmpeg" + +S=${WORKDIR} + +src_prepare() { + epatch "${FILESDIR}"/${P}-plugins_path.patch +} + +# TODO: translations, documentation +src_configure() { + eqmake4 xVideoServiceThief.pro +} + +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} \; + dodoc changelog.txt + newicon resources/images/InformationLogo.png xvst.png + make_desktop_entry /usr/bin/xvst xVideoServiceThief xvst 'Qt;AudioVideo;Video' +} |