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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Nov 3 09:27:05 2009 UTC (5 years, 1 month ago) by abcd
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Drop old versions
(Portage version: -svn/cvs/Linux i686)

1 hanno 1.1 # Copyright 1999-2008 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 abcd 1.2 # $Header: /var/cvsroot/gentoo-x86/kde-misc/youtube-servicemenu/youtube-servicemenu-1.4.ebuild,v 1.1 2008/06/12 12:53:03 hanno Exp $
4 hanno 1.1
5     DESCRIPTION="Download YouTube (tm) Videos"
6     HOMEPAGE="http://www.kde-apps.org/content/show.php/Get+YouTube+Video+(improved)?content=41456"
7     SRC_URI="http://www.kde-apps.org/CONTENT/content-files/41456-${P}.tar.bz2"
8     LICENSE="GPL-2"
9    
10     SLOT="0"
11     KEYWORDS="~amd64 ~x86"
12     IUSE=""
13    
14     DEPEND="dev-lang/python
15     || ( =kde-base/konqueror-3.5* =kde-base/kdenetwork-3.5* )"
16    
17     LANGS="de ru sk uk"
18    
19     for X in ${LANGS} ; do
20     IUSE="${IUSE} linguas_${X}"
21     done
22    
23     src_compile() {
24     :
25     }
26    
27     src_install() {
28     dobin get_yt_video.py || die "dobin failed."
29    
30     insinto /usr/share/apps/konqueror/servicemenus
31     doins get_yt_video.desktop || die "doins failed."
32    
33     cd "${WORKDIR}/${P}/l10n"
34     for X in ${LANGS} ; do
35     if use linguas_${X}; then
36     insinto /usr/share/locale/${X}/LC_MESSAGES
37     doins ${X}/LC_MESSAGES/get_yt_video.mo || die "doins failed."
38     fi
39     done
40     }

  ViewVC Help
Powered by ViewVC 1.1.20