diff options
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 +} |