/[gentoo-x86]/kde-misc/youtube-servicemenu/youtube-servicemenu-1.7-r1.ebuild
Gentoo

Contents of /kde-misc/youtube-servicemenu/youtube-servicemenu-1.7-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Apr 20 20:53:19 2011 UTC (3 years, 8 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump. Drop older.

(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.7-r1.ebuild,v 1.1 2010/04/17 08:15:13 reavertm Exp $
4
5 EAPI="2"
6
7 PYTHON_DEPEND="2"
8 inherit python rpm
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://twoday.tuwien.ac.at/static/pub/files/${PN}-kde4-${PV}-1.noarch.rpm"
13
14 LICENSE="GPL-2"
15 KEYWORDS="~amd64 ~x86"
16 SLOT="4"
17 IUSE=""
18
19 MY_LINGUAS="de es ru sk uk"
20 for x in ${MY_LINGUAS}; do
21 IUSE="${IUSE} linguas_${x}"
22 done
23
24 RDEPEND="
25 >=kde-base/konqueror-4.3.1
26 "
27
28 S="${WORKDIR}"
29
30 pkg_setup() {
31 python_set_active_version 2
32 }
33
34 src_prepare() {
35 python_convert_shebangs -r 2 .
36 }
37
38 src_install() {
39 dobin usr/bin/get_yt_video-kde4.py || die
40
41 insinto /usr/share/kde4/services
42 doins usr/share/kde4/services/get_yt_video.desktop || die
43
44 for x in ${MY_LINGUAS}; do
45 if use linguas_${x}; then
46 insinto /usr/share/locale/${x}/LC_MESSAGES
47 doins usr/share/get_yt_video/${x}/LC_MESSAGES/get_yt_video.mo || die
48 fi
49 done
50 }

  ViewVC Help
Powered by ViewVC 1.1.20