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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Aug 26 19:44:50 2012 UTC (2 years, 1 month ago) by creffett
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump, update to EAPI 4, add patch to fix most .desktop validation errors. Remove old.

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

1 # Copyright 1999-2011 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.10a.ebuild,v 1.1 2011/04/20 20:53:19 scarabeus Exp $
4
5 EAPI=3
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 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 }
33
34 src_prepare() {
35 python_convert_shebangs -r 2 .
36 }
37
38 src_install() {
39 dobin get_yt_video.py || die
40
41 insinto /usr/share/kde4/services
42 doins 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 l10n/${x}/LC_MESSAGES/get_yt_video.mo || die
48 fi
49 done
50 }

  ViewVC Help
Powered by ViewVC 1.1.20