summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-01-23 19:02:24 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-01-23 19:02:24 +0000
commit94fa7a08c5673a70d57768e343b7ab458111e1f5 (patch)
treebe3f2ec0307929b978cd555e959acf162a757015 /media-video/minitube
parentVersion bump, bug #301922, thank Christian Faulhammer for report. (diff)
downloadgentoo-2-94fa7a08c5673a70d57768e343b7ab458111e1f5.tar.gz
gentoo-2-94fa7a08c5673a70d57768e343b7ab458111e1f5.tar.bz2
gentoo-2-94fa7a08c5673a70d57768e343b7ab458111e1f5.zip
Version bump
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'media-video/minitube')
-rw-r--r--media-video/minitube/ChangeLog9
-rw-r--r--media-video/minitube/minitube-0.9.ebuild47
2 files changed, 54 insertions, 2 deletions
diff --git a/media-video/minitube/ChangeLog b/media-video/minitube/ChangeLog
index 285b8d73f5ed..b613301f52da 100644
--- a/media-video/minitube/ChangeLog
+++ b/media-video/minitube/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/minitube
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/ChangeLog,v 1.16 2009/11/21 05:16:49 hwoarang Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/ChangeLog,v 1.17 2010/01/23 19:02:24 hwoarang Exp $
+
+*minitube-0.9 (23 Jan 2010)
+
+ 23 Jan 2010; <hwoarang@gentoo.org> +minitube-0.9.ebuild:
+ Version bump. Migrate to qt4-r2 eclass
*minitube-0.8.1 (21 Nov 2009)
diff --git a/media-video/minitube/minitube-0.9.ebuild b/media-video/minitube/minitube-0.9.ebuild
new file mode 100644
index 000000000000..69b66d8603c0
--- /dev/null
+++ b/media-video/minitube/minitube-0.9.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/minitube-0.9.ebuild,v 1.1 2010/01/23 19:02:24 hwoarang Exp $
+
+EAPI="2"
+LANGS="es_AR pt_BR uk"
+LANGSLONG="cs_CZ de_DE es_ES he_IL hr_HR hu_HU fr_FR it_IT ja_JP nb_NO pl_PL ru_RU
+tr_TR"
+
+inherit qt4-r2
+
+DESCRIPTION="Qt4 YouTube Client"
+HOMEPAGE="http://flavio.tordini.org/minitube"
+SRC_URI="http://flavio.tordini.org/files/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug kde"
+
+DEPEND="x11-libs/qt-gui:4[accessibility]
+ kde? ( media-sound/phonon[gstreamer] )
+ !kde? ( x11-libs/qt-phonon:4 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_install() {
+ dobin build/target/minitube || die "dobin failed"
+ newicon images/app.png minitube.png || die "doicon failed"
+ make_desktop_entry minitube MiniTube minitube.png "Qt;AudioVideo;Video" \
+ || die "make_desktop_entry failed"
+ #translations
+ insinto "/usr/share/${PN}/locale/"
+ for lang in ${LINGUAS}; do
+ for x in ${LANGS}; do
+ if [[ ${x} == ${lang} ]]; then
+ doins "build/target/locale/${x}.qm" || die "doins failed"
+ fi
+ done
+ for x in ${LANGSLONG}; do
+ if [[ ${x%_*} == ${lang} ]]; then
+ doins "build/target/locale/${x}.qm" || die "doins failed"
+ fi
+ done
+ done
+}