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