diff options
author | Hanno Böck <hanno@gentoo.org> | 2008-03-07 00:04:15 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2008-03-07 00:04:15 +0000 |
commit | c325084a3c2ebb0a580c7cfdee80a3e965a94e5d (patch) | |
tree | 01e05557ec692473baaf105a5cef56aae3272343 /kde-misc/youtube-servicemenu/youtube-servicemenu-1.3h.ebuild | |
parent | Version bump (diff) | |
download | gentoo-2-c325084a3c2ebb0a580c7cfdee80a3e965a94e5d.tar.gz gentoo-2-c325084a3c2ebb0a580c7cfdee80a3e965a94e5d.tar.bz2 gentoo-2-c325084a3c2ebb0a580c7cfdee80a3e965a94e5d.zip |
bump youtube-servicemenu
(Portage version: 2.1.4.4)
Diffstat (limited to 'kde-misc/youtube-servicemenu/youtube-servicemenu-1.3h.ebuild')
-rw-r--r-- | kde-misc/youtube-servicemenu/youtube-servicemenu-1.3h.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/kde-misc/youtube-servicemenu/youtube-servicemenu-1.3h.ebuild b/kde-misc/youtube-servicemenu/youtube-servicemenu-1.3h.ebuild new file mode 100644 index 000000000000..a590e54a6528 --- /dev/null +++ b/kde-misc/youtube-servicemenu/youtube-servicemenu-1.3h.ebuild @@ -0,0 +1,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.3h.ebuild,v 1.1 2008/03/07 00:04:15 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 +} |