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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Nov 3 10:44:08 2009 UTC (4 years, 10 months ago) by ssuominen
Branch: MAIN
Version bump.
(Portage version: 2.2_rc48/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=2
6 KDE_MINIMAL=4.3
7 inherit rpm
8
9 DESCRIPTION="Download YouTube (tm) Videos"
10 HOMEPAGE="http://www.kde-apps.org/content/show.php/Get+YouTube+Video+(improved)?content=41456"
11 SRC_URI="http://twoday.tuwien.ac.at/static/pub/files/${PN}-kde4-${PV}-1.noarch.rpm"
12
13 LICENSE="GPL-2"
14 SLOT="4"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 KDE_LINGUAS="de es ru sk uk"
19
20 for x in ${KDE_LINGUAS}; do
21 IUSE="${IUSE} linguas_${x}"
22 done
23
24 DEPEND=">=kde-base/konqueror-${KDE_MINIMAL}
25 >=kde-base/kdelibs-${KDE_MINIMAL}
26 dev-lang/python
27 !${CATEGORY}/${PN}:0"
28
29 S=${WORKDIR}
30
31 src_install() {
32 dobin usr/bin/get_yt_video-kde4.py || die
33
34 insinto `kde4-config --install services`
35 doins usr/share/kde4/services/get_yt_video.desktop || die
36
37 for x in ${KDE_LINGUAS}; do
38 if use linguas_${x}; then
39 insinto /usr/share/locale/${x}/LC_MESSAGES
40 doins usr/share/get_yt_video/${x}/LC_MESSAGES/get_yt_video.mo || die
41 fi
42 done
43 }

  ViewVC Help
Powered by ViewVC 1.1.20