/[gentoo-x86]/media-video/minitube/minitube-1.4.3.ebuild
Gentoo

Contents of /media-video/minitube/minitube-1.4.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Aug 5 23:36:56 2011 UTC (7 years, 2 months ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump

(Portage version: 2.2.0_alpha46/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/minitube/minitube-1.4.3.ebuild,v 1.1 2011/05/16 11:58:43 hwoarang Exp $
4
5 EAPI="2"
6 LANGS="ar es pt_BR pt_PT uk"
7 LANGSLONG="bg_BG cs_CZ de_DE el_GR es he_IL hr_HR hu_HU fr_FR fi_FI it_IT
8 ja_JP nl_NL nb_NO pl_PL ro_RO ru_RU tr_TR"
9
10 inherit qt4-r2
11
12 DESCRIPTION="Qt4 YouTube Client"
13 HOMEPAGE="http://flavio.tordini.org/minitube"
14 SRC_URI="http://flavio.tordini.org/files/${PN}/${P}.tar.gz"
15
16 LICENSE="GPL-3"
17 SLOT="0"
18 KEYWORDS="~amd64 ~x86"
19 IUSE="debug kde gstreamer"
20
21 DEPEND="x11-libs/qt-gui:4[accessibility]
22 x11-libs/qt-dbus:4
23 kde? ( || ( media-libs/phonon[gstreamer?] x11-libs/qt-phonon:4 ) )
24 !kde? ( || ( x11-libs/qt-phonon media-libs/phonon[gstreamer?] ) )
25 gstreamer? (
26 media-plugins/gst-plugins-soup
27 media-plugins/gst-plugins-ffmpeg
28 media-plugins/gst-plugins-faac
29 media-plugins/gst-plugins-faad
30 )
31 "
32
33 RDEPEND="${DEPEND}"
34
35 S="${WORKDIR}/${PN}"
36
37 src_install() {
38 dobin build/target/minitube || die "dobin failed"
39 newicon images/app.png minitube.png || die "doicon failed"
40 make_desktop_entry minitube MiniTube minitube "Qt;AudioVideo;Video" \
41 || die "make_desktop_entry failed"
42 #translations
43 insinto "/usr/share/${PN}/locale/"
44 for lang in ${LINGUAS}; do
45 for x in ${LANGS}; do
46 if [[ ${x} == ${lang} ]]; then
47 doins "build/target/locale/${x}.qm" || die "doins failed"
48 fi
49 done
50 for x in ${LANGSLONG}; do
51 if [[ ${x%_*} == ${lang} ]]; then
52 doins "build/target/locale/${x}.qm" || die "doins failed"
53 fi
54 done
55 done
56 }

  ViewVC Help
Powered by ViewVC 1.1.20