Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: media-video/xvideoservicethief/
Date: Fri, 28 Oct 2016 16:13:02
Message-Id: 1477671164.0d2f7f27d048c2dc80579878366dc1cc1d0b59ad.kensington@gentoo
1 commit: 0d2f7f27d048c2dc80579878366dc1cc1d0b59ad
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 28 15:35:17 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 28 16:12:44 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=0d2f7f27
7
8 media-video/xvideoservicethief: requires qt4, dead upstream
9
10 media-video/xvideoservicethief/metadata.xml | 12 ----
11 .../xvideoservicethief-9999.ebuild | 74 ----------------------
12 2 files changed, 86 deletions(-)
13
14 diff --git a/media-video/xvideoservicethief/metadata.xml b/media-video/xvideoservicethief/metadata.xml
15 deleted file mode 100644
16 index 21193fe..0000000
17 --- a/media-video/xvideoservicethief/metadata.xml
18 +++ /dev/null
19 @@ -1,12 +0,0 @@
20 -<?xml version="1.0" encoding="UTF-8"?>
21 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
22 -<pkgmetadata>
23 - <maintainer type="project">
24 - <email>media-video@g.o</email>
25 - <name>Gentoo Video project</name>
26 - </maintainer>
27 - <maintainer type="project">
28 - <email>qt@g.o</email>
29 - <name>Gentoo Qt Project</name>
30 - </maintainer>
31 -</pkgmetadata>
32
33 diff --git a/media-video/xvideoservicethief/xvideoservicethief-9999.ebuild b/media-video/xvideoservicethief/xvideoservicethief-9999.ebuild
34 deleted file mode 100644
35 index 647b53d..0000000
36 --- a/media-video/xvideoservicethief/xvideoservicethief-9999.ebuild
37 +++ /dev/null
38 @@ -1,74 +0,0 @@
39 -# Copyright 1999-2016 Gentoo Foundation
40 -# Distributed under the terms of the GNU General Public License v2
41 -# $Id$
42 -
43 -EAPI=5
44 -
45 -LANGS="br ca cs da de es fr gl hu it ja ko nl pl ro ru sv"
46 -
47 -inherit eutils qt4-r2 versionator subversion
48 -
49 -MY_PN="xVST"
50 -MY_PV=$(replace_all_version_separators '_')
51 -
52 -DESCRIPTION="Download (and convert) videos from various Web Video Services"
53 -HOMEPAGE="http://xviservicethief.sourceforge.net/"
54 -ESVN_REPO_URI="http://xviservicethief.svn.sourceforge.net/svnroot/xviservicethief/trunk/"
55 -# Note: all released versions are labelled alpha
56 -
57 -LICENSE="GPL-3"
58 -SLOT="0"
59 -KEYWORDS=""
60 -IUSE="debug"
61 -
62 -DEPEND="app-arch/unzip
63 - dev-qt/qtgui:4"
64 -RDEPEND="dev-qt/qtgui:4
65 - media-video/ffmpeg
66 - media-video/flvstreamer"
67 -
68 -S=${WORKDIR}
69 -TRANSLATIONSDIR=${S}/resources
70 -
71 -src_prepare() {
72 - subversion_src_prepare
73 -
74 - # fix translations
75 - mv "${S}"/resources/translations/${MY_PN}_cz.ts \
76 - "${S}"/resources/translations/${MY_PN}_cs.ts || die
77 - mv "${S}"/resources/translations/${MY_PN}_jp.ts \
78 - "${S}"/resources/translations/${MY_PN}_ja.ts || die
79 - mv "${S}"/resources/translations/${MY_PN}_du.ts \
80 - "${S}"/resources/translations/${MY_PN}_nl.ts || die
81 - mv "${S}"/resources/translations/${MY_PN}_kr.ts \
82 - "${S}"/resources/translations/${MY_PN}_ko.ts || die
83 -
84 - # fix plugins, language path
85 - sed -i -e "s/getApplicationPath()\ +\ \"/\"\/usr\/share\/${PN}/g" \
86 - "${S}"/src/options.cpp || die "failed to fix paths"
87 -
88 - qt4-r2_src_prepare
89 -}
90 -
91 -src_compile() {
92 - qt4-r2_src_compile
93 -
94 - local lang=
95 - for lang in "${S}"/resources/translations/*.ts; do
96 - lrelease ${lang}
97 - done
98 -}
99 -
100 -src_install() {
101 - dobin bin/xvst
102 - insinto /usr/share/pixmaps
103 - newins resources/images/InformationLogo.png xvst.png
104 - make_desktop_entry /usr/bin/xvst xVideoServiceThief xvst 'Qt;AudioVideo;Video'
105 -
106 - # install plugins
107 - local dest=/usr/share/${PN}/plugins
108 - dodir ${dest}
109 - find resources/services -name '*.js' -exec cp -dpR {} "${D}"${dest} \;
110 -
111 - qt4-r2_install_translations
112 -}