summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2010-11-14 14:04:29 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2010-11-14 14:04:29 +0000
commit76e7c7e2f17b894942f98a9918a8055b80366466 (patch)
tree2af51162f8f201bcb9bd897d8c3543e487e629a7 /kde-misc/youtube-servicemenu
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-76e7c7e2f17b894942f98a9918a8055b80366466.tar.gz
gentoo-2-76e7c7e2f17b894942f98a9918a8055b80366466.tar.bz2
gentoo-2-76e7c7e2f17b894942f98a9918a8055b80366466.zip
Version bump plus major cleanups
(Portage version: 2.1.9.24/cvs/Linux x86_64)
Diffstat (limited to 'kde-misc/youtube-servicemenu')
-rw-r--r--kde-misc/youtube-servicemenu/ChangeLog8
-rw-r--r--kde-misc/youtube-servicemenu/youtube-servicemenu-1.9.ebuild48
2 files changed, 55 insertions, 1 deletions
diff --git a/kde-misc/youtube-servicemenu/ChangeLog b/kde-misc/youtube-servicemenu/ChangeLog
index ec221156e856..cb7e3c9c86bc 100644
--- a/kde-misc/youtube-servicemenu/ChangeLog
+++ b/kde-misc/youtube-servicemenu/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-misc/youtube-servicemenu
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/youtube-servicemenu/ChangeLog,v 1.10 2010/04/17 08:16:28 reavertm Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/youtube-servicemenu/ChangeLog,v 1.11 2010/11/14 14:04:29 dilfridge Exp $
+
+*youtube-servicemenu-1.9 (14 Nov 2010)
+
+ 14 Nov 2010; Andreas K. Huettel <dilfridge@gentoo.org>
+ +youtube-servicemenu-1.9.ebuild:
+ Version bump plus major cleanups
17 Apr 2010; Maciej Mrozowski <reavertm@gentoo.org>
-youtube-servicemenu-1.7.ebuild:
diff --git a/kde-misc/youtube-servicemenu/youtube-servicemenu-1.9.ebuild b/kde-misc/youtube-servicemenu/youtube-servicemenu-1.9.ebuild
new file mode 100644
index 000000000000..86cac2f7ebae
--- /dev/null
+++ b/kde-misc/youtube-servicemenu/youtube-servicemenu-1.9.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2010 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.9.ebuild,v 1.1 2010/11/14 14:04:29 dilfridge Exp $
+
+EAPI="2"
+
+PYTHON_DEPEND="2"
+inherit python
+
+DESCRIPTION="Download YouTube (tm) Videos"
+HOMEPAGE="http://www.kde-apps.org/content/show.php/Get+YouTube+Video+(improved)?content=41456"
+SRC_URI="http://kde-apps.org/CONTENT/content-files/41456-${P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="4"
+IUSE=""
+
+MY_LINGUAS="de es ru sk uk"
+for x in ${MY_LINGUAS}; do
+ IUSE="${IUSE} linguas_${x}"
+done
+
+RDEPEND="
+ >=kde-base/konqueror-4.3.1
+"
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_prepare() {
+ python_convert_shebangs -r 2 .
+}
+
+src_install() {
+ dobin get_yt_video.py || die
+
+ insinto /usr/share/kde4/services
+ doins get_yt_video.desktop || die
+
+ for x in ${MY_LINGUAS}; do
+ if use linguas_${x}; then
+ insinto /usr/share/locale/${x}/LC_MESSAGES
+ doins l10n/${x}/LC_MESSAGES/get_yt_video.mo || die
+ fi
+ done
+}