1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PLOCALES="ar ca ca_ES da de_DE el en es es_AR es_ES fi fi_FI fr he_IL hr hu
7 ia it jv nl pl pl_PL pt_BR ro ru sk sl tr zh_CN"
11 DESCRIPTION="Qt4 YouTube Client"
12 HOMEPAGE="http://flavio.tordini.org/minitube"
13 SRC_URI="http://flavio.tordini.org/files/${PN}/${P}.tar.gz"
18 IUSE="debug gstreamer kde"
20 DEPEND=">=dev-qt/qtgui-4.6:4[accessibility,gtkstyle]
22 kde? ( || ( media-libs/phonon[gstreamer?,qt4] >=dev-qt/qtphonon-4.6:4 ) )
23 !kde? ( || ( >=dev-qt/qtphonon-4.6:4 media-libs/phonon[gstreamer?,qt4] ) )
25 media-plugins/gst-plugins-soup:0.10
26 media-plugins/gst-plugins-ffmpeg:0.10
27 media-plugins/gst-plugins-faac:0.10
28 media-plugins/gst-plugins-faad:0.10
29 media-plugins/gst-plugins-theora
36 DOCS="AUTHORS CHANGES TODO"
39 PATCHES=( "${FILESDIR}"/${P}-disable-updates.patch )
44 # Remove unneeded translations
46 for x in $(l10n_get_locales); do
49 if [[ -n ${trans} ]]; then
50 sed -i -e "/^TRANSLATIONS/s/+=.*/+=${trans}/" locale/locale.pri || die
52 # gcc-4.7. Bug #422977. Will probably be fixed
53 # once ubuntu moves to gcc-4.7
54 epatch "${FILESDIR}"/${PN}-1.9-gcc47.patch
59 newicon images/app.png minitube.png