summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-06-10 12:08:53 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-06-10 12:08:53 +0000
commit9170d1fa947229177923f04cefdde8ade04f5bdb (patch)
tree58721beaf7ac7ef07b97ae7d869d4e60aa752d4b /media-video/minitube
parentRemoved empty line. (diff)
downloadgentoo-2-9170d1fa947229177923f04cefdde8ade04f5bdb.tar.gz
gentoo-2-9170d1fa947229177923f04cefdde8ade04f5bdb.tar.bz2
gentoo-2-9170d1fa947229177923f04cefdde8ade04f5bdb.zip
Add gstreamer use flag
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-video/minitube')
-rw-r--r--media-video/minitube/ChangeLog9
-rw-r--r--media-video/minitube/minitube-1.0-r1.ebuild51
2 files changed, 59 insertions, 1 deletions
diff --git a/media-video/minitube/ChangeLog b/media-video/minitube/ChangeLog
index 4cb712f6c3ec..8c8146e0ec52 100644
--- a/media-video/minitube/ChangeLog
+++ b/media-video/minitube/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/minitube
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/ChangeLog,v 1.28 2010/06/09 06:55:17 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/ChangeLog,v 1.29 2010/06/10 12:08:53 hwoarang Exp $
+
+*minitube-1.0-r1 (10 Jun 2010)
+
+ 10 Jun 2010; Markos Chandras <hwoarang@gentoo.org>
+ +minitube-1.0-r1.ebuild:
+ Add gstreamer use flag since minitube works with xine and gstreamer phonon
+ backends. Thanks to amak79 for pointing this out
09 Jun 2010; Christoph Mende <angelos@gentoo.org> minitube-1.0.ebuild:
Stable on amd64 wrt bug #322691
diff --git a/media-video/minitube/minitube-1.0-r1.ebuild b/media-video/minitube/minitube-1.0-r1.ebuild
new file mode 100644
index 000000000000..e2fc523142cd
--- /dev/null
+++ b/media-video/minitube/minitube-1.0-r1.ebuild
@@ -0,0 +1,51 @@
+# 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-1.0-r1.ebuild,v 1.1 2010/06/10 12:08:53 hwoarang Exp $
+
+EAPI="2"
+LANGS="ar es pt_BR pt_PT uk"
+LANGSLONG="bg_BG cs_CZ de_DE el_GR es he_IL hr_HR hu_HU fr_FR fi_FI it_IT
+ja_JP nl_NL nb_NO pl_PL ro_RO 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 gstreamer"
+
+DEPEND="x11-libs/qt-gui:4[accessibility]
+ kde? ( || ( media-sound/phonon[gstreamer?] x11-libs/qt-phonon:4[gstreamer?] ) )
+ !kde? ( || ( x11-libs/qt-phonon:4[gstreamer?] media-sound/phonon[gstreamer?] ) )
+ gstreamer? ( media-plugins/gst-plugins-soup
+ media-plugins/gst-plugins-ffmpeg
+ media-plugins/gst-plugins-faac
+ media-plugins/gst-plugins-faad )"
+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 "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
+}