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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Jul 6 22:18:42 2010 UTC (8 years, 5 months ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove old ebuilds
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/minitube/minitube-0.9.ebuild,v 1.5 2010/04/02 09:59:13 hwoarang Exp $
4
5 EAPI="2"
6 LANGS="es_AR pt_BR uk"
7 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
8 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"
20
21 DEPEND="x11-libs/qt-gui:4[accessibility]
22 kde? ( || ( media-sound/phonon x11-libs/qt-phonon:4 ) )
23 !kde? ( || ( x11-libs/qt-phonon:4 media-sound/phonon ) )
24 media-plugins/gst-plugins-soup
25 media-plugins/gst-plugins-ffmpeg
26 media-plugins/gst-plugins-faac
27 media-plugins/gst-plugins-faad"
28 RDEPEND="${DEPEND}"
29
30 S="${WORKDIR}/${PN}"
31
32 src_install() {
33 dobin build/target/minitube || die "dobin failed"
34 newicon images/app.png minitube.png || die "doicon failed"
35 make_desktop_entry minitube MiniTube minitube "Qt;AudioVideo;Video" \
36 || die "make_desktop_entry failed"
37 #translations
38 insinto "/usr/share/${PN}/locale/"
39 for lang in ${LINGUAS}; do
40 for x in ${LANGS}; do
41 if [[ ${x} == ${lang} ]]; then
42 doins "build/target/locale/${x}.qm" || die "doins failed"
43 fi
44 done
45 for x in ${LANGSLONG}; do
46 if [[ ${x%_*} == ${lang} ]]; then
47 doins "build/target/locale/${x}.qm" || die "doins failed"
48 fi
49 done
50 done
51 }

  ViewVC Help
Powered by ViewVC 1.1.20