/[gentoo-x86]/kde-misc/youtube-servicemenu/youtube-servicemenu-1.12a.ebuild
Gentoo

Contents of /kde-misc/youtube-servicemenu/youtube-servicemenu-1.12a.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Apr 15 08:30:09 2014 UTC (13 months, 1 week ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
kde-misc/youtube-servicemenu removal (pending 14st March 2014), bug #504550.

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/kde-misc/youtube-servicemenu/youtube-servicemenu-1.12a.ebuild,v 1.1 2012/08/26 19:44:50 creffett Exp $
4
5 EAPI=4
6
7 PYTHON_DEPEND="2"
8 inherit python eutils
9
10 DESCRIPTION="Download YouTube (tm) Videos"
11 HOMEPAGE="http://www.kde-apps.org/content/show.php/Get+YouTube+Video+(improved)?content=41456"
12 SRC_URI="http://kde-apps.org/CONTENT/content-files/41456-${P}.tar.bz2"
13
14 LICENSE="GPL-2"
15 KEYWORDS="~amd64 ~x86"
16 SLOT="4"
17 IUSE=""
18
19 MY_LINGUAS="de el es ru sk uk"
20 for x in ${MY_LINGUAS}; do
21 IUSE="${IUSE} linguas_${x}"
22 done
23
24 RDEPEND="
25 dev-python/lxml
26 >=kde-base/konqueror-4.3.1
27 "
28 DEPEND="${RDEPEND}"
29
30 pkg_setup() {
31 python_set_active_version 2
32 python_pkg_setup
33 }
34
35 src_prepare() {
36 python_convert_shebangs -r 2 .
37 epatch "${FILESDIR}/${P}-fixdesktop.patch"
38 }
39
40 src_install() {
41 dobin get_yt_video.py || die
42
43 insinto /usr/share/kde4/services
44 doins get_yt_video.desktop || die
45
46 for x in ${MY_LINGUAS}; do
47 if use linguas_${x}; then
48 insinto /usr/share/locale/${x}/LC_MESSAGES
49 doins l10n/${x}/LC_MESSAGES/get_yt_video.mo || die
50 fi
51 done
52 }

  ViewVC Help
Powered by ViewVC 1.1.20