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

Contents of /kde-misc/youtube-servicemenu/youtube-servicemenu-1.9.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, 5 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.9.ebuild,v 1.1 2010/11/14 14:04:29 dilfridge Exp $
4
5 EAPI="2"
6
7 PYTHON_DEPEND="2"
8 inherit python
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 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 pkg_setup() {
29 python_set_active_version 2
30 }
31
32 src_prepare() {
33 python_convert_shebangs -r 2 .
34 }
35
36 src_install() {
37 dobin get_yt_video.py || die
38
39 insinto /usr/share/kde4/services
40 doins get_yt_video.desktop || die
41
42 for x in ${MY_LINGUAS}; do
43 if use linguas_${x}; then
44 insinto /usr/share/locale/${x}/LC_MESSAGES
45 doins l10n/${x}/LC_MESSAGES/get_yt_video.mo || die
46 fi
47 done
48 }

  ViewVC Help
Powered by ViewVC 1.1.20